How cracker0010/ares-agent works
Ares Agent is an agent runtime with CLI, terminal, desktop, web, and ACP-facing surfaces. A typical interaction enters through a client or gateway, reaches the conversation runtime, invokes model providers and registered tools, then streams results back to the initiating surface. The supplied README describes a project restart but documents no product capabilities; the map therefore reflects the repository tree and SOURCE INDEX. Some runtime links are dashed because the relevant implementation was not excerpted.
Main entry points: conversation_loop.py Conversation loop · server.py TUI gateway · model_tools.py Tool orchestration · webhook.py Webhook gateway
Components 24
User clients
- Desktop app
ares-agent/apps/desktop/src/app/desktop-controller.tsx - Terminal UI
ares-agent/ui-tui/src/app/turnController.ts - Web client
ares-agent/web/src/App.tsx - ACP server
ares-agent/acp_adapter/server.py - CLI entry
ares-agent/ares_cli/main.py
Agent runtime
- Conversation loop
ares-agent/agent/conversation_loop.py - Context engine
ares-agent/agent/context_engine.py - Memory manager
ares-agent/agent/memory_manager.py - Model metadata
ares-agent/agent/model_metadata.py - Redaction
ares-agent/agent/redact.py - Skill utilities
ares-agent/agent/skill_utils.py
Tools and context
- Tool orchestration
ares-agent/model_tools.py - Tool registry
ares-agent/tools/registry.py - Skill manager
ares-agent/tools/skill_manager_tool.py - Checkpoint manager
ares-agent/tools/checkpoint_manager.py - Tool result storage
ares-agent/tools/tool_result_storage.py
Model providers
- Provider selection
ares-agent/ares_cli/providers.py - Model catalog
ares-agent/ares_cli/models.py
Gateway services
- TUI gateway
ares-agent/tui_gateway/server.py - Messaging platform
ares-agent/gateway/platforms/base.py - Webhook gateway
ares-agent/gateway/platforms/webhook.py - Teams meeting pipeline
ares-agent/plugins/teams_pipeline/pipeline.py - Configuration
ares-agent/ares_cli/config.py
Other components
- User
Connections 27
- User → Desktop app: interacts
- User → Terminal UI: interacts
- User → Web client: interacts
- User → CLI entry: invokes
- Desktop app → TUI gateway: requests
- Terminal UI → TUI gateway: RPC calls
- ACP server → Conversation loop: invokes
ares-agent/acp_adapter/server.py - TUI gateway → Conversation loop: dispatches
- CLI entry → Conversation loop: starts
- Web client → TUI gateway: requests
- Conversation loop → Context engine: builds context
- Conversation loop → Tool orchestration: dispatches tools
- Conversation loop → Provider selection: requests completion
- Conversation loop → Memory manager: uses memory
- Conversation loop → Redaction: sanitizes
- Conversation loop → Model metadata: consults
- Conversation loop → Skill utilities: uses skills
- Tool orchestration → Tool registry: queries
ares-agent/model_tools.py - Skill manager → Skill utilities: uses
ares-agent/tools/skill_manager_tool.py - Memory manager → Tool registry: registers tools
ares-agent/agent/memory_manager.py - Conversation loop → Checkpoint manager: uses checkpoints
- Tool orchestration → Tool result storage: stores results
- Provider selection → Model catalog: selects models
ares-agent/ares_cli/models.py - TUI gateway → Configuration: loads settings
ares-agent/tui_gateway/server.py - Webhook gateway → Messaging platform: implements
ares-agent/gateway/platforms/webhook.py - Webhook gateway → Conversation loop: routes messages
- Teams meeting pipeline → User: delivers summaries