Skip to main content
This example imports LearningMode from a module that does not exist in Agno v2.7.2. Update the import before running.
team_agentic_learning.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Run PgVector

5

Fix the LearningMode import

Replace from agno.learn.mode import LearningMode with from agno.learn import LearningMode in the saved Python file.
6

Run the example

Save the code above as team_agentic_learning.py, then run:
Full source: cookbook/03_teams/12_learning/10_team_agentic_learning.py