Open-source project
a2aproject/a2a-inspector avatar
a2aproject/a2a-inspector

A2A Inspector for debugging Agent Cards and message exchanges

Validation Tools for A2A Agents

517 stars158 forksTypeScriptApache-2.0

At a glance

What is it?
A2A Inspector gives agent server developers a browser view of discovery and chat, with a console for the underlying protocol messages.
Who is it for?
Use A2A Inspector when a server team needs to examine discovery and a chat exchange interactively. For automated release validation, use assertions in a client test suite.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

Editorial analysis

Start with the Agent Card

A2A Inspector gives implementers a browser client for checking a server that speaks the Agent2Agent protocol. An Agent Card is the first artifact the interface retrieves after the developer enters the server URL. The README describes a basic validation pass on that card and a chat view for sending a message once the server is connected. This makes the inspector useful when a developer wants to find out whether a representative interaction can get through discovery and into the message exchange.

For example, a developer who changes how a staging server advertises a capability can open the card and see what the test client received. If discovery succeeds, the next experiment can be to send a prompt for a capability the card advertises. Recording the card separately from the reply helps identify which behavior changed. That distinction matters when the card is published by the deployment layer and the actual reply comes from the agent application.

Follow the exchange through FastAPI

The repository divides the application between a TypeScript interface and a Python FastAPI backend. The README assigns WebSocket handling and communication with the agent to the backend. The browser displays the results, so the location of that backend matters when choosing an agent URL. In the local setup the backend runs on the developer's machine. In the documented Docker setup the backend runs inside the container. A loopback address used as the destination can therefore refer to a different machine or network namespace from the one the developer expects.

The slide-out debug console is where the README says raw JSON-RPC 2.0 messages can be viewed. In a troubleshooting session, compare the message shown there with the one the server handler expected. A chat transcript shows the user-visible result, while the console exposes the protocol message that traveled between components. For a bug report, the card and the relevant exchange provide two separate pieces of evidence.

Build the container and make a first connection

Clone the upstream repository to get the Dockerfile and the frontend and backend sources. Run the following commands from the directory where the checkout should live.

bash
git clone https://github.com/a2aproject/a2a-inspector.git
cd a2a-inspector

From the repository root, use the documented Docker commands. The first builds the image, including the frontend assets. The second starts the container in the background and maps port 8080.

bash
docker build -t a2a-inspector .
docker run -d -p 8080:8080 a2a-inspector

Open the local inspector at [port 8080](http://127.0.0.1:8080) and enter the base URL of a test agent the container can reach. Look for its Agent Card before sending a chat message. Once there is an exchange, open the debug console to see the underlying messages. The README also describes a native workflow for editing the inspector itself. The frontend build can watch for changes while the Python server reloads in a separate process.

Check the checkout's Python requirement

The native setup instructions list Python, uv, Node.js and npm. The README gives Python 3.10 as a minimum, while the current root pyproject.toml declares Python 3.12 or newer. For this checkout the project metadata is the relevant constraint when resolving the workspace. The lockfile records the Python dependency resolution, and the frontend has its own npm installation step. Reviewing these inputs together matters when moving an existing development environment to a different revision.

The Dockerfile builds the TypeScript assets in a Node stage before packaging them with the server. That path is convenient for a disposable test client. Developers changing the UI have a reason to keep the native build available because it exposes the asset build and server reload as separate processes. The repository carries the Apache-2.0 license. The upstream [license file](https://github.com/a2aproject/a2a-inspector/blob/main/LICENSE) contains the terms that apply when redistributing a modified copy.

Decide which checks belong in a test suite

The inspector's card validation is described as basic. A successful interactive session demonstrates the paths exercised during that session. If a release depends on behavior across several requests or versions, a repeatable test can assert the expected card fields and response properties on every build. A small client written with the A2A SDK is an alternative for those checks. It takes additional code to define the assertions and test data, and the resulting checks can run without someone reading a live transcript.

The browser workflow fits exploratory diagnosis, particularly when the next question depends on the previous response. A developer can inspect discovery, send a single representative message and then decide which exchange should become an automated regression case. The [upstream README](https://github.com/a2aproject/a2a-inspector/blob/main/README.md) documents the interactive steps. The [project metadata](https://github.com/a2aproject/a2a-inspector/blob/main/pyproject.toml) specifies the Python requirement and SDK dependency.

Editorial conclusion

Use A2A Inspector when a server team needs to examine discovery and a chat exchange interactively. For automated release validation, use assertions in a client test suite. First verify that the inspector backend can reach the agent base URL and display its Agent Card.

Frequently asked questions

What does A2A Inspector display when an agent connects?

It fetches and displays the Agent Card and performs basic checks on that card.

Can A2A Inspector run in Docker?

The repository includes a Dockerfile, and the README documents building the image and mapping port 8080.

What Python version does A2A Inspector require for native setup?

The root pyproject.toml declares Python 3.12 or newer for the current checkout.

Official sources

  1. a2aproject/a2a-inspector on GitHub
  2. Issues
  3. License: Apache-2.0
  4. README
  5. Releases

Was this useful?