AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
Headless durable agentic harness engine. Run durable AI agents reliably and scalably.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Build capable AI agents in Rust. Run them where they belong.
Everruns is an open-source framework for building AI agents directly in Rust
applications. Define agents, attach models and typed tools, run multi-turn
sessions, and observe execution through one application-facing API.
Use the framework in your application. When you need a shared runtime and
production operations, run the Everruns platform yourself or use
Everruns Cloud.
Then define a typed tool, give it to an agent, and run a turn:檢視完整 README ↗Build capable AI agents in Rust. Run them where they belong.
Everruns is an open-source framework for building AI agents directly in Rust applications. Define agents, attach models and typed tools, run multi-turn sessions, and observe execution through one application-facing API.
Use the framework in your application. When you need a shared runtime and production operations, run the Everruns platform yourself or use Everruns Cloud.
Build with the framework · Read the docs · Use Everruns Cloud
Add the application-facing crate:
cargo add everruns --features openai
cargo add tokio --features macros,rt-multi-thread
export OPENAI_API_KEY=sk-...
Then define a typed tool, give it to an agent, and run a turn:
use std::time::{SystemTime, UNIX_EPOCH};
use everruns::{Agent, Engine, OpenAI};
#[everruns::tool]
async fn current_time() -> Result<String, String> {
let seconds = SystemTime::now()
.duration_since(UNIX_EPOCH)
.map_err(|error| error.to_string())?
.as_secs();
Ok(format!("{seconds} seconds since the Unix epoch"))
}
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let agent = Agent::builder()
.name("assistant")
.instructions("Use current_time when asked about time. Be concise.")
.provider(OpenAI::from_env()?)
.model("gpt-5-mini")
.tool(current_time())
.build()?;
let session = Engine::new().create(agent);
let turn = session.send_and_wait("What time is it?").await?;
println!("{}", turn.response);
Ok(())
}
Everruns derives the tool schema from the Rust function, lets the model call it during the turn, and returns the result before producing the final response. Continue the framework quickstart.
Note: Everruns is under active development. Expect rapid changes and experimental features.
The everruns crate keeps the application-facing agent
loop explicit and embeddable:
Engine.| Framework | Self-hosted platform | Everruns Cloud |
|---|---|---|
| Start here. Embed Everruns in the Rust application you are building; you own the process, deployment, integrations, and data path.Framework quickstart → | Run the shared runtime in infrastructure you manage when you need a control plane, server, workers, UI, remote API, and durable execution.On your machine → · Docker Compose → · Kubernetes → · Architecture → | Use the shared runtime and production operations without operating the platform yourself.Everruns Cloud quickstart → · Open app.everruns.com → |
The Platform, self-hosted or on Everruns Cloud, adds durable execution, a stateless worker pool, a web UI, and a remote API. It also publishes agents to Slack, web chat, A2A, webhooks, schedules, voice, HTTP, and MCP; manages organizations and permissions; and supports observation, budgeting, and evaluation.
Platform capabilities · Channels · Durable execution · Observability
Full documentation lives at everruns.com/docs.
everruns docker up starts the full Platform in Dockerllms.txt index, per-topic Markdown sets, and the OpenAPI schema for agentsEverruns runs untrusted agent and tool code for multiple tenants, so security is a core design goal. Threats are tracked with stable IDs across authentication, tenant isolation, permissions, tool execution, LLM integration, sandboxes, durable execution, and channel integrations, each with a documented mitigation and, where feasible, test coverage.
See CONTRIBUTING.md for local development setup and AGENTS.md for the conventions used by both human and AI contributors.
MIT