Skip to content

Sub-agent orchestration #709

@bug-ops

Description

@bug-ops

Overview

Implement sub-agent orchestration for Zeph, enabling the main agent to delegate tasks to specialized child agents running in isolated contexts with controlled permissions. Sub-agents communicate with the main agent via A2A protocol semantics.

Security model: Zero-Trust — every sub-agent starts with zero permissions. All grants (secrets, tools) require explicit user approval, are TTL-bounded, and auto-revoked on expiry or sub-agent termination. Secrets never persist to disk or message history.

Architecture document: .local/plan/sub-agent-orchestration.md

Design Principles

  1. Zero-trust: every sub-agent is untrusted by default
  2. Least privilege: grant only minimum required for the specific task
  3. Time-bounded access: all grants have TTL, auto-revoked on expiry
  4. No nesting: sub-agents cannot spawn sub-agents
  5. Main agent is the single user-facing interface
  6. A2A protocol for all orchestrator↔sub-agent communication

Phases

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    a2aA2A protocol integrationarchitectureArchitecture improvementsenhancementNew feature or requestepicMilestone-level tracking issuesub-agentsSub-agent orchestration

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions