FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Runs vs. Threads: When to Use Which
NewsDevOps

Runs vs. Threads: When to Use Which

via Dev.toValentina14h ago

Crewship has two ways to execute a deployed crew: the Run API and the Thread API . If you've used the platform at all, you've already used runs. Threads are newer and less obvious, and the question we keep hearing is: when should I use which? Runs are for one-shot tasks. Threads are for conversations. That's the short version. The rest of this post is the long version. Runs: the default A run is a single execution of your crew. You send input, it does its thing, you get output. Each run gets its own container, shares nothing with other runs, and the environment gets torn down when it finishes. crewship invoke --input '{"topic": "AI agents in logistics"}' Or via the API: curl -X POST https://api.crewship.dev/v1/runs \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"deployment_id": "dep_abc123", "input": {"topic": "AI agents in logistics"}}' You get back a run ID. The run moves through pending , running , then lands on succeeded , failed , or cancele

Continue reading on Dev.to

Opens in a new tab

Read Full Article
4 views

Related Articles

Wiim Sound review: This smart speaker is so close to fully replacing my Sonos
News

Wiim Sound review: This smart speaker is so close to fully replacing my Sonos

ZDNet • 17m ago

Updated Test Article
News

Updated Test Article

Dev.to • 34m ago

Own a Sony TV? Changing these 3 settings will greatly improve its picture quality
News

Own a Sony TV? Changing these 3 settings will greatly improve its picture quality

ZDNet • 36m ago

News

Stop Using Switch Statements: Keyed Services in .NET — A Practical Approach

Medium Programming • 1h ago

Workers report watching Ray-Ban Meta-shot footage of people using the bathroom
News

Workers report watching Ray-Ban Meta-shot footage of people using the bathroom

Ars Technica • 1h ago

Discover More Articles