Back to the catalog

Everruns Knowledge

Bundle OKF 0.2 · 15 conceitos · everruns/everruns

Open source Repository Open in the app JSON README (API)

About

# Everruns Knowledge

* [Knowledge Maintenance Contract](knowledge-contract.md) - Rules for maintaining Everruns knowledge and OKF v0.2 conformance.
* [Update Log](log.md) - Chronological history of changes to this bundle.

# Domains

* [framework/](framework/) - Application-facing Framework purpose, boundaries, and compatibility decisions.
* [foundations/](foundations/) - Core entities, architecture, runtime, providers, and developer conventions.
* [execution/](execution/) - API contracts, capability behavior, tool execution, and streaming.
* [runtime-resources/](runtime-resources/) - Agents, sessions, workspaces, knowledge, memory, and runtime-owned resources.
* [docs/](docs/) - Public documentation structure, diagrams, and visual artifact contracts.
* [ui/](ui/) - User interface, message rendering, generative UI, and product presentation.
* [integrations/](integrations/) - MCP, external integrations, apps, plugins, and messaging channels.
* [operations/](operations/) - Deployment, p

Details

Kind
OKF bundles
Topic
AI, RAG & memory
Publisher
everruns
Origin
okf_github
Category
dados
Version
0.2
Stars
47
Forks
2
Open pull requests
13
Last push
2026-09-08T23:45:53Z
Repository state
ativo
Language
Rust
License
MIT
Added
2026-09-08 22:07:22
Updated
2026-09-13 00:04:46
Origin id
everruns/everruns:knowledge/index.md

README

# Everruns

<p align="center">
  <img src="./assets/readme/banner.png" alt="Everruns" width="100%" />
</p>

[![Website](https://img.shields.io/badge/Website-everruns.com-blue)](https://everruns.com)
[![Docs](https://img.shields.io/badge/Docs-docs.everruns.com-green)](https://docs.everruns.com)
[![Crates.io](https://img.shields.io/crates/v/everruns.svg)](https://crates.io/crates/everruns)
[![CI](https://github.com/everruns/everruns/actions/workflows/ci.yml/badge.svg)](https://github.com/everruns/everruns/actions/workflows/ci.yml)
[![Repo: Agent Friendly](https://img.shields.io/badge/Repo-Agent%20Friendly-blue)](AGENTS.md)

**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
[Hosted Everruns](https://app.everruns.com).

[Build with the framework](https://docs.everruns.com/framework/quickstart/) · [Read the docs](https://docs.everruns.com/framework/) · [Use Hosted Everruns](https://app.everruns.com)

## Build an agent

Add the application-facing crate:

```bash
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:

```rust
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.](https://docs.everruns.com/framework/quickstart/)

> **Note:** Everruns is under active development. Expect rapid changes and experimental features.

## The agent framework

The [`everruns`](./crates/everruns) crate keeps the application-facing agent
loop explicit and embeddable:

- **Agents and sessions** — describe an agent once, then create independent,
  multi-turn conversations through an `Engine`.
- **Models and providers** — start offline, use OpenAI, or attach a custom
  provider without coupling application code to a closed provider enum.
- **Typed tools and capabilities** — give agents function tools and opt into
  filesystem, shell, web, Lua, and MCP boundaries deliberately.
- **Events, cancellation, and lifecycle hooks** — observe a live turn, add
  application behavior at execution boundaries, and stop work cooperatively.
- **Persistence and execution choices** — begin with engine-lifetime memory,
  add local crash-durable state, or cross deliberately into a distributed host.

[Framework overview](https://docs.everruns.com/framework/)

## Choose how you run Everruns

| Framework | Self-hosted platform | Hosted Everruns |
| --- | --- | --- |
| Start here. Embed Everruns in the Rust application you are building; you own the process, deployment, integrations, and data path.<br><br>[Framework quickstart →](https://docs.everruns.com/framework/quickstart/) | Run the shared runtime in infrastructure you manage when you need a control plane, server, workers, UI, remote API, and durable execution.<br><br>[Docker Compose quickstart →](https://docs.everruns.com/getting-started/docker-compose/) · [Architecture →](https://docs.everruns.com/explanation/architecture/) | Use the shared runtime and production operations without operating the platform yourself.<br><br>[Open Hosted Everruns →](https://app.everruns.com) |

### Platform capabilities

The self-hosted and hosted platform 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](https://docs.everruns.com/features/capabilities/) · [Apps and channels](https://docs.everruns.com/features/apps/) · [Durable execution](https://docs.everruns.com/explanation/durable-execution/) · [Observability](https://docs.everruns.com/observability/)

## Documentation

Full documentation lives at **[docs.everruns.com](https://docs.everruns.com)**.

- [Everruns Framework](https://docs.everruns.com/framework/) — build and run agents inside a Rust application
- [Framework quickstart](https://docs.everruns.com/framework/quickstart/) — install the crate and configure a provider
- [Docker Compose quickstart](https://docs.everruns.com/getting-started/docker-compose/) — run the full platform stack
- [How-to guides](https://docs.everruns.com/how-to/) — give agents tools, stream events, publish to Slack, and enforce budgets
- [API reference](https://docs.everruns.com/api/) — OpenAPI 3.0
- [SDKs](https://docs.everruns.com/features/sdk/) — Rust, Python, and TypeScript clients

## Security

Everruns 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.

- [Threat model](./knowledge/security/threat-model.md) — full analysis, mitigation status, and accepted risks
- [Security testing](./knowledge/security/security-testing.md) — threat-model tests, failure injection, DeepSec scanning, and supply-chain checks
- [Security policy](./SECURITY.md) — report a vulnerability

## Contributing

See [CONTRIBUTING.md](./CONTRIBUTING.md) for local development setup and
[AGENTS.md](./AGENTS.md) for the conventions used by both human and AI
contributors.

## License

MIT

More