
Evalview Mcp
io.github.hidai25由 GitHub 帳號 hidai25 發布v0.6.0更新於 Oct 24, 2026
Regression testing for AI agents. Golden baselines, CI/CD, LangGraph, CrewAI, OpenAI, Claude.
概覽
把 AI 代理的工具呼叫軌跡記錄為基準快照,並在變更後標示行為漂移,以進行代理回歸測試。
- 可以做什麼
- EvalView 會把代理的行為——呼叫了哪些工具、參數是什麼、順序如何——記錄成黃金基準,再把後續執行與基準做差異比對。檢查結果會給出 PASSED、TOOLS_CHANGED 或 REGRESSION,也可選用 LLM 評審為輸出品質評分。它還支援多輪測試、pass@k 執行、錄製/回放卡帶、模型漂移金絲雀、搭配 Slack 告警的監控,並可在 CI 中使用或當作 Python 函式庫呼叫。
- 適用情境
- 當代理的行為需要在模型更新、供應商更換或提示詞修改後保持穩定,而你希望用合併時的迴歸閘門取代手寫斷言時,適合使用。也適合已在使用可觀測性或指標評分工具、需要在拉取請求中加入通過/失敗檢查的團隊。
- 執行需求
- 需要本機 Python 環境;從 PyPI 安裝 evalview 套件並透過 stdio 執行。OpenAI API 金鑰(OPENAI_API_KEY)是選用的,只在需要 LLM 評審輸出品質評分時使用;確定性的工具與序列差異比對可離線執行。執行受測代理本身可能產生其後端 API 費用。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Evalview Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[EvalView]
Snapshot testing for AI agents.
Record what your agent does today. Get told when it silently changes.
[PyPI version] [PyPI downloads] [Package CI] [Core Dogfood] [Live Provider Checks (manual)] [GitHub stars] [License]
Your agent returns 200 and looks fine. But a model update, a provider change, or a one-line prompt edit just made it skip a clarification, call the wrong tool, or quietly drop output quality. Your tests still pass. Your users notice before you do.
EvalView snapshots your agent's behavior — the tools it calls, in what order, with what output — and tells you the moment that behavior changes. Like Jest snapshots, but for tool-calling, multi-turn agents.
↑ 30-second live demo — no API key needed
Quick Start
OpenAI adapter migration: OpenAI shut down the Assistants API on August 26, 2026. The latest published EvalView release, 0.8.1, still uses that API; the Responses API migration is currently unreleased source. If you use
openai-assistants, follow the migration guide before running your tests. Anassistant_idalone cannot preserve your agent's configuration. Other adapters are unaffected.
That's the whole loop. check returns one of:
It diffs the whole trajectory — tool names, parameters, and order — not just the final string. The deterministic tool + sequence diff runs offline, with no API key. Add an LLM judge only when you want output-quality scoring.
Executing your agent can still incur backend API charges: --no-judge skips the
judge, not those calls. Embedding-based semantic comparison is opt-in.
No agent yet? See it work in 30 seconds:
Why snapshot testing (and not assertions)?
Most eval tools ask you to write down what "good" looks like — assertions, metrics, rubrics. That's a lot of upfront work, and you can only catch the failures you thought to assert.
EvalView inverts it: it records what your agent actually does now, and flags any drift from that. You catch regressions you never anticipated, with zero assertions written. When the new behavior is correct, evalview snapshot accepts it as the new baseline — same as updating a snapshot in Jest.
This makes EvalView a merge-time regression gate, which is a different job from observability (Langfuse, LangSmith) or metric scoring (promptfoo, DeepEval, Braintrust). Many teams run one of those for visibility and EvalView as the gate. Honest comparisons →
EvalView tests itself in public, every day
Every day at 09:00 UTC, on pull requests, and on pushes to main,
Core Dogfood exercises the non-live test suite,
type checks, local mock-agent snapshot / check, evalview demo, end-to-end
flows, and an evalview monitor smoke test. It uses no paid API credentials and
makes no paid inference calls. GitHub runner usage is separate.
Live Provider Checks test the real evaluator and chat assistant only when a maintainer explicitly opts into paid API use on main. They have no automatic schedule. Their badge records the last manual run; a green core badge does not establish live-provider health or rule out provider drift.
Package CI, core dogfood, and live checks have separate badges. Failed or incomplete
checks remain visible within their scope, with logs and reports preserved as
artifacts. Rolling issues use separate dogfood-core and dogfood-live labels.
A provider outage, exhausted quota, or missing credential means live health is
unavailable; it does not prove an agent regression.
The historical incident #264 remains available for maintainer review of fresh evidence from both scopes. Neither workflow automatically closes it. Trust warnings are evidence to investigate, not proof of gaming or of a particular root cause.
Core runs → · Manual live runs → · Run and triage guide →
CI: block regressions in every PR
You get a PR comment with the diff, cost/latency deltas, and a pass/fail gate. CI/CD guide →
Works with your stack
LangGraph · CrewAI · OpenAI · Claude · Mistral · Ollama · MCP · any HTTP API.
Use it as a library
More
EvalView also does multi-turn testing, statistical/pass@k runs, record/replay cassettes, model-drift canaries, production monitoring with Slack alerts, and auto-generated regression tests from incidents. These are power-user features — start with snapshot and check, reach for the rest when you need them.
→ Full feature reference · Getting Started · FAQ
→ Documentation index · OpenAI migration · Release process
Why I built EvalView
An agent that looked successful kept pulling entire documents into its context and made one question cost $42.93. That experience led me to build EvalView. I wrote about it in “I Was Running an AI Casino. Then I Started Writing Tests for My Agents”. The December 2025 post is the origin story; use the current docs for setup and commands.
Contributing
This is a young project built mostly by one developer. Issues, PRs, and "I tried it and X was confusing" feedback are all genuinely valuable.
License: Apache 2.0
來源:README.md,提交 394f7d7
工具
0版本歷史
1- v0.6.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分