Skip to content

Everruns Framework

The Everruns Framework is the application-facing everruns crate. Use it to describe agents, attach models and tools, run multi-turn sessions, observe events, and embed agent execution directly in a Rust process.

use everruns::{Agent, Engine, Model};
let agent = Agent::builder()
.instructions("Answer in one short sentence.")
.model(Model::simulated("Hello from Everruns."))
.build()?;
let engine = Engine::new();
let turn = engine.create(agent).send_and_wait("Say hello.").await?;
assert_eq!(turn.response, "Hello from Everruns.");
# Ok::<(), Box<dyn std::error::Error>>(())

The default build runs this example offline. A database, server, worker, network connection, and provider credential are not required.

SurfaceUse it for
FrameworkRust applications that build and run agents in process through everruns
Advanced host cratesLow-level execution-host composition through everruns-host and focused siblings
SDKsRemote clients that call a running Everruns server
PlatformThe control plane, server, workers, UI, and durable deployment

Normal library users should start with the Framework. Hosts that must replace storage or orchestration cross into custom backends.