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

rfc: Per-agent context splitting #6

Closed
pkarw opened this issue Dec 7, 2024 · 3 comments
Closed

rfc: Per-agent context splitting #6

pkarw opened this issue Dec 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@pkarw
Copy link
Collaborator

pkarw commented Dec 7, 2024

Right now we've got a shared context per-team. All agents have access to all information from the execution context. This is great, and simplifies a lot - but we'll shortly deal with:

  • context windows issues per LLM,
  • discrepancies in the case that agents use different LLMs (llama_vision vs gpt-4 vs mistral etc) - idk for sure, but it could be a real mess when multiple LLMs will base on the results generated by other ones
@pkarw pkarw added the enhancement New feature or request label Dec 7, 2024
@pkarw
Copy link
Collaborator Author

pkarw commented Dec 7, 2024

This is a rfc - and let's discuss if this makes sense. Will make the #1 a little bit more complex, requiring some kind of agent tagging but it's not really an issue

@grabbou
Copy link
Collaborator

grabbou commented Dec 7, 2024

BTW, agents have their own context, they only inherit "current state" of workflow to get started. It gets longer of course with more tasks, but it is for context. We could decide if it is needed, or we change it to "task" and "context" (all necessary information to perform task).

Once agent is done processing, it returns its answer, so agents have their per-agent context.

@pkarw
Copy link
Collaborator Author

pkarw commented Dec 8, 2024

I'm closing it for now, I think the current way of context switching is exactly what I had in mind creating this issue before getting into the game deep enough 😅

@pkarw pkarw closed this as completed Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants