Replies: 1 comment 1 reply
-
|
First need to understand what are the various tasks that katalyst is supposed to perform. Based on that we can disect point 4 and point 2 under If there is noticable token reduction with this new context window, then we should allow users to configure because at the end its their call on how much they want to bill themselves and with how much success rate and accomplishment of the task |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Currently, Katalyst's ReAct agent carries all context between subtasks within a planning session:
This leads to:
Current Implementation
Current: Everything carries forward
task_1: read_file("config.json") -> 500 tokens added to action_trace
task_2: write_to_file("api.py") -> Previous 500 tokens + new 300 tokens
task_3: run_tests() -> Previous 800 tokens + new 400 tokens
By task 5, we might have 3000+ tokens of mostly irrelevant context
Proposed Solution: Hybrid Context Management
Core Concept
Implement a two-tier context system that intelligently manages what information flows between tasks:
Architecture
Key Features
After each task completes:
Before starting a new task:
Benefits Over Current Approach
Implementation Example
Open Questions for Team Discussion
Metrics to Track
This proposal maintains the benefits of shared learning while dramatically reducing the downsides of context bloat. The hybrid approach gives us the best of both worlds: isolation where helpful, sharing where valuable.
Beta Was this translation helpful? Give feedback.
All reactions