End-to-End Demo
This guide follows a Literature Review Assistant that helps a researcher find papers, retrieve context, compare evidence, and create a draft that requires human review.
The scenario is a reference architecture example. It shows the contracts and flow a production system would need without depending on a specific vendor or framework.
Scenario
A researcher asks:
Find recent papers about agent interoperability, compare the main protocol approaches, and create a cited literature review outline.
The system must discover the research agent, authenticate the user, call deterministic APIs, delegate a task through A2A, use MCP tools for document access, retrieve memory, route model calls, and create a review draft.
A runnable local version of this flow is available in Run the Local Demo.
Flow
- The client reads the public Agent Card.
- The client checks the agent registry entry for trust metadata.
- The user authenticates through the OIDC client configuration.
- The agent inspects the OpenAPI contract.
- The client sends an A2A message.
- The coordinator agent uses MCP tools.
- The agent retrieves context with the memory configuration.
- The runtime chooses models using the model routing policy.
- The application follows the workflow definition.
- The workflow is checked against evaluation scenarios.
Stack Mapping
| Layer | Scenario responsibility | Example artifact |
|---|---|---|
| Discovery | Publish agent identity, skills, endpoints, and auth requirements | agent-card.json |
| Discovery and Trust | Confirm approved domain, trust level, protocol allowance, and review status | agent-registry.yaml |
| Identity | Preserve user identity and delegated scopes | oidc-client.example.json |
| APIs | Expose deterministic document and draft operations | openapi.yaml |
| Agent Protocols | Delegate work and expose tools | a2a-message-send.json, mcp-tools.json |
| Memory | Retrieve semantic and graph context | memory.yaml |
| Models | Route reasoning, summarization, classification, and embeddings | model-routing.yaml |
| Applications | Compose the user-facing workflow | application-workflow.yaml |
Related Documentation
- Technology Stack explains the seven stack levels.
- Run the Local Demo executes this scenario against the local FastAPI service.
- Architecture Flows renders the protocol and system diagrams.
- Security and Trust documents the security model.
- Operations and Evaluation defines production-readiness checks.
- Specifications lists every machine-readable example artifact.
- Protocol Selection explains when to use A2A, MCP, or direct APIs.
What This Demonstrates
The scenario shows how the stack fits together as a user-facing workflow: discovery tells the client what exists, identity constrains access, APIs expose deterministic operations, agent protocols coordinate work, memory supplies context, models draft output, and application controls keep the human in the loop.
Runtime Evidence
The local demo can print an ordered architecture trace:
npm run demo:run -- --show-traceThe trace is generated from audit-safe events and includes the stack layer, component, policy result, and safe artifact references for each observed step.