---
title: How weft compares to other agent frameworks
description: 'weft next to LangGraph, Pydantic AI, the Vercel AI SDK, the OpenAI Agents SDK and the Go options: who runs the loop, how tools run, how approval, sessions, tracing and tests work in each.'
url: https://weftgo.dev/docs/explanation/comparison/
type: concept
sources:
  - weft/docs/agent-loop-deep-dive.md:2027-2263 (Part III, the starting map; every other-framework claim re-checked below), 3050-3132 (§32)
  - weft/core/go.mod:3-8 (Go 1.26; the OTel API is the one dependency)
  - weft/core/agent.go:23-24 (defaultMaxSteps 10, defaultParallelism 4), 108 (MaxSteps), 125 (UsageLimit), 176 (PrepareStep), 187 (DetectLoops), 226 (Parallelism), 244 (Sequential), 271 (WrapModel), 451 (Tap), 483 (OnRunEnd), 567-571 (StopWhen, HasToolCall), 796 (ToolSource), 76 (Instructions)
  - weft/core/tool.go:277 (CodeNoSuchTool), 508 (Timeout), 580 (WrapTools), 592 (PromptSnippet), 621 (RequireApproval)
  - weft/core/run.go:123 (Approve), 152 (Deny), 318 (ParkOn), 666 (Messages), 741 (Agent.Stream), 849 (Agent.Generate)
  - weft/core/subagent.go:305 (Subagent); weft/core/events.go:178 (Nested); weft/core/repair.go:12 (Repair); weft/core/steer.go:53 (Steering); weft/core/env.go:18 (ModelRequestsAllowed)
  - weft/core/wefttest/model.go:148 (Script); weft/core/wefttest/replay.go:46,62 (Record, Replay); weft/core/wefttest/conformance/conformance.go:133 (Run)
  - weft/thread/session.go:519,627 (Create, Open); weft/thread/storage.go (Storage — Create, Append, Load, List, Delete); weft/thread/compaction.go:268 (Compact); weft/thread/compactopts.go:43 (ContextWindow); weft/thread/steer.go:145 (Steer); weft/thread/branch.go:67,266 (Branch, Fork); weft/thread/approval.go:407 (Decide); weft/thread/signing.go:536 (DecideSigned); weft/thread/pool/pool.go:292 (pool.New)
  - weft/otel/pipeline.go:342 (Install); weft/otel/options.go:221-263 (Local, Studio, Datadog, Langfuse)
  - weft/mcp/client.go:111 (Tools); weft/mcp/server.go:144 (Serve); weft/mw/facade.go:166 (Allow)
  - weft/studio/pricing.go:169 (Pricing — cost priced at read time, not a budget)
  - weft/AGENTS.md:658-724 (rules 1, 3, 6, 10, 11, 12, 13)
  - weft/README.md:1079-1100 (Roadmap — the sandbox, ADR 0023, abandoned; serve and eval next)
  - https://ai-sdk.dev/docs/introduction (TypeScript toolkit; React, Next.js, Vue, Svelte, Node.js)
  - https://ai-sdk.dev/docs/ai-sdk-core/tools-and-tool-calling (stopWhen, default isStepCount(1), tool-error parts, concurrent tool calls and toolCallConcurrency, toolApproval, prepareStep)
  - 'https://ai-sdk.dev/docs/ai-sdk-ui/chatbot-message-persistence (the application stores messages: loadChat, saveChat)'
  - https://ai-sdk.dev/docs/ai-sdk-core/telemetry (OpenTelemetry; invoke_agent, chat, execute_tool spans)
  - https://ai-sdk.dev/docs/ai-sdk-core/testing (MockLanguageModelV4 in ai/test, simulateReadableStream)
  - https://pydantic.dev/docs/ai/core-concepts/agent/ (pydantic-graph under each Agent, Agent.iter, end_strategy)
  - https://pydantic.dev/docs/ai/tools-toolsets/tools-advanced/ (concurrent tool calls by default, sequential=True barrier, ModelRetry, ToolFailed, requires_approval, DeferredToolRequests)
  - https://pydantic.dev/docs/ai/core-concepts/message-history/ (message_history, ModelMessagesTypeAdapter; storage left to the application)
  - https://pydantic.dev/docs/ai/guides/testing/ (TestModel, FunctionModel, Agent.override, ALLOW_MODEL_REQUESTS)
  - https://pydantic.dev/docs/ai/integrations/logfire/ (OpenTelemetry instrumentation, any OTel backend)
  - https://docs.langchain.com/oss/python/langgraph/overview (orchestration framework and runtime; durable execution, human-in-the-loop, LangSmith)
  - https://docs.langchain.com/oss/javascript/langgraph/overview (@langchain/langgraph)
  - https://docs.langchain.com/oss/python/langgraph/graph-api (Pregel super-steps, recursion limit 1000 since 1.0.6, GraphRecursionError, Send)
  - https://docs.langchain.com/oss/python/langgraph/interrupts (interrupt() needs a checkpointer; Command(resume=...); same thread_id; the runtime restarts the entire node from the beginning on resume)
  - https://pydantic.dev/docs/ai/api/pydantic-ai/usage/ (request_limit default 50; UsageLimitExceeded)
  - https://openai.github.io/openai-agents-python/running_agents/ (the SDK starts all emitted local function tool calls; max_function_tool_concurrency caps them)
  - weft/core/agent.go:153-174 (PrepareStep), weft/core/run.go:296 (UseModel)
  - https://docs.langchain.com/oss/python/langgraph/persistence (InMemorySaver, SqliteSaver, PostgresSaver; time travel)
  - https://openai.github.io/openai-agents-python/running_agents/ (the Runner runs the loop; MaxTurnsExceeded; sessions, conversation_id)
  - https://github.com/openai/openai-agents-python/blob/main/src/agents/run_config.py (DEFAULT_MAX_TURNS = 10)
  - https://openai.github.io/openai-agents-python/tools/ (default_tool_error_function; needs_approval; as_tool)
  - https://openai.github.io/openai-agents-python/human_in_the_loop/ (interruptions, to_state, approve/reject, RunState.to_json)
  - https://openai.github.io/openai-agents-python/tracing/ (tracing on by default, exported to the OpenAI backend; custom processors)
  - https://adk.dev/get-started/go/ (ADK Go, google.golang.org/adk/v2, llmagent.New; ADK Web not for production)
  - https://adk.dev/agents/workflow-agents/loop-agents/ (LoopAgent, max iterations, Escalate; Go examples)
  - https://adk.dev/tools-custom/function-tools/ (long-running function tool pauses the run; agenttool.New; Go json/jsonschema struct tags)
  - https://adk.dev/sessions/ (Session, SessionService, in-memory for development)
  - 'https://www.cloudwego.io/docs/eino/overview/ (Eino: Chain, Graph, Workflow; ChatModelAgent; callbacks; human-in-the-loop with checkpoints)'
  - 'https://genkit.dev/docs/interrupts/ (interrupts, beta: pause the generate loop; respond, restart)'
  - https://code.claude.com/docs/en/agent-sdk/overview (Claude Code as a library, Python and TypeScript; hooks, subagents, MCP, permissions, sessions)
---

# How weft compares to other agent frameworks

weft is a Go library that owns the agent loop: you call `Generate` or `Stream`, and weft runs the steps, the parallel tool calls, the approval boundary and the budgets, then records the run over OpenTelemetry. The frameworks below make different choices about who owns the loop, how tools run, where conversations live and how runs are traced and tested. This page sets those choices side by side, from each project's own documentation, without ranking them.

Every claim about another framework comes from its documentation as read on 2026-10-18; the URLs are in this page's sources. Defaults change between versions, so check the version you use.

## Frameworks side by side

### The loop and its tools

| Framework | Language | Who runs the loop | Default step budget | Tool calls in one step | A failing tool |
|---|---|---|---|---|---|
| **weft** | Go | the library: `agt.Generate` / `agt.Stream` | 10 steps (`MaxSteps`), then the run fails with `ErrMaxSteps` | 4 at once (`Parallelism`), results in call order; `Sequential()` is a barrier | an error result the model reads; an unknown tool is `NO_SUCH_TOOL` |
| **Vercel AI SDK** | TypeScript | the library: `generateText` / `streamText` | 1 step (`isStepCount(1)`); more only with `stopWhen` | concurrent by default; `toolCallConcurrency` caps them | a `tool-error` part the model can respond to |
| **Pydantic AI** | Python | the library, over `pydantic-graph`; `Agent.iter` exposes the nodes | `UsageLimits(request_limit=…)`, default 50, then `UsageLimitExceeded` | concurrent by default (`asyncio`); `sequential=True` is a barrier | `ModelRetry` asks for new arguments; `ToolFailed` reports a failed result |
| **LangGraph** | Python, JavaScript | the graph runtime, in Pregel-style super-steps | recursion limit 1000 (since 1.0.6), then `GraphRecursionError` | nodes in one super-step run in parallel; `Send` fans out | not covered in the pages read |
| **OpenAI Agents SDK** | Python (docs read) | the `Runner` | `max_turns`, default 10, then `MaxTurnsExceeded` | concurrent by default: every emitted local function call starts; `tool_execution.max_function_tool_concurrency` caps them | the default error function tells the model an error occurred; `None` re-raises |

### Around the loop

| Framework | Human approval | Conversations and persistence | Observability | Offline tests |
|---|---|---|---|---|
| **weft** | `RequireApproval` / `ParkOn`: the run ends with `res.Pending`; the next run resumes with `Approve`, `Deny` or `Resolve` | the caller feeds `res.Messages` back, or `weft/thread` sessions (jsonl, SQLite, memory, any `thread.Storage`) | OTel spans and log records from the core; `otel.Install` sends them to a local SQLite file, Studio, Datadog, Langfuse or your exporters | `wefttest.Script`, `wefttest.Record` / `Replay`, `conformance.Run`, `WEFT_MODEL_REQUESTS=deny` |
| **Vercel AI SDK** | `toolApproval` `'user-approval'`: the result carries `tool-approval-request` parts; the decision goes in a second call | the application stores messages (`loadChat` / `saveChat` in the guide) | OpenTelemetry: `invoke_agent`, `chat`, `execute_tool` spans | `MockLanguageModelV4` from `ai/test`, `simulateReadableStream` |
| **Pydantic AI** | `requires_approval=True`; deferred calls come back as `DeferredToolRequests` | `message_history`; messages serialise with `ModelMessagesTypeAdapter`; where they live is the application's choice | OpenTelemetry instrumentation; Logfire or any OTel backend | `TestModel`, `FunctionModel`, `Agent.override`, `ALLOW_MODEL_REQUESTS = False` |
| **LangGraph** | `interrupt()` pauses the graph; resume with `Command(resume=…)` on the same `thread_id`, which re-runs the node from its start; needs a checkpointer | checkpointers: `InMemorySaver`, `SqliteSaver`, `PostgresSaver`; time travel | LangSmith | not covered in the pages read |
| **OpenAI Agents SDK** | `needs_approval`: the run pauses with `interruptions`; `to_state()`, `approve` / `reject`, run again; `RunState` serialises to JSON | `session` (SQLAlchemy, SQLite, encrypted and others), or server-side `conversation_id` | tracing on by default, exported to OpenAI's backend; custom trace processors | not covered in the pages read |

A cell that says "not covered" means the documentation pages consulted did not say; it is not a claim that the feature is missing.

### Each framework in three lines

- **Vercel AI SDK.** A TypeScript toolkit for applications and agents across React, Next.js, Vue, Svelte and Node.js. Stop conditions are predicates (`isStepCount`, `hasToolCall`), and `prepareStep` rewrites each step's model, tools and messages; weft's `PrepareStep` rewrites messages, tools and system per step, and weft swaps the model per run (`UseModel`), not per step. Approval is a run boundary: the call returns approval requests and you answer in the next call.
- **Pydantic AI.** A Python agent framework whose runs are graphs underneath (`pydantic-graph`), with an iterator over the nodes. Tool calls run concurrently, and `sequential=True` marks a barrier tool, the same shape as weft's `Sequential()`. Its error vocabulary separates "try again" (`ModelRetry`) from "report a failure" (`ToolFailed`); weft's `ModelRetry` and `*ToolError` draw the same line.
- **LangGraph.** An orchestration framework and runtime in Python and JavaScript: every program is a graph executed in super-steps. Persistence, human-in-the-loop and time travel all come from one mechanism, the checkpointer. `interrupt()` pauses inside a node, and on resume the node runs again from its start, so code before the interrupt runs twice; that needs saved state; weft's approval instead ends the run and needs none.
- **OpenAI Agents SDK.** A `Runner` loop with agents as tools (`as_tool`) and handoffs between agents. Approval pauses the run into a `RunState` that serialises to JSON and resumes later. Tracing is on by default and goes to OpenAI's backend unless you replace the processors.

### Where they agree, and where weft sits

The frameworks that answer these questions answer them the same way:

1. **A tool error is data the model sees.** The AI SDK's `tool-error` parts, the OpenAI SDK's default error function, Pydantic AI's `ModelRetry` and weft's error results all let the model try again. In weft this is rule 1.
2. **One step's tool calls run concurrently.** The AI SDK, Pydantic AI, the OpenAI Agents SDK and weft run them at once by default; weft caps them at 4 and keeps results in call order (rule 3).
3. **Sequencing is declared per tool.** Pydantic AI's `sequential=True` and weft's `Sequential()` are barriers set by the author, never inferred from the handler.
4. **Stopping is a predicate, separate from the budget.** The AI SDK's `stopWhen` and weft's `StopWhen` say when the work is done; `MaxSteps`, `max_turns` and the recursion limit only bound it.
5. **Approval without a checkpointer is a run boundary.** The AI SDK, the OpenAI SDK, Pydantic AI and weft hand the pending calls back to the caller, and the decision comes in with a later call. LangGraph, which has a checkpointer, pauses inside the node and re-runs it on resume.
6. **An agent can be a tool.** `as_tool` in the OpenAI SDK, `agenttool.New` in Google ADK and `weft.Subagent` all wrap a child agent as a tool call.

Where they differ, weft takes one side:

| Question | What the others do | weft |
|---|---|---|
| Is an exhausted budget an error? | OpenAI raises `MaxTurnsExceeded`; LangGraph raises `GraphRecursionError`; the AI SDK's `isStepCount` is a stop condition | An error: `*RunError` wrapping `ErrMaxSteps`, with the partial transcript (rule 13) |
| How many steps by default? | AI SDK 1, OpenAI 10, Pydantic AI 50 requests, LangGraph 1000 super-steps | 10 |
| Where does orchestration live? | LangGraph in the graph; Google ADK in workflow agents; Eino in Chain / Graph / Workflow | In the loop: `Subagent`, `PrepareStep`, `ToolSource`. v0.20.2 ships no graph engine |
| How does behaviour attach? | callbacks (Eino), hooks (Claude Agent SDK), `prepareStep` (AI SDK) | Two seams, `WrapModel` and `WrapTools`, and one tap (rule 10); a third needs an ADR |
| What does approval need? | LangGraph: a checkpointer and a thread id; OpenAI: the serialised `RunState` | The transcript: `weft.Messages(res.Messages...)` plus `weft.Approve(id)` (rule 12) |
| What does a cut-off response do? | not covered in the pages read | A `max_tokens` step runs none of its tool calls; each gets an error result (rule 11) |

### The wider field

Three more systems a Go engineer meets, at the depth of their public documentation:

| Framework | Language | Loop | Delegation and orchestration | Human in the loop | State |
|---|---|---|---|---|---|
| **Google ADK** | Go (`google.golang.org/adk/v2`), Python, TypeScript, Java, Kotlin | `llmagent.New`; workflow agents such as `LoopAgent` with a maximum iteration count and `Escalate` | `agenttool.New` wraps an agent as a tool | a long-running function tool pauses the run for, for example, an approval | `Session` and `SessionService`; in-memory for development |
| **Eino** (CloudWeGo) | Go | `ChatModelAgent`, a ReAct-style agent | Chain, Graph and Workflow orchestration | agents pause for approval or input; checkpoints resume them | checkpoint persistence |
| **Claude Agent SDK** | Python, TypeScript | Claude Code's loop, run as a library over the Claude Code binary | subagents | permissions decide which tools need approval | sessions, resumed or forked |

- **Google ADK.** Separates "the model decides" (`llmagent`) from "code decides" (sequential, parallel and loop workflow agents). Its Go tools take their JSON Schema from `json` and `jsonschema` struct tags, as weft's do. Its dev web UI is documented as not meant for production; weft's Studio is meant to be mounted in your app or run beside it.
- **Eino.** A Go framework built on graphs: components wired by Chain, Graph or Workflow, with automatic conversion between streaming and non-streaming nodes. Callbacks carry logging, tracing and metrics. Pausing for a human is built on checkpoints.
- **Claude Agent SDK.** Not a loop library but a harness exposed as one: the tools, loop, context management, hooks, permissions and sessions of Claude Code, in Python and TypeScript. Genkit's interrupts (beta) pause the generate loop and resume with a response or a restart.

What the wider field adds to the agreement list: delegation by wrapping an agent as a tool appears in the OpenAI Agents SDK (`as_tool`), Google ADK (`agenttool.New`) and the Claude Agent SDK (subagents), and every framework read here pauses a run for a human decision in some form.

The deep dive's survey also covers Mastra, Crush, DeerFlow and pi. They are left out of this page: its claims about them could not be checked against their own documentation for this revision. What it adds to the differences: graph-first designs (LangGraph, Eino, ADK's workflow agents) put orchestration in the runtime, while weft and the AI SDK leave it in the loop and in your code.

### Harnesses: what sits around the loop

A harness is the product around a loop: tools, permissions, context management, sessions and extension points that keep a loop usable over a long task. The Claude Agent SDK is one exposed as a library. A loop library is useful to a harness when the harness can be built on it without forking it. These are the harness features and where each lives in weft v0.20.2:

| Harness feature | Where it lives in weft v0.20.2 |
|---|---|
| Permission model | `mw.Allow` (tool middleware), `weft.RequireApproval`, `weft.ParkOn`, and in sessions `s.Decide`, grants and signed decisions (`s.DecideSigned`) |
| Context compaction | `thread.ContextWindow` and `s.Compact` |
| Sessions, resume, fork | `thread.Create`, `thread.Open`, `s.Branch`, `s.Fork` |
| Subagents with their own context | `weft.Subagent`; a bounded pool of child sessions in `thread/pool` |
| Project instructions | `weft.Instructions` plus each tool's `weft.PromptSnippet` |
| Hooks | the two seams and the tap: `weft.WrapModel`, `weft.WrapTools`, `weft.Tap`, `weft.OnRunEnd` |
| Tools loaded on demand | `weft.ToolSource`: the loop re-reads the tool set each step |
| Steering a running turn | `weft.Steering`, and `s.Steer` in sessions |
| Verification loop | `weft.StopWhen` on a checking tool |
| Spend | `weft.UsageLimit` bounds tokens; Studio prices runs at read time but enforces nothing |
| Sandbox | none. The planned `thread/sandbox` (ADR 0023) was abandoned and does not ship |
| MCP | `mcp.Tools` consumes a server's tools; `mcp.Serve` exposes an agent |

## When weft is not the fit

weft is a Go library. If you want to write the agent itself in Python or TypeScript, the frameworks above are written for that; Studio still reads OpenTelemetry from agents in any language ([Use Studio with agents in other languages](https://weftgo.dev/docs/observe/other-languages/)). If you need a hosted no-code builder, a graph or workflow engine today, or a frozen 1.0 API, weft v0.20.2 has none of these; what is planned is on the [roadmap](https://weftgo.dev/roadmap).

## What the differences mean in practice

- **Defaults move between versions.** LangGraph's recursion limit is 1000 since 1.0.6; weft's deep dive, written earlier, still says 25. A comparison holds only at the versions named. (Source: LangGraph Graph API docs; `docs/agent-loop-deep-dive.md:2037`)
- **"Paused" means different things.** LangGraph's `interrupt()` re-runs the node from its start on resume, from a checkpoint; weft's approval ends the run, and the resume is a new run over the same transcript, so the storage each needs differs. (Source: AGENTS.md rule 12; LangGraph interrupts docs)
- **A budget breach in weft is an error, not a result.** `ErrMaxSteps` and `ErrUsageLimit` arrive as a `*RunError` carrying the partial transcript. (Source: AGENTS.md rules 1 and 13)

## Further reading

The weft side of this page comes from the repository at v0.20.2:

- `docs/agent-loop-deep-dive.md`, Part III (the frameworks side by side) and §32 (its reading list). Its framework matrix predates v0.20.2 in places: it lists `DetectLoops` and `UsageLimit` as planned and a `store` module that was removed; both options ship in v0.20.2.
- The ADRs in `docs/adr/`, each of which records what other frameworks did before weft chose ([Architecture decision records](https://weftgo.dev/docs/explanation/decisions/)).
- `AGENTS.md`, the rules that the comparison tables cite ([Design principles](https://weftgo.dev/docs/explanation/design-principles/)).

The deep dive's §32 also lists outside reading. It is named here without links because these docs link only to weft's own sites, GitHub and the Go sites; the URLs are in the deep dive itself:

- Anthropic's "Building effective agents": the workflow and agent vocabulary [Agent patterns](https://weftgo.dev/docs/explanation/patterns/) uses.
- Anthropic's "Effective context engineering for AI agents": why the context window is managed per step.
- Anthropic's "Writing effective tools for agents": the tool-design rules.
- OpenAI's "A practical guide to building agents": the manager and decentralised patterns, and guardrails as layers.
- HumanLayer's "12-Factor Agents": a checklist the patterns page maps onto weft.
- Simon Willison's "The lethal trifecta for AI agents": why containment, not filtering, is the safety strategy.
- The ReAct, Reflexion and CodeAct papers: the research lineage behind the tool loop. For the frameworks on this page, read their own documentation: the Vercel AI SDK, Pydantic AI, LangGraph, the OpenAI Agents SDK, Google ADK, Eino, Genkit and the Claude Agent SDK.

## See also

- [The agent loop, from first principles](https://weftgo.dev/docs/explanation/agent-loop/)
- [Agent patterns and where they attach in weft](https://weftgo.dev/docs/explanation/patterns/)
- [Design principles: the rules weft keeps](https://weftgo.dev/docs/explanation/design-principles/)
- [What is weft?](https://weftgo.dev/docs/get-started/what-is-weft/)

Symbols used: [`weft.Agent`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Agent) · [`Agent.Generate`](https://pkg.go.dev/github.com/weftgo/weft/core@v0.20.2#Agent.Generate) · [`Agent.Stream`](https://pkg.go.dev/github.com/weftgo/weft/core@v0.20.2#Agent.Stream) · [`weft.MaxSteps`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#MaxSteps) · [`weft.Parallelism`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Parallelism) · [`weft.Sequential`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Sequential) · [`weft.StopWhen`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#StopWhen) · [`weft.UsageLimit`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#UsageLimit) · [`weft.ModelRetry`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#ModelRetry) · [`weft.ToolError`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#ToolError) · [`weft.RequireApproval`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#RequireApproval) · [`weft.ParkOn`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#ParkOn) · [`weft.Approve`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Approve) · [`weft.Deny`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Deny) · [`weft.Resolve`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Resolve) · [`weft.Messages`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Messages) · [`weft.Subagent`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Subagent) · [`weft.PrepareStep`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#PrepareStep) · [`weft.ToolSource`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#ToolSource) · [`weft.WrapModel`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#WrapModel) · [`weft.WrapTools`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#WrapTools) · [`weft.Tap`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Tap) · [`weft.OnRunEnd`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#OnRunEnd) · [`weft.Instructions`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Instructions) · [`weft.PromptSnippet`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#PromptSnippet) · [`weft.Steering`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#Steering) · [`weft.ErrMaxSteps`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#ErrMaxSteps) · [`weft.ErrUsageLimit`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#ErrUsageLimit) · [`weft.RunError`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2#RunError) · [`mw.Allow`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/mw#Allow) · [`thread.Create`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/thread#Create) · [`thread.Open`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/thread#Open) · [`thread.Storage`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/thread#Storage) · [`thread.ContextWindow`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/thread#ContextWindow) · [`Session.Compact`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/thread#Session.Compact) · [`Session.Steer`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/thread#Session.Steer) · [`Session.Decide`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/thread#Session.Decide) · [`otel.Install`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/otel#Install) · [`mcp.Tools`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/mcp#Tools) · [`mcp.Serve`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/mcp#Serve) · [`wefttest.Script`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/wefttest#Script) · [`wefttest.Record`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/wefttest#Record) · [`wefttest.Replay`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/wefttest#Replay) · [`conformance.Run`](https://pkg.go.dev/github.com/weftgo/weft@v0.20.2/wefttest/conformance#Run)
