Teams with Memory
Use persistent memory with teams.
The team can also manage user memories, just like agents:
1from kern.team import Team2from kern.db.sqlite import SqliteDb34db = SqliteDb(db_file="kern.db")56team_with_memory = Team(7 name="Team with Memory",8 members=[agent1, agent2],9 db=db,10 update_memory_on_run=True,11)1213team_with_memory.print_response("Hi! My name is John Doe.")14team_with_memory.print_response("What is my name?")For persistent learning across sessions, use LearningMachine.
See more in the Memory section.
Developer Resources
- View the Team schema
- View Cookbook