Skip to main content

envoy/
lib.rs

1//! # Envoy — Message/Coordination Server for AI Coding Agents
2//!
3//! HTTP+JSON coordination server built on sqlitegraph.
4//! Replaces file-based message passing with real-time structured messaging,
5//! agent identity management, and subagent handoff protocol.
6
7pub mod agent;
8#[cfg(feature = "atheneum")]
9pub mod atheneum_bridge;
10pub mod audit;
11pub mod circuit;
12pub mod dependency;
13pub mod engine;
14pub mod error;
15pub mod event;
16pub mod http;
17pub mod message;
18pub mod monitor;
19pub mod rate_limit;
20pub mod server;
21pub mod status;
22pub mod task;
23pub mod types;
24
25// Core types
26pub use engine::Engine;
27pub use types::{
28    AgentStatus, Channel, EngineStats, Event, EventPayload, MagellanDbState, MagellanTrace,
29    Subscription,
30};
31
32// Agent types
33pub use agent::{AgentInfo, AgentRegistry};
34
35// Message types
36pub use message::{
37    CompletionStatus, HandoffData, MagellanTracePayload, MessageEnvelope, MessageStore,
38    MessageType, Part, PartContent, QualityGateResult, VerificationState, WhatIsStubbed,
39    WhatWasDone,
40};
41
42// Rate limit types
43pub use rate_limit::{
44    HybridRateLimiter, HybridRateLimiterStats, RateLimitConfig, RateLimitDecision, RateLimitState,
45    RateLimitStore, TokenBucket,
46};
47
48pub use error::EnvoyError;
49pub use event::{EnvoyEvent, EventSeverity, EventType};
50pub use http::AppState;
51pub use task::{Task, TaskState};