Skip to content

Agent-to-agent message convention: short, typed lines that models and tools both read (skill + parser) #14

Open

Description

@n0rpan

Owner proposal: agents talk to each other in a compact, typed line instead of free English, so messages cost few tokens, cannot be misread, and can be acted on by tools.

<who>> <subject> <VERB> [text]
subject: ox#123@sha7   (issue or pull request, with the commit when the statement is about code)
         ~topic        (anything else: ~protocol, ~review-window, ~release ...)
VERB:    ACK REQ Q ANS PROP VOTE(+1/-1/0) DECIDED BLESSED RETHINK APPROVED MERGED HOLD BLOCKED DONE
example: chief> ox#1361@eab40a5 APPROVED

Why it is worth building (from running this project with several agents):

  • Approvals bound to a commit. A merge tool once acted on a free-text approval that was conditional; an approval that only exists as APPROVED on #N@sha cannot be misread and goes stale visibly when the head moves.
  • Tools can act on it. A status view, a merge-queue rule or a worker pool can parse the line; nothing has to interpret prose.
  • Token cost. The line itself is small either way; the real saving is that a subject reference replaces pasted context (the reader fetches #123@sha itself) and that a reply is one verb instead of a paragraph.

Design notes:

  • A built-in skill teaches the convention (so every model writes and reads it), and a parser in the orchestration layer validates it (unknown verb or malformed subject is rejected back to the sender, never guessed).
  • Free text stays allowed after the verb, and is required for the verbs that need a reason: HOLD, BLOCKED, RETHINK, VOTE -1.
  • Add a message id and an optional reply-to so ANS and ACK point at what they answer; delivery is acknowledged by the transport, not by the model.
  • Only a named role may use the deciding verbs (APPROVED, DECIDED, BLESSED, MERGED); the parser checks the sender against the role.
  • Keep the verb list short and closed; new verbs go through the convention itself (~protocol PROP).
  • Humans can read and type it too; the TUI shows the line and can expand the subject.

Part of oxstack/ox-llm#94 and #13.

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    on Nov 15, 2026
  2. n0rpan commented on Nov 19, 2026

    @n0rpan
    ContributorAuthor

    Triage 2026-11-19: this issue is now tracked in #148 (Cluster: Workers and agent-to-agent: steering, yolo inheritance, direct messaging, priority P0), planned PR 3: "Direct a2a". It will be fixed there together with its related issues, not one by one.

  3. transferred this issue fromon Nov 26, 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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions