everruns-runtime
Embed Everruns agents directly in your Rust process — no server, worker, or database required.
everruns-runtime is the in-process entrypoint for embedding Everruns. It runs a
harness entirely inside your own process — with in-memory stores by default —
using the same input → reason → act loop as worker- and server-backed
execution, but without the durable engine, gRPC worker boundary, or
control-plane server. It is the recommended starting point for trying Everruns,
writing tests, and embedding agents in your own application.
Part of the Everruns ecosystem — the durable agentic
harness engine for building unstoppable agents. The runtime builds on the
contracts in everruns-core and pairs
with provider crates such as
everruns-openai and
everruns-anthropic.
Quick Example
use ;
use TestMathCapability;
use InProcessRuntimeBuilder;
# async
The example above uses the built-in deterministic LLM simulator so it runs with
no API key. Swap in a real provider (for example
everruns-openai) to talk to a
hosted model.
Runnable examples ship with the crate:
cargo run -p everruns-runtime --example in_process_runtime
cargo run -p everruns-runtime --example inspect_context
cargo run -p everruns-runtime --example real_disk_file_system_tools
What It Provides
InProcessRuntimeBuilderfor declaring platforms, harnesses, agents, and sessions in code- In-memory stores for local development and tests, with hooks to plug in custom backends
- Real-disk workspace wiring so file-backed agents can read and write an actual directory
- Turn-context inspection before and after a turn executes
- Host-phase helpers reused by durable and server-backed execution
Documentation
- API reference (docs.rs)
- Runtime — embed Everruns in your process
- Tutorial: build your first agent
- Everruns documentation
License
Licensed under the MIT License.