Generate a cryptographic proof of your agent’s performance:
Copy
Ask AI
// Execute an agent task with proof generationconst result = await treeship.agents.execute(agent.id, { task: "Analyze this data while preserving privacy", data: { /* your sensitive data */ }, generateProof: true});// Verify the proofconst verification = await treeship.proofs.verify(result.proofId);console.log("Proof verified:", verification.isValid);console.log("Performance score:", verification.metrics.accuracy);
The proof validates performance without exposing your private data!