DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run an actor inside a plain Bun process with Tardigrade

Start an actor from the Bun example without deploying to a Worker host.

Short answer: Open packages/examples/bun.ts to see how the actor is started; then open packages/examples/services.ts and set the model and credentials it reads; run bun packages/examples/bun.ts from the repo root to start the example. All steps.

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

  1. Open packages/examples/bun.ts to see how the actor is started.
  2. Open packages/examples/services.ts and set the model and credentials it reads.
  3. Run bun packages/examples/bun.ts from the repo root to start the example. (inferred, check the README)
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer