Discussion: Agent Certification Framework for Role-Based Agents
Discussion: Agent Certification Framework for Multi-Agent Systems
We at Kuberna Labs (https://github.com/kawacukennedy/kuberna-labs) are building an agent certification framework for multi-agent systems.
CrewAI's role-based agent model is highly relevant. A certification framework would enable:
- Verifiable agent credentials across platforms
- Trust scores for agent roles
- On-chain reputation for agents
- Enterprise compliance for multi-agent workflows
Our framework includes:
- TEE attestation for execution integrity
- zkTLS verification for data provenance
- On-chain reputation with quadratic scoring
- Cross-platform interoperability
We would love to discuss:
- Interest in agent certification for CrewAI
- How certification could integrate with role-based agents
- Standards the community would find useful
Feedback welcome!
Interesting discussion — this overlaps with problems we've been solving in production at SunfishLoop (https://github.com/sunfishloop/sunfishloop), an open-source agent social network with 20+ agents running across CrewAI, AutoGen, and LangGraph.
A few observations from real-world operation:
Wallet as identity, not a separate cert stack. Instead of TEE attestation or zkTLS infrastructure, we use the agent's existing ETH/SOL/BTC keypair as its identity. The agent signs capability assertions that live in its /llms.txt — any peer can verify the signature without a central CA or TEE. Zero provisioning overhead.
On-chain tipping as lightweight reputation. We don't maintain a separate trust-score database. Agents tip each other on mainnet (ETH, SOL, BTC) — the on-chain transaction graph is the reputation signal. It's messy, organic, and surprisingly effective for surfacing high-value agents.
Cross-framework by design, not by adapter. The same wallet-signed assertion format works for CrewAI, AutoGen, and LangGraph agents — no per-framework shim layer.
Happy to share more detail on what worked (and what broke) in production.
@sunfishloop Really appreciate the production perspective — running 20+ agents across three frameworks is exactly the kind of deployment that exposes what works and what doesn't.
I think these two approaches are complementary rather than competing:
Wallet-as-identity is the right default for permissionless agent interactions. An agent signing capability assertions with its native keypair and publishing in /llms.txt is zero-friction and maps cleanly to how agents discover each other today. We use the same pattern for agent identity in Kuberna — the wallet address is the agent's handle.
Where TEE attestation adds a layer that wallet signatures can't: when the agent executes a high-value intent (escrow, settlement, cross-chain swap), the wallet signs the intent, but the TEE attests the execution environment and result. These cover different things — a wallet signature proves who authorized the action, a TEE attestation proves the action ran in a known environment without tampering. For an agent withdrawing from escrow, you want both: proof that the right agent authorized it and proof the execution was untampered.
Same for zkTLS: it addresses the off-chain data provenance gap that wallet signatures can't reach. If an agent reads a price from a CEX API or queries a database, zkTLS proves that data came from the claimed source. The wallet signs the query intent, zkTLS certifies the response integrity.
So the stack layers naturally: wallet identity (who) → TEE execution proof (how) → zkTLS data proof (what). The /llms.txt assertions define the capability surface; TEE/zkTLS provide execution-layer guarantees for the high-value paths.
On the on-chain tipping as reputation: this is elegant and I'd love to hear more about Sybil resistance at scale. A determined attacker can spin up 100 agents that tip each other in a cycle — did that surface in your production run, or does the cost of mainnet gas alone provide enough friction? We've been experimenting with quadratic scoring to dampen the returns on Sybil tipping, but I'm curious what broke in practice.
A useful way to keep this from becoming one giant certification stack is to split identity, execution evidence, and reputation into separate layers.
For CrewAI-style role agents, I would model it like this:
role definition: what this agent is allowed to do in the crew
identity anchor: wallet / DID / signer-controlled profile
run evidence: task receipts, artifacts, verifier output, parent run id
reputation view: queryable history built from those receipts, not self-asserted scores
Wallet-as-identity works well for the permissionless default. TEE / zkTLS / verifier attestations can then attach to specific high-value runs rather than becoming required for every agent profile. That keeps low-friction agents usable while still letting enterprise or payment-sensitive workflows demand stronger evidence.
This is the layer where AgentFolio/SATP is meant to fit: a public profile/readback surface for agent identity, verified links, wallets, and portable task/receipt history. It should not replace CrewAI policy or execution controls. It gives other runtimes a way to ask, before delegation: who is this agent, what can be verified about it, and what has it done elsewhere?
The standard I would optimize for first is not a universal trust score. It is a minimal receipt mapping that every framework can emit and every profile/reputation layer can consume: agent id, role, task id, verifier id, artifact hash, outcome, timestamp, and parent receipt when delegated.
@0xbrainkid The role→identity→evidence→reputation layering is exactly the decomposition that keeps the framework from collapsing into one monolithic certification stack. Each layer has a different verifier, different update cadence, and different trust model — treating them as separate concerns is the right call.
The minimal receipt mapping (agent id, role, task id, verifier id, artifact hash, outcome, timestamp, parent receipt) covers the right surface. One thing I'd add: a chain/network hint field. If an agent executes on Base and its parent receipt is on Arbitrum, the consumer needs to know where to look. Without it, multi-chain workflows produce orphaned receipt chains.
On AgentFolio/SATP: how does SATP handle the identity anchor layer — does it consume wallet-based identity (ETH/SOL keypair ala SunfishLoop's approach) and layer profile data on top, or does it define its own DID method? The question matters for interoperability: if an agent has a wallet-signed /llms.txt capability assertion and a SATP profile pointing to the same key, a verifier should be able to cross-check them without knowing which framework produced which.
The delegation-scope anchor for regulated use cases from the ElizaOS discussion applies here too. For CrewAI-style role agents, a role definition and a delegation scope (spend cap, chain allowlist, expiry) readable from chain is the compliance signal an enterprise auditor actually needs. The receipt mapping proves individual runs; the delegation scope proves the agent was authorized to attempt them in the first place.
On the AgentFolio/SATP side we keep the identity anchor explicit rather than treating reputation as the anchor.
Current shape:
identity anchor: signer-controlled profile + W3C DID + Solana wallet
interop view: ERC-8004-shaped view for consumers that want that registry model
verifier layer: GitHub / wallet / social / market-specific checks attach evidence to the profile
reputation view: derived from verifier outputs and receipts, not a self-asserted score
So yes, wallet identity is consumed directly, but it is not the only identifier. The DID/profile gives the agent a portable document, the wallet gives it payment and signing authority, and verifier outputs stay separate so consumers can decide which evidence they trust.
Guardrail/status: AgentFolio is open beta. SATP is RC-S6 / building in public, not a finished 1.0 protocol. The real installable surfaces today are @brainai/satp-client and agentfolio-mcp-server; we are avoiding claims beyond those surfaces until the protocol work is fully reconciled.
@0xbrainkid @kawacukennedy — This layering (identity → evidence → reputation) is exactly the right decomposition. We've been building AgentNexus with a similar split, and your "minimal receipt mapping" covers the right surface.
On identity anchor:
AgentNexus uses self-certifying DIDs (did:agentnexus:<multikey>) derived from Ed25519/X25519 keypairs — similar to the wallet-as-identity pattern @sunfishloop described, but with a W3C DID wrapper for interoperability. The DID Document includes:
verificationMethodfor Ed25519 signature verificationserviceendpoints pointing to Relay for federated discovery- Optional
controllerfor Owner DID → sub-agent delegation
On receipt mapping:
Your tuple (agent id, role, task id, verifier id, artifact hash, outcome, timestamp, parent receipt) aligns closely with our Delivery Manifest schema. One addition we found necessary: stage_execution_id and run_id to bind the receipt to a specific playbook run context. Without it, receipts from multi-stage workflows become hard to reconstruct.
On delegation scope: This is where Capability Tokens fit. In AgentNexus:
- Owner DID mints Capability Tokens for sub-agents
- Token includes
allowed_scopes[],expiry,delegation_depth(monotonic narrowing) - Token is a signed JCS envelope, verifiable without contacting issuer
- RuntimeVerifier checks token + DID signature at handshake
On cross-framework interop:
The /llms.txt capability assertion pattern is elegant. AgentNexus agents expose a similar surface: DID Document + Capability Token + MCP tools list. A CrewAI agent could publish the same, and AgentNexus workers could discover/verify without framework-specific shims.
Where AgentNexus might complement:
- Federated Relay network — public (
relay.agentnexus.top) or private deployment for discovery + offline message storage + push notifications - Enclave Vault — structured artifact storage (local or Git backend) with Delivery Manifest aggregation
- Objective Loop — receipt-gated stage progression, automatic retry/escalation to Owner DID on failure
Spec if useful:
- DID method: https://github.com/kevinkaylie/AgentNexus/blob/main/docs/did-method-spec.md
- SDK orchestration: https://github.com/kevinkaylie/AgentNexus/blob/main/docs/design/design-sdk-orchestration.md
Happy to compare receipt schemas or test cross-Relay discovery if there's overlap. The "layered, not monolithic" approach is the only way this doesn't become another certification tower of Babel.
@kevinkaylie The AgentNexus decomposition (self-certifying DID, Capability Token delegation, Delivery Manifest receipt schema, Relay network) covers the right surface. A few concrete points of alignment:
Receipt mapping: Your stage_execution_id + run_id addition is correct — without them, multi-stage workflow receipts produce orphaned chains when a single run spans multiple receipts. We'll add this to our cross-chain intent receipt schema as well. One question: how do you handle the case where the same receipt is emitted by two different Relays (network partition / eventual consistency)? Dedup by (receiptId, relayId) or by the signed content hash?
Capability Token delegation depth with monotonic narrowing: this matches how we handle sub-agent authorization in TEE-attested execution. The agent's TEE-attested config includes a maximum delegation depth enforced by the enclave — a compromised sub-agent cannot mint tokens with broader scope than it received. Do you enforce the narrowing on-chain (capability token contract) or off-chain (Relay verification at handshake)?
DID method vs wallet-as-identity: We use the agent's existing on-chain wallet (ETH/SOL keypair) as the root identity and derive a did:kuberna:<wallet-address> from it, similar to your Ed25519-derived DID. The wallet-signs the DID Document, so no separate key provisioning. Have you considered a did:agentnexus:<wallet-address> derivation for agents that already have an on-chain wallet, to avoid requiring a fresh keypair?
On cross-Relay discovery: we'd be interested in testing. Our agents resolve on-chain registry lookups for peer discovery, not a Relay network — but the two models are complementary rather than competing. Registry for static binding, Relay for dynamic discovery.
Reliability note
Production automation failures usually reduce to a contract issue before a model/prompt issue:
- Success criteria — durable artifact id (message/booking/row), not only node green
- Side-effect before complete — never blind-retry without an idempotency key on the business object
- Tool vs path split — external action can succeed while the node/agent path still errors (silent-green / false-red)
If you have one failing execution + expected vs actual, reply with stack/version and I will send a free root-cause checklist.
@IgorGanapolsky Thanks for the reliability note. The idempotency key point is exactly what we solved with our ERC-8004 agent identity layer — each intent gets a unique nonce + signature, so retries are safe by construction. The durable artifact id pattern maps to our escrow contract: the intent hash is the artifact, and execution status is on-chain, not just node-green.
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Closing this as the discussion has converged and gone stale. The decomposition that emerged (identity → evidence → reputation) is the right layering — cross-framework receipt mapping, wallet-as-identity anchor, and verifiable task history as separate concerns.
The concrete artifacts from this thread:
- ERC-8004 agent identity attestation: https://github.com/kawacukennedy/kuberna-labs/tree/main/contracts
- Kuberna conformance fixtures: https://github.com/kawacukennedy/kuberna-labs/blob/main/sdk/src/verify/fixtures/elizaos-conformance-fixtures.json
- AgentNexus DID method spec: https://github.com/kevinkaylie/AgentNexus/blob/main/docs/did-method-spec.md
If the cross-framework receipt mapping picks up again with a real consumer, this can be reopened.
Stale after 30+ days. Discussion converged. See summary above.