swarm-gateway 0.1.0

HTTP API gateway for the agent swarm
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::sync::Arc;
use swarm_core::orchestrator::Orchestrator;
use swarm_llm::ProviderRegistry;
use swarm_tools::ToolRegistry;

#[derive(Clone)]
pub struct AppState {
    pub orchestrator: Arc<Orchestrator>,
    pub providers: Arc<ProviderRegistry>,
    pub tools: Arc<ToolRegistry>,
}