Skip to main content
Agno v2.7.2 defaults LangDB requests to the legacy regional host https://api.us-east-1.langdb.ai. Export LANGDB_API_BASE_URL=https://api.langdb.ai to use LangDB’s current API host.
agent.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Run the example

Save the code above as agent.py, then run:
Full source: cookbook/90_models/langdb/agent.py