Before you begin using AgentForge, ensure your system meets the necessary requirements and configurations.
-
Python 3.11
-
Verify your Python version:
python3 --version
AgentForge supports both cloud-based and local Large Language Models (LLMs).
To use cloud-based models like OpenAI, Anthropic, or Google, you need to obtain API keys.
- OpenAI
- Anthropic
- OpenAI: Sign up at OpenAI and obtain an API key.
- Anthropic: Visit Anthropic for API access.
- Google: Access the Google Cloud Platform to obtain API keys.
Set your environment variables to store your API keys securely.
- OpenAI:
OPENAI_API_KEY - Anthropic:
ANTHROPIC_API_KEY - Google:
GOOGLE_API_KEY
export OPENAI_API_KEY='your-openai-api-key'set OPENAI_API_KEY='your-openai-api-key'$env:OPENAI_API_KEY='your-openai-api-key'AgentForge supports local models via Ollama and LMStudio.
- Installation: Follow the instructions on the Ollama website to install.
- Configuration: No additional API keys are required.
- Installation: Download and install from the LMStudio website.
- Configuration: No additional API keys are required.
If you plan to use ChromaDB (the default database), you need the Microsoft C++ Build Tools.
- Download the Microsoft C++ Build Tools.
- Run the installer and select "Desktop development with C++".

- Complete the installation process.

- Done! Close the Visual Studio installer.
-
ChromaDB:
- Used for storing embeddings and agent memories.
- Optional if you prefer to use a different database or no database at all.
- Initial setup may take several minutes as it downloads necessary models.
-
Environment Variables Security:
- Do not share your API keys publicly.
- Consider using tools like
dotenvto manage environment variables securely.
Next Steps:
- Proceed to the Installation Guide to install AgentForge.
- After installation, check out the Using AgentForge Guide to get started with running agents.
