Repository navigation
Added
- Adapters for LlamaIndex, CrewAI, Pydantic AI, DSPy, Haystack, AutoGen and Semantic Kernel turn
a run of each framework into a trace (tool calls, tokens), next to the adapters for LangChain,
ADK, the Claude Agent SDK and the OpenAI Agents SDK. They read each framework's objects
without importing it. They were written from each SDK's source and tested with fake objects of
those shapes, not yet against real runs, and are experimental: they warn when used. See
Agent SDK adapters. - The
evalproofnpm package is now a helper library for a JavaScript or TypeScript system as
well as thenpxlauncher.runCommand(handler)runs acommand:target: it reads the case
from stdin, awaits the handler (which returns a string or{output, retrieved, trace, tokens_in, tokens_out, cost_usd}) and prints the result as JSON, withconsole.logsent to
stderr.serve(handler, {port, host, path})serves thehttp://target protocol with
node:http, on127.0.0.1by default.fromVercelAI(result)andfromLangChain(messages)
build a trace (tool calls, tokens) from an AI SDKgenerateTextresult or a LangChain.js
agent's messages. It ships TypeScript types, works from ESM and CommonJS, has no dependencies
and needs Node 18 or newer. evalproof init --nodewritesevals/system.mjs, a program that importsrunCommand, and a
suite whose target iscommand:node system.mjs. With--ci api-keyon GitHub the workflow
sets up Node and runsnpm ci. It cannot be combined with--agent-files-only, and it is
refused with--platform gitlaborbitbucketand--ci api-key, whose job image has no Node.evalproof scanfinds Vercel AI SDK tools and agents and LangChain.js tools and agents in
TypeScript and JavaScript files, and follows a suite whose target is anode,tsx
(ornpx tsx),bunordenocommand through the relative imports of its script. TypeScript
code now takes part in theuncovered_codeandtool_uncheckedgaps. An import it cannot
follow (an unresolved relative path, a path alias, a workspace package, a module loaded by a
computed name) or a script it cannot find leaves reachability unknown anduncovered_codenot
computed. Test files and files that only import an SDK are not reported as untested code.- A guide, Testing a TypeScript or JavaScript system.
The helper library, init --node and the scan of TypeScript tools and agents are experimental:
they can change in a minor release. The converters print one line to stderr the first time they
are called.
Changed
scanreads a multi-lineimport { ... } from "..."and skips comments in TypeScript and
JavaScript files, and no longer reports "imports X; no call found" for a LangChain.js file that
defines tools.evalproof draftreads only Python files for a function's signature and
docstring.
Full changelog: v1.3.0...v1.4.0