Spaces:
Runtime error
Runtime error
Commit History
-
feat(brain): add react_loop.py — ReAct agentic loop engine (V4 Phase 2)
Informed by: - browser-use/browser-use: ActionLoopDetector, MessageCompaction, flash_mode schema - OpenHands/codeact_agent: pending_actions deque, condenser pattern, tool dispatch Features: - ActionLoopDetector port (rolling hash window, soft nudge) - MessageCompaction port (compact every 25 steps, keep_last 6) - flash_mode schema for Groq (memory+action only) - Tool registry hook (pluggable async tools) - Max 5 iterations default (hard ceiling 10) - Full AgentState tracking (n_steps, consecutive_failures, paused/stopped) - Groq function_calling compatible tool schemadac0057