Usage Guide¶
Installation¶
- Clone the repository:
git clone https://github.com/reagent-systems/Simple-Agent-Core cd Simple-Agent-Core/SimpleAgent - Set up a virtual environment:
python -m venv venv venv\Scripts\activate # Windows # or: source venv/bin/activate # Linux/Mac - Install dependencies:
pip install -r requirements.txt - Copy and edit the
.envfile:copy env_example.txt .env # Windows # or: cp env_example.txt .env # Linux/Mac
Running the Agent¶
python SimpleAgent.py -a 10 "Create a Python Flask API with time endpoints"
Command-Line Options¶
-a, --auto [N]: Auto-continue for N steps (default: 10)-m, --max-steps N: Maximum number of steps (default: 10)--eager-loading: Load all tools at startupinstruction: The task instruction for the AI agent
Example Tasks¶
- Web API creation
- Data analysis
- Web scraping
- File processing
- Research and summarization
See commands.md for more examples.