-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task-Centric Memory #5227
Task-Centric Memory #5227
Conversation
Make memory optional. Filter out insights with negative scores.
Refactor memory paths. Enrich page logging.
Seed messages with random int for variability.
Save sessions as yaml for readability.
Eval simplifications.
…ified in settings.
@jackgerrits, I've moved the code under |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a next step #5542.
The teachability example is pretty cool, shows how the MemoryController can be used with the an AssistantAgent via the Memory interface. |
And with very little code! |
(EXPERIMENTAL, RESEARCH IN PROGRESS)
In 2023 AutoGen introduced Teachable Agents that users could teach new facts, preferences and skills. But teachable agents were limited in several ways: They could only be
ConversableAgent
subclasses, they couldn't learn a new skill unless the user stated (in a single turn) both the task and how to solve it, and they couldn't learn on their own. Task-Centric Memory overcomes these limitations, allowing users to teach arbitrary agents (or teams) more flexibly and reliably, and enabling agents to learn from their own trial-and-error experiences.This PR is large and complex. All of the files are new, and most of the added components depend on the others to run at all. But the review process can be accelerated if approached in the following order.
agentic_memory
branch, and thepython/packages
directory:pip install -e autogen-agentchat
pip install -e autogen-ext[openai]
pip install -e autogen-ext[task-centric-memory]
./pagelogs/quick/0 Call Tree.html
file in a browser to view the work in progress.chat_with_teachable_agent.py
eval_retrieval.py
eval_teachability.py
eval_learning_from_demonstration.py
eval_self_teaching.py
task_centric_memory_controller.py
, referring back to the previously generated page logs as needed. This is the most important and complex file in the PR._task_centric_memory_bank.py
_string_similarity_map.py
_prompter.py
teachability.py
apprentice.py
grader.py
page_logger.py
_functions.py