CAP-052: Team-as-Chip Framework

Structured Data

Capability Metadata

FieldValue
IDCAP-052
Versionv1.13
DomainAgent Orchestration
StatusDocumented
RelatedCAP-009, CAP-011, CAP-027, CAP-053
Sourcesrc/teams/chipset-framework.ts
Architecture4-chip (Agnus / Denise / Paula / Gary)

Configuration Reference

Chipset YAML structure:

chipset:
  name: "gsd-skill-creator"
  chips:
    agnus:
      role: "memory-coordinator"
      ports: ["shared-memory", "dma-control"]
    denise:
      role: "display-engine"
      ports: ["dashboard-output", "status-render"]
    paula:
      role: "io-manager"
      ports: ["file-io", "rest-client", "mcp-tools"]
    gary:
      role: "glue-logic"
      ports: ["arbitration", "clock", "conflict-resolve"]

Technical Specifications

Architecture: 4 specialized chip types

Message bus: FIFO message ports per chip

Signal encoding: 32-bit signal mask

ICD: Chip-to-chip inter-chip data protocol

{
  "signal_format": {
    "bits": 32,
    "source_chip": "4-bit field [31:28]",
    "target_chip": "4-bit field [27:24]",
    "message_type": "8-bit field [23:16]",
    "payload_ref": "16-bit field [15:0]"
  }
}

Overview

The Team-as-Chip framework models agent teams as a specialized processor chipset, providing a principled architecture for multi-agent coordination. Rather than treating agents as interchangeable workers assigned tasks by a generic orchestrator, the framework assigns each agent a permanent architectural role analogous to a dedicated chip in a custom hardware design — with fixed responsibilities, defined message ports, and a chip-to-chip communication protocol.

The v1.13 release introduced four defined chip roles: Agnus coordinates shared memory and cross-chip data flows; Denise manages all output rendering and dashboard updates; Paula handles all external I/O including file reads, REST calls, and MCP tool invocations; and Gary arbitrates chip access, resolves conflicts, and owns the chipset clock. These four chips together provide a complete division of responsibility for the agent team's work.

Communication between chips uses FIFO message ports and 32-bit signal encoding, ensuring ordered delivery and preventing message interleaving. The 32-bit signal format encodes source chip, target chip, message type, and a payload reference in a single fixed-width value — enabling efficient routing without heap allocation per message.

History

The Amiga Agnus/Denise/Paula/Gary naming was a deliberate homage. The Commodore Amiga's chipset was renowned in the 1980s and 1990s for dividing responsibilities cleanly between specialized co-processors — Agnus handled DMA and memory arbitration, Denise managed display output, Paula controlled audio and I/O, and Gary provided glue logic. This division allowed each chip to be independently optimized and combined to produce capabilities far exceeding what a single general-purpose chip could achieve.

The mapping to agent coordination is natural. Multi-agent systems that use generic "worker" roles suffer from role collision — multiple agents attempting I/O simultaneously, or output generation competing with state management. The chipset model makes role boundaries explicit and architectural, rather than advisory. An agent that IS Paula does not need to be told to avoid non-I/O work; that boundary is encoded in its identity.

v1.13 was chosen for this release because it coincided with the introduction of the Exec Kernel (CAP-053) — the scheduler that runs on top of the chipset. The two capabilities were co-developed: the chipset provides the architecture, and the kernel provides the runtime. Neither is useful without the other.

Key Concepts

For Students & Teachers

Think of a kitchen brigade in a restaurant. The chef (Gary/glue) decides who does what and coordinates timing. The prep cook (Agnus/memory) has all the ingredients ready and manages what's in the shared workspace. The expediter (Denise/display) sends finished dishes out and communicates with the dining room. The line cook (Paula/I/O) interacts with external suppliers, takes in orders, and manages anything coming in or out.

Each role is specialized and non-overlapping. The prep cook doesn't send dishes to the dining room; the expediter doesn't take supplier deliveries. This specialization is what makes a kitchen brigade more efficient than four generalist cooks who might all try to do everything at once.

The 32-bit signal format is like a routing slip attached to every message. The first few "bits" identify who sent it, the next few say who should receive it, more bits describe what kind of message it is, and the remainder points to the actual content. This structured envelope means any chip can read the routing information without opening the message — fast, efficient routing without inspecting payloads.

Chipset Architecture: 4 Specialized Chips

Agnus — Memory/DMA Controller

Agnus coordinates cross-chip data flows and owns the shared memory model. In hardware terms, Agnus was the DMA controller — it arbitrated access to shared RAM so that Denise and Paula could both read without conflict. In the agent chipset, Agnus plays the same role: it manages shared state (session context, observation buffer, skill registry cache) and routes data between chips on request.

Responsibilities:

  • Owns the shared memory namespace (session state, observation buffer)
  • Arbitrates concurrent read requests from multiple chips
  • Controls DMA-style bulk transfers between chips (e.g., flushing observation buffer to Paula for file write)
  • Maintains memory consistency when multiple chips update shared state

Ports: shared-memory (read/write), dma-control (bulk transfer requests)

Denise — Display Engine

Denise handles all output rendering and dashboard updates. In the Amiga, Denise was the display chip — it took data from memory (via Agnus) and converted it to video output. In the agent chipset, Denise is responsible for every user-visible output: status updates, dashboard regeneration, progress reports, and formatted results.

Responsibilities:

  • Renders all user-facing output (status messages, progress bars, results)
  • Drives dashboard updates on state change events
  • Formats structured data for human-readable presentation
  • Owns the output buffer and controls flush timing

Ports: dashboard-output (write), status-render (write)

Paula — Audio/IO Manager

Paula manages external I/O — file reads, REST calls, MCP tool invocations, and any interaction with the outside world. In the Amiga, Paula controlled the audio DMA channels and the disk/serial I/O. In the agent chipset, Paula is the boundary between the chip system and external systems: nothing enters or leaves without passing through Paula.

Responsibilities:

  • All file system reads and writes
  • All REST API calls (WordPress publish, external services)
  • All MCP tool invocations
  • Queues and serializes outbound I/O to prevent concurrent conflicts

Ports: file-io, rest-client, mcp-tools

Gary — Glue Logic

Gary arbitrates chip access, resolves conflicts, and owns the chipset clock. In the Amiga, Gary was the "glue chip" — it held the chipset together, managing bus arbitration, chip selects, and clock distribution. In the agent chipset, Gary is the arbiter: when two chips request conflicting resources, Gary decides; when the clock ticks (scheduling quantum expires), Gary signals the transition.

Responsibilities:

  • Arbitrates resource contention between chips (who writes to shared state when both want to?)
  • Resolves signal conflicts (two chips sending to the same target simultaneously)
  • Owns the chipset clock — each clock tick is a scheduling quantum managed by the Exec Kernel
  • Enforces chip-to-chip ICD (inter-chip data protocol) compliance

Ports: arbitration, clock, conflict-resolve

Usage Examples

Example 1: Define a chipset team

# team-chipset.yaml
chipset:
  name: "docs-publishing-team"
  chips:
    agnus:
      role: "memory-coordinator"
      ports: ["shared-memory", "dma-control"]
      agent: state-manager
    denise:
      role: "display-engine"
      ports: ["dashboard-output", "status-render"]
      agent: output-renderer
    paula:
      role: "io-manager"
      ports: ["file-io", "rest-client", "mcp-tools"]
      agent: wp-publisher
    gary:
      role: "glue-logic"
      ports: ["arbitration", "clock", "conflict-resolve"]
      agent: coordinator

Example 2: Send a cross-chip signal

# Agnus signals Paula to write observation buffer to disk
signal = Signal(
    source=ChipId.AGNUS,
    target=ChipId.PAULA,
    message_type=MessageType.TASK_ASSIGN,
    payload_ref=observation_buffer_id
)
chipset.emit(signal)

# Paula acknowledges receipt
ack = Signal(
    source=ChipId.PAULA,
    target=ChipId.AGNUS,
    message_type=MessageType.SIGNAL_ACK,
    payload_ref=signal.payload_ref
)
chipset.emit(ack)

Example 3: Inspect chip port state

# Show current message queue depth for each chip's ports
skill-creator chipset status --team docs-publishing-team

# Output:
# Chip: agnus | Port: shared-memory | Queue: 0 | Status: IDLE
# Chip: agnus | Port: dma-control   | Queue: 1 | Status: PENDING
# Chip: denise | Port: dashboard-output | Queue: 3 | Status: FLUSHING
# Chip: paula  | Port: file-io      | Queue: 0 | Status: IDLE
# Chip: paula  | Port: rest-client  | Queue: 2 | Status: ACTIVE
# Chip: gary   | Port: arbitration  | Queue: 0 | Status: IDLE

Related Capabilities