Who it is forA developer who wants to try or script an actor locally without a Cloudflare or Celld setup.
The problemSetting up a full hosting platform just to test agent behavior slows down early experiments.
The outcomeAn actor running in a Bun process with services wired from the example files.
What you need first
- Bun installed, since the README uses bunx and bun add
- Working knowledge of TypeScript
- A model and credentials configured for the generated project
- A Cloudflare account for Cloudflare hosting, or a Celld fleet with a storage bucket for self-hosting
Steps
- Open packages/examples/bun.ts to see how the actor is started.
- Open packages/examples/services.ts and set the model and credentials it reads.
- Run
bun packages/examples/bun.tsfrom the repo root to start the example. (inferred, check the README) - Send a request to the running actor and check that the response matches your atoms.
Prompt for your agent
In the repo clavia-labs/tardigrade, read packages/examples/bun.ts and packages/examples/services.ts, set the model credentials for <model-provider> in services, then run `bun packages/examples/bun.ts`. Expected output: the actor starts in the Bun process. Verify that the services file provides the same services the actor's infer atom needs.
Caveat. The README points to the Bun example as the way to run outside a Worker but does not describe its inputs or outputs, so read the example files before running them.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for clavia-labs/tardigrade and "Run an actor inside a plain Bun process"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer