everruns-builtins
Portable policy capabilities for the Everruns Framework.
This crate owns the backend-neutral implementations that shape agent behavior, including human-intent signaling, infinity context, skills, context compaction, tool search, budgeting, loop and progress guards, prompt caching, tool-call repair, output handling, and guardrails. Linking the crate does not register anything: applications choose a registry and call a registration function explicitly. Registration rejects ID or alias collisions atomically, leaving the caller's registry unchanged on error.
Part of the Everruns ecosystem — the durable agentic harness engine for building unstoppable agents.
Quick Example
use register_portable_capabilities;
use CapabilityRegistry;
let mut registry = new;
register_portable_capabilities?;
# Ok::
The bundle contains policy, not environment integrations. It does not own a
network client, process runner, interpreter, database, server, or hosted
service. Capabilities that persist or distill tool output declare a dependency
on session_file_system; the embedding application must compose a compatible
filesystem implementation when enabling those capabilities.
usage_limit_auto_continue similarly requires the host's session-schedule
service; register_runtime_capabilities omits it for embedded runtimes that do
not provide that service.
Use the everruns facade for the normal Framework API. Depend on this crate
directly when building a custom capability registry or a minimal host.
What It Provides
- Explicit runtime-safe and full-product registration functions
- Human intent, infinity context, skills, compaction, tool search, and guard policies
- Tool-call repair and output persistence/distillation policy hooks
- Registry-skill attachment and optional OpenUI/A2UI prompt capabilities
- Public typed configuration values re-exported by the
everrunsfacade - Atomic capability-ID and alias collision rejection
The ui-capabilities feature enables the OpenUI and A2UI implementations and
their focused protocol crates. It is selected by the hosted product catalog;
the embedded runtime bundle remains UI-protocol neutral.
Documentation
License
Licensed under the MIT License.