System Requirements
Before installing PandaAGI SDK, ensure your system meets the following requirements:Python Version
Python Version
- Python 3.9 or higher
- Python 3.11+ recommended for best performance
Operating System
Operating System
- Linux (Ubuntu 18.04+, CentOS 7+)
- macOS 10.15+
- Windows 10+ (with WSL2 recommended)
Dependencies
Dependencies
- Docker (for environment isolation)
Installation Methods
From Source
For development or the latest features:1
Clone the Repository
2
Install Dependencies
3
Verify Installation
API Key Configuration
To use PandaAGI SDK, you need an API key that you can obtain from the PandaAGI platform:1
Get Your API Key
- Visit https://agi.pandas-ai.com/
- Sign in with your GitHub account
- Navigate to your dashboard to access your API keys
- Copy your
PANDA_AGI_KEY
2
Set Environment Variable
Configure your API key as an environment variable:
- .env File (Recommended)
- Linux/macOS
- Windows
Create a
.env file in your project root:3
Verify Configuration
Test that your API key is properly configured:
4
Set in Python Code (Alternative)
You can also set the API key directly in your Python code:
Setting the API key this way only persists for the current Python process.
For production applications, consider using environment variables, a
.env file with python-dotenv,
or a secure configuration manager like AWS Secrets Manager or HashiCorp Vault.Environment Variables
Configure your environment with the required API keys:- .env File (Recommended)
- OS Environment Variables
Create a
.env file in your project root:Important: Keep your API keys secure and never commit them to version control.
For production use, consider secure key management systems like AWS Secrets Manager,
HashiCorp Vault, or environment-specific configuration services.
Docker Setup
For isolated general AI agent environments, install Docker:- Ubuntu/Debian
- macOS
- Windows