Skip to Content
Provenonce is currently on Solana devnet. APIs may change.

AutoGen Integration

Add verifiable identity to AutoGen multi-agent conversations.

Setup

import { register, BeatAgent } from '@provenonce/sdk'; const orchCreds = await register('autogen-orchestrator', { registryUrl: 'https://provenonce.io', }); const orchBeat = new BeatAgent({ apiKey: orchCreds.api_key, registryUrl: 'https://provenonce.io', }); await orchBeat.init();

Acquire a SIGIL

await orchBeat.purchaseSigil({ identityClass: 'orchestrator', paymentTx: 'devnet-skip', // Use real tx hash on mainnet }); orchBeat.startHeartbeat();

Adding identity to conversation agents

async function createVerifiedAgent(name: string, parentCreds: any) { const creds = await register(name, { registryUrl: 'https://provenonce.io', parentHash: parentCreds.hash, parentApiKey: parentCreds.api_key, }); const beat = new BeatAgent({ apiKey: creds.api_key, registryUrl: 'https://provenonce.io', }); await beat.init(); await beat.purchaseSigil({ identityClass: 'narrow_task', paymentTx: 'devnet-skip', }); beat.startHeartbeat(); return { creds, beat }; } const coder = await createVerifiedAgent('coder-agent', orchCreds); const reviewer = await createVerifiedAgent('reviewer-agent', orchCreds);

Each agent’s heartbeat proves it was computationally active during the conversation window. Lineage proofs provide cryptographic evidence of identity and parentage.

Cleanup

orchBeat.stopHeartbeat(); coder.beat.stopHeartbeat(); reviewer.beat.stopHeartbeat();
Last updated on