LearnNewsExamplesServices
Frontmatter
id9661
titlePhase 2: Autonomous Sub-Agent Delegation (Dream Mode)
stateClosed
labels
enhancementai
assigneestobiu
createdAtApr 3, 2026, 4:27 PM
updatedAtApr 3, 2026, 4:44 PM
githubUrlhttps://github.com/neomjs/neo/issues/9661
authortobiu
commentsCount0
parentIssue9638
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 3, 2026, 4:44 PM

Phase 2: Autonomous Sub-Agent Delegation (Dream Mode)

Closedenhancementai
tobiu
tobiu commented on Apr 3, 2026, 4:27 PM

Implement the core delegation architecture in Neo.mjs to support Swarm agent pooling and Max Tasks limits.

Scope

  1. Modify ai/Agent.mjs: Implement the native .delegate(profileName, task) method.
  2. Sub-Agent Pooling: Introduce an activeSubAgents map to keep agents alive for subsequent requests, preserving session context.
  3. Max Tasks Gate: Establish a Context Flush limit (maxLifespan: 50 turns) to recycle agents and manage token windows securely.
  4. Browser Profile: Create ai/agent/profile/Browser.mjs, equipping it with the Neural-Link & Chrome DevTools MCP server tools for autonomous visual telemetry.
tobiu added the enhancement label on Apr 3, 2026, 4:27 PM
tobiu added the ai label on Apr 3, 2026, 4:27 PM
tobiu added parent issue #9638 on Apr 3, 2026, 4:27 PM
tobiu assigned to @tobiu on Apr 3, 2026, 4:42 PM
tobiu referenced in commit 347c1b8 - "feat: Implement autonomous sub-agent orchestration and Browser profile (#9661)" on Apr 3, 2026, 4:43 PM
tobiu closed this issue on Apr 3, 2026, 4:44 PM