Skip to content

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

  1. The client reads the public Agent Card.
  2. The client checks the agent registry entry for trust metadata.
  3. The user authenticates through the OIDC client configuration.
  4. The agent inspects the OpenAPI contract.
  5. The client sends an A2A message.
  6. The coordinator agent uses MCP tools.
  7. The agent retrieves context with the memory configuration.
  8. The runtime chooses models using the model routing policy.
  9. The application follows the workflow definition.
  10. The workflow is checked against evaluation scenarios.

Stack Mapping

LayerScenario responsibilityExample artifact
DiscoveryPublish agent identity, skills, endpoints, and auth requirementsagent-card.json
Discovery and TrustConfirm approved domain, trust level, protocol allowance, and review statusagent-registry.yaml
IdentityPreserve user identity and delegated scopesoidc-client.example.json
APIsExpose deterministic document and draft operationsopenapi.yaml
Agent ProtocolsDelegate work and expose toolsa2a-message-send.json, mcp-tools.json
MemoryRetrieve semantic and graph contextmemory.yaml
ModelsRoute reasoning, summarization, classification, and embeddingsmodel-routing.yaml
ApplicationsCompose the user-facing workflowapplication-workflow.yaml

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:

bash
npm run demo:run -- --show-trace

The trace is generated from audit-safe events and includes the stack layer, component, policy result, and safe artifact references for each observed step.

Page created by Dr. C. Klukas