Leviath

Structured context regions for LLM agents, in one Rust binary

Working when we checked on .

Visit Leviath

What is Leviath?

Leviath is a runtime for structured AI agents that do real work, shipped as a single 74 MB Rust binary with nothing else to install. It targets developers running long, multi-step agent jobs. Each stage of an agent gets its own model, toolset, and context budget, so cheap models handle cheap steps and expensive ones only run where needed. It supports 10,000+ agents in one process, restarts runs from a journaled history after crashes, and allows live steering messages to sub-agents several levels deep. Agents are defined in one file, and 7 agents ship built-in.

Leviath pricing

Pricing model: Freemium

Leviath pros

  • Single 74 MB Rust binary; runs on macOS, Linux, and Windows
  • Supports 10,000+ agents in one process; 64 ms to a running agent
  • Run journal replays completed tool calls after a crash instead of re-running them
  • Per-stage model, toolset, and context budget so only code-writing steps pay for expensive models
  • Live steering lets sub-agents three levels deep ask the user directly
  • Ships with 7 built-in agents so users can start without writing one

Leviath cons

  • Runs can crash mid-run (e.g., OOM), though a journal enables recovery
  • Users must bring their own model providers such as Anthropic; no bundled models are mentioned
  • Pricing and licensing details are not documented on the page
  • Long agent runs depend on careful stage/context configuration the user must define

Frequently asked questions about Leviath

What is Leviath?

Leviath is a runtime for structured AI agents that do real work. It ships as one 74 MB Rust binary with a model, a toolset, and a context budget assigned per stage, not per agent.

Who is Leviath for?

It is aimed at developers and teams running long, multi-step coding agent jobs who need reliability, cost control, and many agents running on one machine.

How does Leviath control context in long runs?

It uses context regions: task, plan, and codebase are pinned and never move, while the conversation compacts into its own history region and tool calls slide through a window by rule.

How does Leviath reduce model costs?

Each stage picks its own model, tools, and context budget, so cheap steps like listing files use a cheap model and only the step writing code pays for an expensive one.

What happens if a run crashes mid-way?

Every tool call is written to a run journal when it goes out and again when it lands. On restart the daemon reads the journal, replays finished calls instead of repeating them, and only asks about the one still in flight.

How many agents can run at once?

Every agent is an entity inside one 74 MB Rust binary, and the site reports 10,000+ agents running in one process, with 64 ms from nothing to a running agent.

Can you steer an agent while it runs?

Yes. Messages land between inference calls as if spoken mid-turn, and sub-agents as deep as three levels down can ask the user questions directly instead of guessing.

Do I have to write my own agent to start?

No. Leviath ships with 7 built-in agents, including a coder agent with discover, plan, prototype, implement, review, and reassess stages.

How are agents defined?

In one file that specifies the stages, which model each stage gets, when to hand over the keyboard, when to stop and rethink, and context budgets. The runtime reads this file as a graph.

What platforms does Leviath support, and does data leave the machine?

It installs on macOS, Linux, and Windows via a curl install script. The Lair dashboard runs in the browser and talks to the daemon on the user's own machine, so runs do not have to leave the computer to be watched.

Categories

Use cases

Alternatives to Leviath

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z