No description
| .knowledge-base | ||
| .roo | ||
| __pycache__ | ||
| benchmarks | ||
| events | ||
| metrics | ||
| nlp | ||
| orchestrator | ||
| orchestrator.egg-info | ||
| security | ||
| storage | ||
| symphony-ai-agent | ||
| tests | ||
| web_templates | ||
| .coverage | ||
| benchmark.db | ||
| benchmark.key | ||
| benchmarks.md | ||
| CHANGELOG.md | ||
| cli_commands.py | ||
| cli_interface.py | ||
| get-pip.py | ||
| integration_tests.py | ||
| performance_logs.json | ||
| performance_results.json | ||
| pyproject.toml | ||
| queue_benchmark.db | ||
| queue_benchmark.key | ||
| README.md | ||
| web_interface.py | ||
| web_server.log | ||
AI Agent System
A comprehensive AI agent framework with CLI and web interfaces, built using Python and integrating with the Symphony framework.
Features
- CLI Interface: Command-line interface for interacting with the agent system
- Orchestration Engine: Schedule and manage agent tasks and workflows
- NLP Capabilities: Natural language processing for intent recognition
- Security Framework: Role-based access control and audit logging
- Storage Adapters: Modular storage backends including SQLite
- Testing Infrastructure: Comprehensive test suite for all components
- Symphony Integration: Works with the Symphony agent coordination framework
Installation
Prerequisites
- Python 3.9+
- pip
- virtualenv (recommended)
Steps
-
Clone the repository:
git clone https://github.com/your-repo/ai-agent.git cd ai-agent -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # Linux/MacOS venv\Scripts\activate # Windows -
Install dependencies:
pip install -e .
CLI Usage
The system provides a command-line interface with these main commands:
# Start the agent system
python -m cli_interface start
# Run specific agent tasks
python -m cli_interface run-task [task_name]
# View system status
python -m cli_interface status
# Get help
python -m cli_interface --help
Web Interface
The web interface provides a dashboard for monitoring and controlling agents:
-
Start the web server:
python -m web_interface -
Access the interface at:
http://localhost:8000
Features include:
- Agent status monitoring
- Task scheduling
- Performance metrics
- Security audit logs
Configuration
Configuration is managed through environment variables and config files:
-
Copy the example config:
cp config.example.yaml config.yaml -
Edit
config.yamlwith your settings:database: adapter: sqlite path: ./agent.db security: rbac_enabled: true audit_log: ./audit.log
Testing
Run the test suite with:
pytest tests/
Key test categories:
- Unit tests
- Integration tests
- Performance benchmarks
- Security validation
Contributing
- Fork the repository
- Create a feature branch
- Submit a pull request
Please follow the coding standards and include tests with new features.
License
MIT License - See LICENSE file for details.