PricingBlogLogin
202 stars

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

Installing @bolt-foundry/gambit...

Starting local workspace server...

Workspace listening on http://localhost:8000

Keep your AI 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 a deck). Run it locally with the CLI, then implement the same .deck in your app when you're ready for production, or join the waitlist to be notified when Bolt Foundry’s hosted platform is available.

1. Install
$ npx @bolt-foundry/gambit serve
2. Open
Open http://localhost:8000 in your browser.
3. Build
Describe what you want to build.

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