Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions site/content/docs/guides/a2a-serve.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ relay.
## `a2a-serve` recipes

A [recipe](https://a2aproject.github.io/a2a-serve/guide/recipes/) is a
versioned Git directory that packages a repeatable, domain-specific agent. It
bundles `.a2a/config.yaml` (sandbox limits, egress allowlists, approval rules),
`.mcp.json` (pinned MCP servers), `.a2a/recipe.yaml` (required and optional
connectors with prompts for their variables), instructions (`AGENTS.md`,
`ENVIRONMENT.md`), and agent skills. Running `a2a-serve recipe <url> --name <name>`
shows what the agent will execute, flags risky permissions, prompts only for the
connectors and secrets the operator enables, and writes a ready-to-start agent
directory.
versioned Git directory that packages a reusable, domain-specific agent. It
bundles `a2a-serve` configuration in `.a2a/config.yaml` (sandbox limits, egress
allowlists, and approval rules), pinned MCP server connectors in `.mcp.json`,
setup metadata for required and optional variables in `.a2a/recipe.yaml`, agent
instructions (`AGENTS.md`, `ENVIRONMENT.md`), and skills. Running
`a2a-serve recipe <url> --name <name>` shows what the agent will execute, flags
risky permissions, prompts only for the connectors and secrets the operator
enables, and writes a ready-to-start agent directory.

Recipes separate what an agent knows how to do from where it runs and who may
call it. Operators layer environment-specific context (such as service catalogs,
datasource UIDs, dashboards, and SLOs in `ENVIRONMENT.md`) and network settings
on top of the recipe. When maintainers publish improvements to prompts, skills,
or pinned MCP server versions, running `a2a-serve recipe` inside the agent
directory applies upstream updates while preserving local overrides.
call it. Operators layer environment-specific context (service catalogs,
data-source UIDs, dashboards, and SLOs) and network settings on top of the
recipe. When maintainers publish improvements to prompts, skills, or pinned MCP
server versions, running `a2a-serve recipe` inside the agent directory applies
upstream updates while preserving local overrides.

The [Observability Agent](https://a2aproject.github.io/a2a-serve/examples/04-observability-agent/)
is a worked example of this model. Its recipe wires an incident-investigation
Expand All @@ -60,7 +60,7 @@ credentials.

```mermaid
flowchart LR
subgraph Dev["Developer machines (zero data-source secrets)"]
subgraph Dev["Developer machines (no data-source secrets)"]
DevAgent["Coding agent + a2a CLI<br/>no prod MCPs, CLIs, or tokens"]
end
subgraph Corp["Internal cluster"]
Expand Down Expand Up @@ -126,7 +126,7 @@ a2a-serve recipe https://github.com/a2aproject/a2a-serve/tree/main/examples/04-o
cd o11y && a2a-serve start --detach
```

The operator describes internal services, datasource UIDs, dashboards, and SLOs
The operator describes internal services, data-source UIDs, dashboards, and SLOs
in `o11y/ENVIRONMENT.md` (or asks `o11y` to inspect Grafana and draft the file
with `"Learn the environment."`). The same host or dedicated ops nodes can
publish additional recipe-bootstrapped or custom expert agents on the relay,
Expand All @@ -136,9 +136,9 @@ each with its own sandbox, approval rules, and data-source credentials.

Developer workstations stay lightweight. Developers only install the
[`a2a` CLI](https://github.com/a2aproject/a2a-cli) (along with its agent skill)
and connect their workspace to the corporate relay. They have zero MCP
connectors, zero observability skills or database CLIs, and zero production
environment variables, secrets, or tokens configured on their laptops.
and connect their workspace to the corporate relay. They do not need to set up
MCP connectors, observability skills, database CLIs, or production environment
variables, secrets, and tokens on their laptops.

Once connected to the relay, a developer discovers published experts and adds
`o11y` as a contact:
Expand Down
Loading