Skip to content
Everruns Cloud is open in early access. Run agents without operating the platform.

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, OpenAI};
let agent = Agent::builder()
.instructions("Answer in one short sentence.")
.provider(OpenAI::from_env()?)
.model("gpt-5.6-terra")
.build()?;
let engine = Engine::new();
let turn = engine.create(agent).send_and_wait("Say hello.").await?;
println!("{}", turn.response);

No database, server or worker is required — an agent runs inside your process. A model provider is: pick one from Supported providers, or use the test simulator when writing tests.

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.

  • Custom providers, attach a custom ChatDriver without changing a closed enum.
  • Capabilities, configure the optional standard policy bundle and open references, or package typed tools with stable metadata and lifecycle context.
  • Capability integrations, opt into filesystem, shell, web, Lua, and MCP implementation boundaries.
  • Portable and hosted capabilities, understand the Framework/Platform implementation boundary.
  • Custom backends, cross into low-level host composition deliberately.
  • Testing and simulation, deterministic tests without credentials.
  • Runnable examples, complete programs maintained with the crate.
  • Serve (experimental), attribute macros, file-layout discovery and a manifest, served over the Everruns server /v1 API.