opencrabs 0.5.1

The autonomous, self-improving AI agent. Single Rust binary. Every channel. Recommended: the 40MB prebuilt binary for macOS, Linux and Windows: https://github.com/adolfousier/opencrabs/releases
//! Sub-Agent Spawning Tools
//!
//! Provides 5 tools for multi-agent orchestration inspired by codex-rs:
//! spawn_agent, wait_agent, send_input, close_agent, resume_agent.
//!
//! Each child agent gets a forked context, its own CancellationToken,
//! and runs in a background tokio task. The parent can wait, send input,
//! close, or resume any child by agent_id.

pub mod agent_type;
pub mod brain;
mod close;
pub mod manager;
pub(crate) mod notify;
pub(crate) mod provider_pair;
pub mod reconcile;
mod resume;
mod send_input;
pub mod spawn;
pub mod team;
mod wait;
pub(crate) mod worktree;

pub use agent_type::ALWAYS_EXCLUDED;
pub use agent_type::{build_child_registry, map_deprecated_agent_type};
pub use close::CloseAgentTool;
pub use manager::{SubAgent, SubAgentManager, SubAgentState};
pub use notify::SessionNotifyTool;
pub use resume::ResumeAgentTool;
pub use send_input::SendInputTool;
pub use spawn::SpawnAgentTool;
pub use team::{TeamBroadcastTool, TeamCreateTool, TeamDeleteTool, TeamManager};
pub use wait::WaitAgentTool;