PricingBlogLogin

Agent harness framework and dev environment

Gambit is an agent harness framework with a CLI + runtime that helps developers build accurate LLM workflows by providing the right context at the right time.

NPMJSRGitHubJoin the community
gambit quickstart

Success! Created gambit at ~/code/gambit

npx @bolt-foundry/gambit repl gambit/hello.deck.md

Run example as multiple chat turns

You can explore other examples in gambit/examples

Keep your AI assistant grounded, typed, and inspectable

Keep context small

Feed each tool only the facts it needs. Gambit scopes each workflow step to local context, so you don’t blow up token windows or hallucinate outside the source of truth.

Ditch mega-prompts

Break assistants into typed workflow steps, each with its own prompt or compute action. Swap models per step and reuse those steps anywhere.

Type-safe and easily debuggable

Define schemas once, enforce them at runtime, and ship with CLI and simulator traces baked in. Failures show up as structured logs instead of vague LLM output.

NPMJSRGitHubJoin the community

Wire it in, measure it, ship with confidence

  • Author workflows in Markdown or TypeScript

    Mix LLM prompts and compute blocks freely. Gambit tracks each step’s label, metadata, and downstream dependencies so you always see how the workflow fits together.

  • Wire actions exactly once

    Reference a step anywhere and it keeps its schema + guardrails, so cross-workflow calls stay type-safe.

  • Run locally, then promote

    Use `gambit run`, the simulator UI, or embed the runtime. When you’re ready for production, swap model providers or plug into Bolt Foundry’s managed evals.

Gambit quickstart

Your assistant lives in a single file that enumerates each workflow step (we call it .deck.*). Run it locally with the CLI, then reuse the exact same steps in CI or Bolt Foundry’s hosted platform when you’re ready for production.

.deck.* files describe your workflow steps—run them directly with the CLI.

Install once
$ npx @bolt-foundry/gambit init
Run an example
$ npx @bolt-foundry/gambit repl gambit/hello.deck.md
Open the simulator
$ npx @bolt-foundry/gambit serve gambit/hello.deck.md

Dig into the docs

Authoring reference

Learn how to define each workflow step’s inputs, outputs, metadata, and how they link together.

Runtime & handlers

See how the runtime watches each step’s busy/idle/error hooks to keep workflows safe and observable.

Examples directory

Start from runnable workflows—hello world, multi-step agents, handler patterns, and more.

Bring Gambit into your reliability workflow

NPMJSRGitHubJoin the community

Join the waitlist for the hosted platform

Get early access to enhanced AI tooling and structured prompt workflows, and be the first to know when new features ship.

© 2026 Bolt Foundry. All rights reserved.
Careers