EVE + LangChain

Compatibility: Experimental integration — structurally implemented but not included in the supported release-candidate adapter matrix.

The LangChain adapter routes tool calls made through LangChain's tool interface into EVE's governance composition root so CoreGuard makes a deterministic ALLOW / BLOCK / MODIFY decision before a tool executes. The adapter is structurally implemented, but LangChain was not installed during release-candidate validation, so it was not validated against a pinned live version and is marked UNTESTED / experimental. Only the generic adapter is SUPPORTED.

How governance works here

Each tool invocation is submitted to EVE before it runs. No LLM is in the decision path.

from eve_coreguard import EVE

eve = EVE()  # hosted endpoint

decision = eve.govern_tool_call(
    tool="search_orders",
    arguments={"query": "status:refunded", "limit": 50},
    context={
        "tenant_id": "tenant_demo",
        "principal_id": "chain_support",
        "session_id": "sess_9d31",
    },
)
# ALLOW -> execute; BLOCK -> do not call the tool; MODIFY -> use modified arguments.

eve-coreguard (0.2.2) is distributed privately during a pilot and is not on a public index. Entry point: from eve_coreguard import EVE.

Hardened alternative

This adapter is wrapper-enforced: a chain (or code) that invokes the underlying tool directly, bypassing the wrapped tool, is not intercepted. For a boundary a direct call cannot route around:

  • Put tools behind a restricted server-side tool registry so the chain reaches them only through the governed path.
  • Proxy tool execution through a sidecar so governance runs out-of-process.
  • Apply network enforcement so tool endpoints are only reachable via the governed path.
  • For MCP tools, route through the MCP gateway, which binds the approved request to the executed request (see mcp.md).

Readiness

  • This adapter: experimental (UNTESTED against a pinned live LangChain version; wrapper-enforced).
  • Generic Python adapter: SUPPORTED.
  • EVE SDK core: RELEASE CANDIDATE WITH EXCLUSIONS.

Limitations

  • Not validated against a pinned live framework version.
  • Wrapper-enforced: bypassable by a direct underlying-tool call. Hard enforcement requires a gateway/sidecar or restricted server-side tool registry.
  • Hosted mode requires a reachable endpoint; embedded governance is the EVE service.
  • Evidence verification proves authenticity and integrity, not decision correctness; independent verification needs the Ed25519 public key.
Part of the EVE AI Core control plane Deterministic AI Governance Control Plane → Policy decisions that return the same result for the same input every time, before execution.