everruns-capability
Neutral capability contract for Everruns, capability identity, configuration, and code-defined capability authoring.
everruns-capability is the one open capability contract shared by the
everruns Framework, the hosted Everruns
product, and integration crates: validated CapabilityIds, the
CapabilityRef reference/config representation that round-trips through
application code, persisted attachments, and worker resolution, the non-sealed
CapabilitySpec/IntoCapability conversion boundary, code-defined capability
authoring (Definition, typed tool handlers, schema metadata, structured
errors), and registry identity bookkeeping with duplicate/collision rejection.
It deliberately depends on neither engine nor host crates, no Tokio, HTTP,
SQLx, OpenAPI, or platform records, so third-party capability packages can
depend on this crate alone. Applications normally consume the same types
re-exported from everruns.
Quick Example
use ;
use json;
let spec = VendorSearch .into_capability;
assert_eq!;
What It Provides
CapabilityId, open, string-based capability identity with one shared validation rule set (character grammar, length, reserved namespaces)CapabilityRef, capability id plus per-agent JSON object configuration; serializes as{"ref", "config"}everywhere and redacts config fromDebugCapabilitySpecand non-sealedIntoCapability, the open conversion contract for application capability valuesdefinition(default feature), code-defined capability authoring: typedHandlertools, generated input/output schemas, executionContextwith progress and cancellation boundaries, structured user/internal errorsCapabilityIdIndex/ActivationSet, canonical-id and alias bookkeeping with duplicate/collision rejection shared by registries
Documentation
Part of the Everruns ecosystem, the durable agentic harness engine for building unstoppable agents.
License
MIT, see LICENSE.