-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Steven Enamakel edited this page Jun 29, 2026
·
4 revisions
TinyAgents is a Rust-native framework for building LLM agents as typed, inspectable workflows.
The repository README is intentionally marketing-level: features, diagrams, and quick setup. This wiki holds the implementation-oriented documentation, examples, provider setup, and architecture notes.
- Quick Start: install, run the examples, and understand the crate layout.
-
Examples: runnable graph, harness, provider, tool, structured
output, and
.ragexamples. - Providers: OpenAI, Anthropic, Ollama, DeepSeek, Groq, xAI, OpenRouter, Together, Mistral, and compatible endpoints.
- Graph Runtime: durable graph concepts, routing, state, and execution flow.
- Architecture: how the harness, graph, registry, expressive language, and REPL language fit together.
TinyAgents is organized around five surfaces:
- Harness: provider-neutral model calls, tools, middleware, structured output, usage, events, retries, streaming, and test doubles.
- Graph runtime: typed state graphs, nodes, edges, conditional routing, commands, checkpoints, interrupts, and topology export.
-
Registry: named models, tools, agents, graphs, stores, middleware, and
policy records used by Rust code and
.ragsource. -
Expressive language:
.ragworkflow blueprints that compile into the same graph runtime as Rust-built graphs. -
REPL language:
.ragshorchestration for inspecting and controlling harness and graph runs through registered capabilities.
Recursive language-model (RLM) harness for Rust.
Getting started
Concepts
Modules
Providers
Contributing