TypeScript
First-party. Used by 70% of customers.
The doc was written by the team who built the runtime. We rewrite it whenever a customer tells us a section was confusing. The full text is open source on GitHub; pull requests welcome.
Install the SDK, drop in your API key, define an agent, run it. The whole quickstart fits on one page; no boilerplate, no scaffold generator.
What Lattice models, why each primitive exists, and how they compose. Read this once and the rest of the API will make sense.
Long-running RAG, tool-augmented chat, multi-agent handoffs, batch enrichment, scheduled cron agents, human-in-the-loop approvals. Each guide is a real customer pattern, distilled.
Generated from source. Full TypeScript types, Python types, request/response shapes, error codes, and rate-limit behavior.
First-party SDKs for the three runtimes our customers actually use. REST + Webhooks if you want to roll your own client.
Twelve example apps, one per agent pattern. Each one builds, deploys, and runs against Lattice cloud or self-host with no edits.
First-party. Used by 70% of customers.
First-party. Pinned to TS SDK for parity.
First-party. Smaller surface, focused on runners.
Roll your own client in any language.
Every method documented with the actual TypeScript and Python types. Searchable by symbol. Includes error code listings, retry behavior, and rate-limit semantics for every endpoint.
Browse API ref →One reference app per agent pattern. Each one builds clean, deploys to Vercel/Modal/Render, runs against Lattice cloud, and is also runnable against the OSS runtime with no edits.
Browse examples on GitHub →Spotted a typo or a confusing sentence? Open a PR on github.com/lattice-run/docs. We merge and ship the same day if the change is right.