Back
Glossary

ReAct Loop

A reasoning-and-acting agent loop where the model alternates "thought → action → observation" until the task is complete. VULK's generation agent uses a constrained ReAct loop with XML-tagged actions (vulkAction, vulkPlan, vulkCompletion).

ReAct Loop

ReAct (Reasoning + Acting) is the agent pattern introduced in the 2022 ReAct paper: the model produces a chain of thoughts and actions, each action calls a tool, the tool's output is fed back as an observation, and the loop continues until the model emits a stop signal. It is the standard control-flow for autonomous coding agents because it lets the model react to compile errors, file-system state, and search results rather than guessing in one shot.

VULK uses a constrained ReAct loop. The agent emits XML tags (vulkPlan, vulkAction type="file", vulkAction type="shell", vulkCompletion); each tag is parsed by the unified parser, the corresponding tool runs (write file, run shell, search knowledge base), and the result is appended to context. The loop terminates when vulkCompletion fires, when the 10-step quality gate passes, or when the budget guard (max tool calls, max tokens) trips.

See /docs/ai-models/choosing-model.

On this page

VULK Support

Online

Hi! How can I help you today?

Popular topics

AI support • support.vulk.dev