Skip to main content
Traditional RAG is passive: User asks -> System searches -> LLM answers. Agentic RAG is active: Agent decides what to search, verify results, and iterate.

How StateBase Powers Agentic RAG

StateBase serves as the Store and Trace layer for this loop.

The Loop

  1. Reasoning: Agent thinks “I need to check the pricing page.”
  2. Tool Call: Agent calls search_tool("pricing").
  3. State Update: StateBase records the tool call and the raw result.
  4. Reflection: Agent analyzes result. “This is outdated 2024 pricing.”
  5. Refinement: Agent calls search_tool("pricing 2025").

Implementation

By storing the intermediate thought process (Reasoning traces) in StateBase, your agent can “learn” from failed retrieval attempts in future sessions.