Skip to main content

Crate ccswarm

Crate ccswarm 

Source
Expand description

ccswarm - AI-powered multi-agent orchestration system

Modules§

agent
auto_accept
benchmark
Benchmark Integration Module
cli
CLI module for ccswarm with clippy exceptions for complex conditional patterns
config
coordination
error
execution
extension
Extension system with type-safe plugin support
extension_stub
git
hitl
Human-in-the-Loop (HITL) Module
hooks
Hook System for ccswarm
identity
ipc
IPC (Inter-Process Communication) Module
mcp
Model Context Protocol (MCP) client implementation for ccswarm
memory
Long-term Memory and RAG Integration Module
monitoring
orchestrator
providers
resource
sangha
Sangha - Collective Intelligence and Democratic Decision Making
security
semantic
session
Session management module for ccswarm
streaming
subagent
template
Task template system for ccswarm
tracing
Agent Tracing Module
traits
tui
utils
Utility functions and helpers
workflow
Graph-based Workflow Engine Module
workspace

Macros§

async_command
Create async command handler with error handling
async_lock_timeout
Async mutex with timeout
async_operation
Macro for async operation with automatic retry, timeout, and error handling
async_state_machine
Macro for defining async state machines with automatic transition handling
async_with_progress
Execute with progress updates
cancellable_async
Execute with cancellation token
cli_args
Define CLI argument parser
command_registry
Create a command registry with automatic dispatch
command_with_progress
Create command with automatic progress tracking
concurrent_execute
Async operation macros for concurrent execution and coordination
context_wrap
Helper macro for consistent error context
define_command
Command pattern macros for reducing boilerplate in CLI command implementations
define_errors
Macro for generating error types with context
define_messages
Advanced macro utilities for code generation and pattern reduction Macro for generating message types with automatic builder pattern
generate_id
Helper macro for generating unique IDs
impl_entity_traits
Helper macro for implementing common trait combinations
parallel_map
Parallel map over collection
pattern_dsl
Macro for generating pattern DSL
rate_limited_async
Rate-limited async execution
register_command
Macro to generate command registration with minimal boilerplate
resilient_async
Execute operations with timeout and retry
select_first_ok
Select first successful operation from multiple async tasks
spawn_logged
Spawn task with automatic error logging
stream_batch_process
Stream processing with batching
subcommand_group
Define a subcommand group
validate_command
Define validation rules for commands
with_timestamp
Helper macro for creating timestamped entities