deepagents is LangChain’s framework for long-horizon coding agents. It accepts a pluggableDocumentation Index
Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
Use this file to discover all available pages before exploring further.
backend for filesystem and shell operations, Mirage ships one.
Node only. The Mirage adapter is runtime-agnostic, but
deepagents and the LangChain runtime depend on Node APIs.Install
Usage
Exports
| Symbol | Purpose |
|---|---|
LangchainWorkspace | Backend implementation for deepagents, wires reads, writes, edits, and shell. |
extractText | Returns string[] of text blocks from an array of LangChain messages. |
buildSystemPrompt | Generates a system prompt that describes mounted paths to the model. |
Examples
examples/typescript/agents/langchain/ram_deepagent.ts, RAM-only sandbox.examples/typescript/agents/langchain/s3_deepagent.ts, read-only S3 exploration.