Evaluation Context Protocol
Vendor-neutral JSON-RPC protocol for portable AI agent evaluations.
Working when we checked on .
Visit Evaluation Context Protocol
What is Evaluation Context Protocol?
ECP (Evaluation Context Protocol) is a vendor-neutral, open protocol for evaluating AI agents — checking final outputs, tool calls, and evaluator-visible audit context across frameworks, models, and eval platforms. It targets developers building agents in Python, LangChain, LlamaIndex, CrewAI, or PydanticAI who need one evaluation contract. The JSON-RPC 2.0 protocol (agent/initialize, agent/step, agent/reset) runs over stdio or Streamable HTTP, and `ecp run` exits non-zero on failure so regressions break CI builds. Version 0.10.0 ships with an installable Python runtime and SDK.
Evaluation Context Protocol pricing
Pricing model: Free
Evaluation Context Protocol pros
- Vendor-neutral protocol independent of framework, model, or eval platform
- Checks tool calls and audit evidence, not just final answers
- Fails CI builds: ecp run exits non-zero on regression
- Works with LangChain, LlamaIndex, CrewAI, PydanticAI, and plain Python
- JSON-RPC 2.0 over stdio or Streamable HTTP, implementable in any language
- Open-source with a public GitHub repository and spec
Evaluation Context Protocol cons
- Still at version 0.10.0, indicating pre-1.0 immaturity
- Primary tooling is Python-only (pip-installed runtime and SDK)
- No pricing or commercial support information shown
- Requires wrapping existing agents to comply with the evaluation contract
Frequently asked questions about Evaluation Context Protocol
What is the Evaluation Context Protocol (ECP)?
ECP is a vendor-neutral JSON-RPC 2.0 protocol for testing AI agent outputs, tool calls, and evaluator-visible audit context across frameworks, models, eval platforms, and CI systems. Its tagline: 'MCP is for tools. ECP is for evals.'
How is ECP different from MCP?
MCP gives agents a common way to use tools; ECP gives evaluators a common way to inspect what an agent returned, which tools it used, and what audit evidence it exposed — independent of the agent framework or testing platform.
What does an ECP evaluation check?
ECP checks three things beyond the final answer: public_output (did the user-visible answer satisfy the task), tool_calls (did the agent call the right tool with the right arguments), and evaluation_context (did it expose evaluator-safe audit evidence).
Which agent frameworks does ECP work with?
ECP is framework neutral. Agents built with plain Python, LangChain, LlamaIndex, CrewAI, or PydanticAI can be wrapped behind one evaluation contract.
How do I run an ECP evaluation?
Install the runtime and SDK with pip (ecp-runtime and ecp-sdk, version 0.10.0), run ecp init to create a starter manifest, then run ecp run with the manifest YAML. Example run: 3 scenarios and 7 graders.
Can ECP run in CI pipelines?
Yes. You can run evals locally or wire ecp run into CI. It exits non-zero on failure, so a regression breaks the build.
What transport and protocol does ECP use?
ECP is based on JSON-RPC 2.0 with methods agent/initialize, agent/step, and agent/reset, working over stdio or Streamable HTTP. It can be implemented in any language.
Is ECP free and open source?
Yes. The sources show no paid plans; the protocol has a public spec, docs, and a GitHub repository at github.com/evaluation-context-protocol/ecp, and the runtime/SDK install via pip.
Who is ECP for?
Developers and teams building AI agents who need consistent, portable evaluations across frameworks, models, eval platforms, and CI systems, including users of LangChain, LlamaIndex, CrewAI, and PydanticAI.
How do I get started with ECP?
Follow the Quickstart to install the runtime, initialize a starter manifest with ecp init, and run a first eval in five commands; the full spec and introduction docs are available on the site.