Thanks to visit codestin.com
Credit goes to lib.rs

4 releases (breaking)

0.15.0-pre-alpha Apr 10, 2026
0.14.0-pre-alpha Mar 22, 2026
0.13.0-pre-alpha Mar 21, 2026

#5 in #100monkeys


Used in 3 crates

AGPL-3.0

3.5MB
72K SLoC

aegis-orchestrator-core

Crates.io Docs.rs License: AGPL-3.0 Documentation

Core domain logic and runtime primitives for the 100monkeys.ai AEGIS orchestrator. This crate is the pure domain kernel — it has no dependency on any particular runtime, database, or HTTP framework except through trait abstractions.

What's in this crate

Layer Contents
Domain Agent, Execution, Workflow, Swarm, SealSession, SecurityContext, Policy, NodeConfig, RuntimeRegistry value objects and entities
Application Orchestration services: InnerLoopService, LifecycleService, ToolInvocationService, ValidationService, StorageRouter, VolumeManager, NfsGateway
Infrastructure Trait implementations for Docker runtime, LLM providers, Temporal client, Cortex/memory, gRPC (AEGIS Runtime Proto), SeaweedFS, OpenBao secrets
Presentation Axum HTTP handlers for the /v1 REST API and gRPC service endpoints

Key Concepts

  • Agent — a stateless, containerised unit of autonomous work defined by an AgentManifest
  • Execution — a single agent invocation; lifecycle: Pending → Running → Succeeded | Failed | Cancelled
  • SEAL — Signed Envelope Attestation Layer (ADR-035); every tool call is signed with Ed25519 and validated end-to-end
  • Dispatch Gateway — all tool calls route through the orchestrator proxy at /v1/dispatch-gateway (ADR-040); agents never call external APIs directly
  • Security Policy — default-deny network and filesystem policies enforced at container/VM boot time

Usage

This crate is not intended for direct use by agent authors — use aegis-orchestrator-sdk instead. This crate is consumed internally by the other workspace members and may be useful for advanced integrations.

[dependencies]
aegis-orchestrator-core = "0.X.0-pre-alpha"
use aegis_orchestrator_core::domain::agent::{AgentManifest, AgentSpec};
use aegis_orchestrator_core::domain::execution::Execution;

Documentation

Resource Link
Getting Started docs.100monkeys.ai/docs/getting-started
Architecture Overview docs.100monkeys.ai/docs/architecture
Execution Engine docs.100monkeys.ai/docs/architecture/execution-engine
SEAL docs.100monkeys.ai/docs/architecture/seal
Agent Manifest Reference docs.100monkeys.ai/docs/reference/agent-manifest
Node Config Reference docs.100monkeys.ai/docs/reference/node-config
Security Model docs.100monkeys.ai/docs/concepts/security-model

License

Copyright © 2026 100monkeys AI, Inc.

Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

Dependencies

~161MB
~3.5M SLoC