- Executive Summary
- System Architecture
- Key Features
- Component Overview
- Getting Started
- Configuration
- Development
- License
The Agentic Tracking System is a sophisticated, multi-agent platform designed to monitor, analyze, and manage complex workflows in real-time. It combines a high-performance FastAPI backend, a premium React dashboard, and an orchestrated fleet of AI Agents to provide intelligent insights and automated control.
The system utilizes a Smol Agents framework, emphasizing an Insight-First resolution policy and a modular Memory System for cohesive long-running interactions.
The system follows a modular micro-services architecture, orchestrated by a central intelligent agent with a dedicated memory layer.
graph TD
User[User] -->|Interacts| Dashboard[React Dashboard]
Dashboard -->|HTTP/REST| API[FastAPI Backend]
subgraph Core_System["Core System"]
API -->|Dispatches| Orchestrator[Orchestrator Agent]
Orchestrator -->|Consults| Memory[Memory System]
Orchestrator -->|Coordinates| SubAgents[Sub-Agents]
SubAgents -->|Analytical Tasks| KnowledgeInsights[Knowledge Insights Agent]
SubAgents -->|Clustering| GroupIdentifier[Group Identifier Agent]
SubAgents -->|Validation| Validation[Validation Agent]
SubAgents -->|Extraction| DataPipeline[Data Pipeline Agent]
end
subgraph Infrastructure
API -->|Reads/Writes| Utils[Shared Utils Library]
Orchestrator -->|Uses| Utils
Utils -->|Repo Pattern| Storage[(Data Storage)]
Utils -->|Hot-Reload| Config[Config Manager]
end
-
Orchestrated Agentic Workflows A central Orchestrator agent intelligently routes tasks using a Tool-Calling approach. It prioritizes existing insights through an "Insight-First" policy, escalating to complex multi-agent workflows only when necessary.
-
Intelligent Memory System Features a robust memory layer supporting Short-Term Memory with conversation isolation. This ensures context is maintained across multiple turns while keeping independent sessions secure and private.
-
Robust Data Pipeline & Repositories Utilizes a unified Repository Pattern to handle multiple data formats (
JSON,JSONL,CSV,ICS) seamlessly. Features an enhanced storage layer with automatic schema detection and specialized handlers like the iCalendar event monitor. -
Background Event Scheduling A persistent, fully configurable background task that monitors calendar events (ICS). It automatically triggers orchestrator workflows when events reach their end time, ensuring autonomous and timely data updates.
-
Dynamic "Hot-Reload" Configuration A thread-safe configuration manager that supports real-time updates without system downtime. Includes dot-notation access for complex settings and secure environment variable integration.
-
"Deep Ocean" Dashboard A stunning, high-performance interface built with React and Vite. Features glassmorphism effects, interactive D3-based analytics, and a responsive layout for monitoring system health.
| Component | Directory | Description |
|---|---|---|
| Dashboard | /dashboard |
The "Deep Ocean" frontend. React + Vite + Tailwind CSS. |
| API | /api |
The RESTful backend. FastAPI service for client requests and agent orchestration. |
| Agents | /agents |
The intelligence layer. Contains Orchestrator, Sub-Agents, and the Memory System. |
| Utils | /utils |
The core shared library. Implements Storage Repositories, Config Manager, and AI model wrappers. |
- Python: 3.10 or higher
- Node.js: 18.0.0 or higher
- npm: 9.0.0 or higher
-
Clone the repository:
git clone https://github.com/MoMakkawi/Agentic_tracking_system cd Agentic_tracking_system -
Install Python dependencies (Utils & API):
# Install the core shared library cd utils pip install -e . cd ..
-
Install Frontend dependencies:
cd dashboard npm install cd ..
To start the entire system (API + Dashboard) simultaneously, use the provided runner script:
python run.pyThis command will:
- Start the FastAPI backend on
http://localhost:8000. - Start the React Dashboard on
http://localhost:5173. - Stream logs from both services to your terminal.
The system uses a centralized config.json managed by the utils package.
- Hot-Reloading: Changes to
config.jsonare applied immediately. - Structure: Organized by module (Orchestrator, Sub-Agents, Storage Paths).
- Secrets: Managed via
.envor the secureSecrets.pymodule inutils.
- Swagger UI: Available at
http://localhost:8000/docsfor API testing. - Sub-Agents: Located in
agents/sub_agents/, each following a specialized task specification. - Memory: Managed in
agents/memory/, includingShortTermMemoryandMemoryManager.
MIT License