Installation
Install the Future AGI SDK and configure it for your project.
Requirements
- Python 3.8 or higher
- pip or poetry package manager
- A Future AGI API key (get one here)
Installation
pip install futureagi poetry add futureagi conda install -c conda-forge futureagi Configuration
Get your API key
Sign in to the Future AGI dashboard and navigate to Settings → API Keys to create a new key.
Set the environment variable
export FUTUREAGI_API_KEY="your-api-key"Or add it to your .env file:
FUTUREAGI_API_KEY=your-api-key Initialize the client
from futureagi import FutureAGI
# Will automatically use FUTUREAGI_API_KEY env var
client = FutureAGI()
# Or pass explicitly
client = FutureAGI(api_key="your-api-key") Optional Dependencies
Install extras for specific integrations:
# LangChain integration
pip install futureagi[langchain]
# LlamaIndex integration
pip install futureagi[llamaindex]
# All integrations
pip install futureagi[all]
Verify Installation
from futureagi import FutureAGI
client = FutureAGI()
print(client.health()) # Should print: {'status': 'ok'}
Success
You’re all set! Head to Setup Observability to start tracing, or Running Evals in Simulation to test your agent.
Was this page helpful?