This is a modified version of the Agent Zero project, adapted to work with Claude 3.5 and implement caching for improved performance.
- Updated to use Claude 3.5 Sonnet as the default language model
- Implemented caching to reduce redundant API calls
- Simplified agent configuration
- Clone this repository
git clone https://github.com/MaximPro/agent-zero-claude
- Install the required dependencies:
pip install -r requirements.txt
- Set up your environment variables:
- Create a
.env
file in the project root - Add your Anthropic API key:
API_KEY_ANTHROPIC=your_api_key_here
- Create a
Run the main script to start the agent:
python main.py
The agent will now use Claude 3.5 Sonnet as its language model and benefit from caching to improve performance.
The caching system stores responses from the language model to avoid making redundant API calls. This can significantly reduce the number of API requests and improve response times for repeated or similar queries.
You can modify the agent's configuration in the initialize
function within main.py
. The current setup uses minimal configuration, but you can add more parameters as needed.
This modified version focuses on using Claude 3.5 and implementing caching. Some features from the original Agent Zero project may not be fully tested with these changes. Please refer to the original project's documentation for more detailed information on available features and tools.