Add on-chain certification to DeerFlow agents via XProofDeerFlowSkill.
Any content the agent passes to the skill — plain text or structured JSON — is certified with:
- WHO — your agent name
- WHAT — SHA-256 hash of the content
- WHEN — UTC timestamp
- WHY — your configured reason
pip install xprooffrom xproof import XProofClient
from xproof.integrations.deerflow import XProofDeerFlowSkill
client = XProofClient(api_key="pm_...") # get key at xproof.app
skill = XProofDeerFlowSkill(client=client, agent_name="research-agent")
# The agent calls the skill to certify its output
result = skill._run("Q3 revenue grew 15% YoY driven by AI product adoption.")
print(result) # JSON with proof_id, file_hash, transaction_hash, statusStructured JSON input with custom metadata:
import json
result = skill._run(json.dumps({
"content": "Market analysis: AI sector growing 40% annually",
"file_name": "market-analysis.json",
"author": "market-analyst",
"why": "Annual market review certification",
}))python main.pyNo API key required — the demo uses a mock xProof client.