LearnNewsExamplesServices
Frontmatter
id7965
titleImplement Event Queue and Agent Loop
stateClosed
labels
enhancementai
assigneestobiu
createdAtDec 1, 2025, 1:12 PM
updatedAtDec 1, 2025, 1:45 PM
githubUrlhttps://github.com/neomjs/neo/issues/7965
authortobiu
commentsCount1
parentIssue7961
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 1, 2025, 1:45 PM

Implement Event Queue and Agent Loop

Closed v11.14.0 enhancementai
tobiu
tobiu commented on Dec 1, 2025, 1:12 PM

Goal: Implement the autonomous "Stimulus-Response" loop for the Agent. Scope:

  • Implement Neo.ai.agent.PriorityQueue.
    • Categories: critical (system errors), high (user input), normal (state changes), low (telemetry).
  • Implement Neo.ai.agent.Loop.
    • State Machine: Idle -> Processing -> Reflecting -> Idle.
    • Integration: Connect ContextAssembler and Provider to the loop.
    • Action Dispatch: Parse LLM response (Tool calls vs. RPC vs. Reply) and execute. Context: Part of Epic #7961.
tobiu added the enhancement label on Dec 1, 2025, 1:12 PM
tobiu added the ai label on Dec 1, 2025, 1:12 PM
tobiu added parent issue #7961 on Dec 1, 2025, 1:12 PM
tobiu assigned to @tobiu on Dec 1, 2025, 1:39 PM
tobiu referenced in commit 5c2e839 - "Implement Event Queue and Agent Loop #7965" on Dec 1, 2025, 1:45 PM
tobiu
tobiu Dec 1, 2025, 1:45 PM

Input from Gemini 2.5:

✦ Implemented Neo.ai.agent.Scheduler (Priority Queue) and Neo.ai.agent.Loop (Cognitive Runtime).

  • Wired up ContextAssembler and Provider to the Loop.
  • Validated end-to-end stimulus-response cycle with Gemini.
  • Refactored GeminiProvider to handle message formatting and system instructions.
tobiu closed this issue on Dec 1, 2025, 1:45 PM