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, Model};
let agent = Agent::builder()
.instructions("Answer in one short sentence.")
.model(Model::simulated("Hello from Everruns."))
.build()?;
let turn = agent.session().run("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
RuntimeLow-level execution-host composition and existing everruns-runtime 0.17.x applications
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. See Runtime compatibility before importing everruns-runtime directly.