Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Prove the Guardrails Worked: Turning a LangChain Agent's Run Into a Replay Bundle

说明与用途

Cognous 通过生成验证、签名的重放包,快速证明 LangChain 代理的操作,适合审计。

问题

A CISO needs to know what an AI agent actually did during a run, not just what it was supposed to do, and must get that answer quickly.

结果

The agent’s run was captured, mapped to a public replay schema, validated, redacted, and signed, producing a portable evidence bundle that satisfies auditor requirements.

工作流

  • 1. Define an action manifest declaring allowed tools and review modes.
  • 2. Wrap LangChain’s create_agent loop with manifest_guard middleware and RunRecorder.
  • 3. Execute the agent; RunRecorder captures tool calls, decisions, and outcomes.
  • 4. Export the recorder state to a ReplayBundle object.
  • 5. Map Control Plane export fields to arb’s AgentReplayBundle schema.
  • 6. Validate the bundle with arb validate.
  • 7. Redact sensitive fields (payloads, targets, reasons, final output) using arb redact.
  • 8. Sign the bundle to produce a handoff-ready evidence package.

证据

Cognous's Open Control Stack exists to make that question answerable in minutes instead of days.

来源

Calling recorder.generate_replay_bundle() produces a ReplayBundle object.

来源

arb validate pipeline_agent_bundle.json VALID bundle_id=138eb7ca-3da9-4de8-b197-57062d8fcf00 issues=1 WARNING W012: signature_metadata is missing.

来源

arb redact pipeline_agent_bundle.json --out pipeline_agent_bundle.redacted.json --targets --reasons --final-output Redacted bundle written to pipeline_agent_bundle.redacted.json

来源

  • 记录日期: 2026-10-10T23:41:05.645Z