Skip to content
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

Custom and pluggable Agent #79

Open
pieroit opened this issue Apr 6, 2023 · 4 comments
Open

Custom and pluggable Agent #79

pieroit opened this issue Apr 6, 2023 · 4 comments
Assignees
Labels
agent Related to cat agent (reasoner / prompt engine) enhancement New feature or request V2

Comments

@pieroit
Copy link
Member

pieroit commented Apr 6, 2023

The Cat features a langchain ConversationalAgent which covers most easy use cases:

  • chat with a memory context
  • chat with tools use

At the moment this solution presents several limits:

  • confusion between memory context and tools
  • difficulty executing tools in sequence
  • prompt is too long (small models have no chance)

Here is a roadmap to improve the Agent:
1 - have a more agile and resilient default agent (choosing among [these])(https://python.langchain.com/docs/modules/agents.html)
2 - have a pluggable agent - inserting a few hooks into CustomAgent, making it multiprompt and working on dictionaries
3 - having a hook to totally override the cat Agent in case a dev is brave enough (same as we do with LLM and embedders)

@nicola-corbellini @sirius-0 let's tackle this

@pieroit pieroit self-assigned this Apr 6, 2023
@pieroit pieroit added enhancement New feature or request backend labels Apr 8, 2023
@pieroit pieroit added agent Related to cat agent (reasoner / prompt engine) and removed backend labels Jun 5, 2023
@pieroit
Copy link
Member Author

pieroit commented Jun 20, 2023

@sirius-0 please comment so I can assign the issue

@Pingdred
Copy link
Member

@sirius-0 please comment so I can assign the issue

Here

@valentimarco
Copy link
Collaborator

@pieroit With the new agent structure, should we discuss a solution?

@pieroit
Copy link
Member Author

pieroit commented Jul 10, 2024

@pieroit With the new agent structure, should we discuss a solution?

Agree, time to brainstorm this

@pieroit pieroit added the V2 label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent Related to cat agent (reasoner / prompt engine) enhancement New feature or request V2
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants