A sophisticated AI agent implementation with advanced reasoning capabilities.
- Multi-model support (OpenAI, Anthropic)
- Configurable agent behavior
- Extensible architecture
- Comprehensive logging
- Type-safe implementation
-
Clone the repository
-
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Configure environment variables:
cp .env.example .env # Edit .env with your API keys
from src.agent import G1Agent
agent = G1Agent()
response = agent.run("Your prompt here")
print(response)Run tests:
pytestRun linting:
ruff check .
black --check .Run type checking:
mypy src/g1-agent/
├── src/ # Source code
├── tests/ # Test files
├── config/ # Configuration files
├── requirements.txt
└── README.md
MIT