Currently, intent-fluid treats each human intent as a relatively isolated execution block. While effective for simple tasks, this "stateless" approach limits the system's ability to handle complex, multi-step workflows where subsequent intents rely on previous context or user preferences.
I propose implementing an Intent Memory Chain to enhance the autonomous execution flow:
1. Short-term Session Memory (Context Buffer)
-
The Problem: If a user says "Search for Nvidia's stock price" followed by "Now analyze it," the second intent lacks the "Nvidia" context.
-
Proposal: Maintain a sliding window of the last $N$ intent-skill execution results to provide immediate context for the next LLM routing decision.
2. Long-term Preference Memory (RAG-based)
- The Problem: Recurring intents (e.g., specific output formats or preferred tools) are re-processed from scratch every time.
- Proposal: Use a lightweight vector store to persist successful execution patterns and user-specific constraints.
Why this matters:
- Reduces Ambiguity: Better intent resolution by filling gaps with historical data.
- Smoother "Fluid" Experience: Minimizes the need for redundant user prompts.
- Higher Execution Confidence: Provides the agent with a "mental model" of the ongoing task.
Is this something aligned with the current roadmap? I’d be happy to discuss the implementation details or contribute a PR if there's interest in this direction.
Currently,
intent-fluidtreats each human intent as a relatively isolated execution block. While effective for simple tasks, this "stateless" approach limits the system's ability to handle complex, multi-step workflows where subsequent intents rely on previous context or user preferences.I propose implementing an Intent Memory Chain to enhance the autonomous execution flow:
1. Short-term Session Memory (Context Buffer)
2. Long-term Preference Memory (RAG-based)
Why this matters:
Is this something aligned with the current roadmap? I’d be happy to discuss the implementation details or contribute a PR if there's interest in this direction.