Requirements
- Python 3.12 or higher
- An API key from at least one LLM provider
Quick Install
Full Setup
Optional Dependencies
Install extras for specific features:| Feature | Install command |
|---|---|
| Discord interface | pip install 'definable[discord]' |
| All messaging interfaces | pip install 'definable[interfaces]' |
| File readers (PDF, DOCX, XLSX) | pip install 'definable[readers]' |
| HTTP server (FastAPI + Uvicorn) | pip install 'definable[serve]' |
| Cron scheduling | pip install 'definable[cron]' |
| JWT authentication | pip install 'definable[jwt]' |
| Memory with Mem0 | pip install 'definable[mem0-memory]' |
| Deep research | pip install 'definable[research]' |
| CLI / TUI interface | pip install 'definable[cli]' |
| Full runtime (all of the above) | pip install 'definable[runtime]' |
Core Dependencies
These are installed automatically withpip install definable:
| Package | Purpose |
|---|---|
openai | OpenAI API client (also used by OpenAI-compatible providers) |
pydantic | Data validation and structured outputs |
httpx | Async HTTP client |
tiktoken | Token counting |
rich | Formatted logging and terminal output |
docstring-parser | Tool description extraction from docstrings |
aiosqlite | SQLite async driver for memory and identity storage |
Environment Variables
Set API keys for the providers you use. Only the keys you need are required.Next Steps
Your First Agent
Build and run an agent with tools in 15 lines.
Models
Explore all 10 supported LLM providers.