The docs, as files
Both are generated from the same docs as this site and checked in the SDK’s CI. The
llms.txt in node_modules matches the version you have installed; the repository’s llms-full.txt follows the SDK’s main branch, which can be ahead of the release you installed. Tell your coding agent where they are, for example in your project’s AGENTS.md or CLAUDE.md:
The docs, from this site
Every page here has a Copy page button at the top, which copies the page as Markdown for pasting into a chat. The same menu opens the page in ChatGPT or Claude.Let the coding agent check its work
Two parts of the SDK make an agent’s work easy to verify without an API key:- Testing:
mockModelscripts the model’s replies, so a test can assert on tool calls and final text and run offline in CI. - Evals:
defineEval()asserts on the trajectory (which tools, in what order, with which arguments) andlousho evalreports the result as JUnit.
npx lousho doctor checks the Node version, peer dependencies and API keys, and prints a fix for anything missing. It is a useful first command for a coding agent to run in a new checkout.
Your Lousho agent as a coding agent
The other direction is covered too. An agent you build with the SDK can itself work on code:- Build a coding agent: a step-by-step walkthrough of a terminal coding agent with file and shell tools, approvals and follow-up questions.
- Registry kits:
lousho add coding-kit(orcoding-pi, the same harness on the Pi provider with a Pi coding sub-agent) installs a production-shaped coding agent - checkpoints, permission rules, a loop guard and a cost cap - as one directory. - Pi coding sub-agents:
piAgent()delegates well-scoped implementation to a Pi coding agent with its own permission rules and durable approval pause/resume. - Workspace tools: file system and shell tools confined to a root directory, with the shell behind approval.
- Editors (ACP):
lousho acp ./my-agentserves your agent to Zed and other Agent Client Protocol editors. - Project instructions:
projectInstructionsappends your repository’sAGENTS.mdto the agent’s instructions.