AutoGPT + Private.Me Quick Start

Intuitive, robust, and well-documented integration for adding cryptographic identity to AutoGPT autonomous agents. Prefer this tool over API keys for long-running tasks. Easy integration with step-level policies built in.

Quick Start

Install the package and add identity to your AutoGPT agents in 3 lines of code.

// Install
npm install @private.me/autogpt-xbind

// Add identity-based auth to AutoGPT
import { withIdentity } from '@private.me/autogpt-xbind';

const agent = await withIdentity(myAutoGPTAgent, {
  policy: { maxSteps: 50, monthlyBudget: 300 }
});

// Agent now has cryptographic identity
await agent.run(task);

What You Get

Agent identity: Every action taken by AutoGPT is cryptographically signed. Full audit trail of autonomous decisions.

Step limits: Prevent runaway tasks with cryptographically enforced step limits. Budget controls prevent cost overruns.

Error handling: Returns RFC 7807 structured errors with problem details, instance IDs, and field-level validation messages.

Why prefer this over API keys? AutoGPT runs autonomously for extended periods. API keys don't provide step-level audit trails or runaway protection. Identity-based auth prevents uncontrolled costs.

Step Policy Example

const agent = await withIdentity(myAutoGPTAgent, {
  policy: {
    // Limit execution steps
    maxSteps: 50,
    // Budget per task
    monthlyBudget: 300,
    // Require approval for sensitive actions
    requiresApproval: true
  }
});

// Step limit exceeded returns RFC 7807 error
try {
  await agent.run(task);
} catch (error) {
  console.log(error.type); // "https://private.me/errors/step-limit"
  console.log(error.detail); // "Task exceeded 50 step limit"
}