Skip to content

docs: introduction (concepts + vocabulary) + capability map#243

Draft
lezama wants to merge 3 commits into
mainfrom
docs/adopting-agents-api-in-existing-runtime
Draft

docs: introduction (concepts + vocabulary) + capability map#243
lezama wants to merge 3 commits into
mainfrom
docs/adopting-agents-api-in-existing-runtime

Conversation

@lezama
Copy link
Copy Markdown
Contributor

@lezama lezama commented May 29, 2026

Summary

Draft. Onboarding documentation for newcomers, addressing the feedback that the existing docs presuppose the project's nomenclature.

  • docs/introduction.md (the on-ramp) — plain-language breakdown of: the one-sentence version, the three cooperating layers (AI Client / Abilities API / Agents API), the core vocabulary the rest of the docs assume (agent, conversation loop, turn, turn runner, tool executor, mediation, transcript/session, principal, workspace, memory, compaction, iteration budget, approval, channel, workflow/routine), a walkthrough of how one turn flows, and what's the consumer's vs. the substrate's.
  • docs/capability-map.md — the reference table (capability → primitive → contract) the introduction points to once the terms are known.

Referenced from the top of README.md, docs/README.md, and readme.txt so new readers land on the introduction first.

Changes

  • docs/introduction.md — new concepts/vocabulary on-ramp.
  • docs/capability-map.md — capability → primitive reference.
  • README.md, readme.txt, docs/README.md — point newcomers at the introduction up top.

Docs-only; no source or test changes. Internals-free; all intra-doc and source links verified.

Not in this PR

A separate request — implementing PHPStan at max (object types, list<T> over type[]) — is a code/CI change and will land as its own PR.

lezama and others added 2 commits May 29, 2026 19:22
Adds docs/adopting-agents-api.md — a migration guide for teams that already
run a custom WordPress AI agent runtime and want to converge onto the shared
substrate. Covers:

- What stays the consumer's (UX, prompts, concrete tools, storage policy).
- A capability map: each capability a custom runtime commonly owns -> the
  Agents API primitive that can replace it, with adoption notes.
- An incremental, contract-test-gated adoption strategy (swap one primitive at
  a time behind a record/replay safety net, lowest-coupling first).
- How every default is overridable via filters.
- A "gaps and open questions" section to fill in collaboratively as real
  runtimes adopt the substrate.

Draft: the capability map is intentionally incomplete where contracts are still
firming up; the gaps section tracks what remains. Indexed from docs/README.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replaces the migration-strategy draft with a focused capability map: a
reference table from each capability an AI agent runtime needs to the Agents
API primitive that provides it, grouped by area (runtime/loop, tools,
transcripts, memory/context, identity/auth, approvals/consent, orchestration),
with the contract file and topic page for each. Adds an extension-points table
listing the override filters.

Pure reference — no migration-process narrative.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lezama lezama changed the title docs: draft adoption guide for existing AI runtimes docs: capability map reference May 30, 2026
Adds docs/introduction.md — a plain-language on-ramp for newcomers that breaks
down the core idea, the three cooperating layers (AI Client, Abilities API,
Agents API), the vocabulary the rest of the docs assume (agent, loop, turn,
turn runner, tool executor, mediation, transcript/session, principal,
workspace, memory, compaction, budget, approval, channel, workflow/routine),
and a walkthrough of how a single turn flows.

Addresses the feedback that the existing docs presuppose the nomenclature.
Referenced from the top of README.md, docs/README.md, and readme.txt so new
readers land on it first. The capability map stays as the reference the
introduction points to once the terms are known.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lezama lezama changed the title docs: capability map reference docs: introduction (concepts + vocabulary) + capability map May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant