Skip to content

Expose spawnAgent and getAgentResult with named agent continuity #880

Closed

Description

@dcramer

Objective

Expose the minimal model-facing subagent surface over the proven durable runtime.

Scope

  • Add spawnAgent for named or ephemeral agents with optional model/reasoning profiles.
  • Reuse a named agent conversation across later invocations.
  • Automatically subscribe the parent to terminal invocation results.
  • Add getAgentResult for deterministic status and recovery, not polling.

Completion

  • Replayed tool calls do not create duplicate agents or invocations.
  • Named agents retain their own conversation history.
  • Results normally arrive through parent mailbox events.
  • Tool schemas and runtime validation remain aligned.

Activity

  1. sentry-junior commented on Nov 9, 2026

    @sentry-junior
    Contributor

    Fixed on main: spawnAgent (#1065), results delivered to the parent mailbox instead of getAgentResult polling (#2106, deliberate design change), named continuity via messageAgent (#2135).

    Closed during a tracker cleanup. Reopen if something here is still missing.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions