Setup
Example
agent_with_knowledge.py
For hosted ChromaDB (Chroma Cloud)
Async Support ⚡
ChromaDB also supports asynchronous operations, enabling concurrency and leading to better performance.
async_chroma_db.py
ChromaDB has a batch size limit due to SQLite constraints.
When inserting documents that exceed this limit, Agno automatically splits them into smaller batches.
The batch size is auto-detected from ChromaDB’s server configuration.You can also set
batch_size to override the auto-detected value.