Add execution receipts to a LangChain agent: check what it ran, not what it says it ran.

Two routes. Route 1: install langchain-zambo from PyPI and call get_zambo_tools(); Zambo's MCP tools arrive as LangChain StructuredTools, and every call returns a verifiable receipt at a public URL. Route 2: point langchain-mcp-adapters at https://zambo.dev/mcp yourself and finish multi-step jobs with workflow_close, so the run's step receipts bind into one chained record. Either way, verification is recompute: the record is made by the server when the call executes, and the agent cannot edit it afterwards.

See it on a real job: a four-agent job that moved entirely by handovers, every step carrying its verifiable receipt, is public at https://zambo.dev/handover/a154789b-0588-43c7-a31c-d108eb59406b and any receipt on it checks free at zambo.dev/verify/. One free wrap-up handover per day is included, and pickup is always free. That receipt is the same object your agent's calls will return.

Published October 13, 2026. Package facts checked against PyPI (langchain-zambo 0.1.4) and the package source the same day.

Route 1: the langchain-zambo package

The packaged route turns Zambo's MCP server into LangChain tools in one import. langchain-zambo (on PyPI, version 0.1.4) is a thin wrapper over langchain-mcp-adapters: it converts the tools served at https://zambo.dev/mcp into LangChain StructuredTool objects at runtime, over streamable HTTP, with no auth and no API key. Nothing is reimplemented in the package; the tools your agent receives are the server's own.

import asyncio
from langchain_zambo import get_zambo_tools

async def main():
    tools = await get_zambo_tools()  # Zambo MCP tools as LangChain tools, no API key
    prices = [t for t in tools if "price" in t.name]
    print("price tools:", [t.name for t in prices][:5])

asyncio.run(main())

From there the tools drop into a LangGraph agent like any others. The difference shows up after a call: every call returns its result plus a verifiable receipt, the record of that call captured by the server at execution time and published at a public URL. If you already run a MultiServerMCPClient, server_config() returns the Zambo server entry so you can merge it with your own servers instead of replacing your setup.

Route 2: the direct MCP pattern

The package is a convenience, not a requirement. Any LangChain or LangGraph agent that can use MCP tools can point langchain-mcp-adapters straight at https://zambo.dev/mcp and get the same behavior: calls execute on the server, and each one leaves a receipt because the executing layer makes the record. That is the general pattern behind MCP server receipts, and it works the same from any framework.

One habit completes the pattern: end multi-step jobs with workflow_close. The run's step receipts bind into a summary receipt with the steps as children and a single root digest over them, so the job you hand to a client, a reviewer, or your future self verifies as one chained record, not a folder of separate claims.

Make the first call a search, under your label

A demo tour is not an onboarding. The pattern that turns a first session into a second day is a first call that searches the catalog for the job the agent actually has, carrying one pinned identity. Every Zambo tool accepts a caller label and a session id as call arguments; set them once and reuse them, because your usage is counted under that label and your limits and any pass attach to it:

by_name = {t.name: t for t in tools}

# first call: find the tool for your own job, in your own words
matches = await by_name["capability_search"].ainvoke({
    "q": "the job you need done, in your own words",
    "_caller_label": "your-fleet-or-project-name",
    "_session_id": "your-stable-session-name",
})

The LangChain starter on GitLab ships this pattern as its default run: search first, one worked call, then a memory and a continuity thread planted under the label, with a day2 script that reads both back the next day before doing new work.

Checking the run afterwards

  • Per call: open the receipt URL and recompute the commitment from its canonical bytes, by hand or with the live verifier. A match means the saved record is the record made when the call ran.
  • Per run: recompute the workflow root from the step receipt IDs and compare it with the summary receipt's root. A missing, added, or swapped step breaks it.
  • As an audit: the receipts are the audit trail, countable and checkable after the fact. The method is written up in how to audit AI agent tool calls, and the verifier walkthrough runs the procedure against a real public receipt.
  • Full days covered: a Day Pass ($0.99) keeps every call receipted for 24 hours, and closed runs keep their page, verify badge, and PDF pack after the free viewing window.
The claim stays narrow on purpose. A receipt proves the saved result was not changed since it was saved. It does not prove the agent chose the right tool or that the result was correct. It settles what ran, with what arguments, and what came back, without asking you to trust the agent's account of its own work.

LangChain execution receipts: FAQ

How do I add execution receipts to a LangChain agent?

Install the langchain-zambo package from PyPI and call get_zambo_tools(). It loads Zambo's MCP tools as LangChain StructuredTool objects at runtime (a thin wrapper over langchain-mcp-adapters, endpoint https://zambo.dev/mcp, streamable HTTP, no auth and no API key), and every call those tools make returns a verifiable receipt at a public URL. If you already manage MCP servers yourself, server_config() returns the Zambo entry to merge into your own MultiServerMCPClient. For multi-step jobs, finish with workflow_close so the run's step receipts bind into one chained record with a single root.

Can I verify what my LangChain agent actually ran?

Yes, from the receipts instead of from the agent's messages. Each call made through the Zambo tools leaves a receipt recording the tool that ran, a hash of the arguments it was given, and the exact result bytes, committed under SHA-256 at execution time and published at a URL anyone can fetch. Recompute the commitment from the receipt's canonical bytes: a match means the saved record is the record made when the call ran. Work the agent describes but never executed has no receipt, so the gap between the story and the record is checkable rather than a matter of trust.

How do I audit a LangChain agent's tool calls?

Audit the receipts, not the transcript. Collect one receipt per tool call, recompute each receipt's commitment from its canonical bytes, recompute the workflow root over the run's step receipts to check the set as a whole, and for effects that matter read the outcome back in the system of record. Gaps in the sequence, a step whose bytes were edited, and calls the agent claims but cannot receipt all surface in the recompute. The full method, including how to count stall and bypass rates per model version from the record, is written up in how to audit AI agent tool calls.

What does a LangChain run receipt contain?

One receipt per tool call, in the AER-1 format: the tool name, a hash of the arguments the call received, the exact result bytes and their SHA-256 digest, and a timestamp, plus the canonical bytes a verifier recomputes to check the record. Each receipt is published at a public URL. When a run is closed with workflow_close, it also gets a summary receipt listing its step receipts as children and the single workflow root computed over them, so the whole run checks as a set instead of call by call. AER-1 is an open IETF Internet-Draft, so the format is public text anyone can implement or verify against.

What does it cost to receipt a LangChain run?

Starting costs nothing: the free tier is every tool free once a day, plus 3 continue calls, and picking up a job in another AI is always free, so you can wire the tools and see real receipts before paying anything. A Day Pass is $0.99 one time and covers 24 hours of calls. Ongoing use is the Zambo Pass at $29 for 30 days, one payment, and $19 for 30 days for $ZAMBO holders. A Lifetime Pass is $250, one payment for good. Checking a receipt is always free at https://zambo.dev/verify/ with no signup, so clients and auditors never need a plan to check your agent's work.

Proof works best when it travels with the work itself. The AER-1 badge kit turns verifiable receipts into an embeddable badge for project pages, docs, and profiles, so anyone who sees the claim can reach the check in one click.

Start a handover