Skip to content

feat(agent): orchestrate multiple independent tasks via separate sub-agents #4

Open

Description

@sanjeev23oct

Problem

Users want to give zap multiple independent tasks in one request and have each handled separately instead of serially in a single agent loop.

Goal

Add a batch orchestration flow where one parent run can fan out N independent tasks to N sub-agents.

Expected UX

  • zap orchestrate tasks.yaml
  • zap orchestrate --task \"fix auth tests\" --task \"update docs\" --task \"review diff\"
  • agent-side workflow that maps one task to one sub-agent automatically

Requirements

  • one sub-agent per task
  • parallel execution for independent tasks
  • explicit per-task context and optional file scope
  • parent summary when all tasks complete
  • safe handling of overlapping write scopes

Likely implementation areas

  • src/agent_core.rs
  • sub-agent spawning/tool orchestration
  • CLI/TUI entrypoints

Acceptance criteria

  • multiple tasks can be submitted in one run
  • each task executes independently
  • results are collected and summarized
  • overlapping file writes are detected or blocked
    EOF

Activity

  1. added
    enhancementNew feature or request
    roadmapPublic roadmap item
    agentAgent orchestration and execution
    on Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentAgent orchestration and executionenhancementNew feature or requestroadmapPublic roadmap item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions