LearnNewsExamplesServices
Frontmatter
id7968
titleIntegrate Cognitive Loop into Agent Class
stateClosed
labels
enhancementai
assigneestobiu
createdAtDec 1, 2025, 4:40 PM
updatedAtDec 1, 2025, 4:57 PM
githubUrlhttps://github.com/neomjs/neo/issues/7968
authortobiu
commentsCount2
parentIssue7961
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtDec 1, 2025, 4:53 PM

Integrate Cognitive Loop into Agent Class

tobiu
tobiu commented on Dec 1, 2025, 4:40 PM

Goal: Integrate the Agent Cognitive Runtime (Loop) with the main Neo.ai.Agent class. Scope:

  • Update Neo.ai.Agent to instantiate Loop, Scheduler, Assembler, and Provider.
  • Add agent.start() and agent.stop() methods that delegate to the Loop.
  • Expose agent.schedule(event) to allow external systems (like WebSocket) to feed the loop. Context: Part of Epic #7961.
tobiu
tobiu Dec 1, 2025, 4:53 PM
Image
tobiu
tobiu Dec 1, 2025, 4:53 PM

Input from Gemini 2.5:

✦ Integrated Cognitive Runtime into Neo.ai.Agent.

  • Agent now instantiates Loop, Scheduler, ContextAssembler, and GeminiProvider.
  • Preserved legacy MCP Client functionality.
  • Added schedule(event), start(), and stop() methods.
  • Validated end-to-end flow with ai/examples/test-agent.mjs.