@agp-protocol/sdk
v0.5.1
Published
TypeScript/Node.js SDK for the Agent Governance Protocol
Maintainers
Readme
@agp-protocol/sdk
TypeScript/Node.js SDK for the Agent Governance Protocol — a governance protocol for autonomous agents operating in high-stakes, regulated, and multi-stakeholder environments.
Built and maintained by CunardAI.
Install
npm install @agp-protocol/sdkQuick start
import { AGPClient } from "@agp-protocol/sdk";
const client = new AGPClient({ baseUrl: "https://your-agp-server" });
// Register a task
const task = await client.registry.registerTask({ ... });
// Request a policy decision
const decision = await client.decision.evaluate(task.task_id);
// Submit an action envelope
const result = await client.execution.submit({ task_id: task.task_id, ... });Clients
| Client | Description |
|---|---|
| AGPClient | Top-level client — composes all three domains |
| RegistryClient | Task registration and capability scoping |
| DecisionClient | Policy evaluation and approval workflows |
| ExecutionClient | Action envelope submission and audit ledger |
