@agentreserve/atp-client
v0.1.0
Published
TypeScript client SDK for the AgentReserve Agent Transaction Protocol (ATP)
Maintainers
Readme
@agentreserve/atp-client
TypeScript client SDK for the AgentReserve REST API.
Zero runtime dependencies. Works in Node.js 18+ and modern browsers.
Install
npm install @agentreserve/atp-clientUsage
import { AgentReserve } from "@agentreserve/atp-client";
const ar = new AgentReserve({
apiKey: process.env.AGENTRESERVE_API_KEY!,
baseUrl: "https://api.agentreserve.com",
});
const action = await ar.actions.execute({
connector: "google_cal_engineering",
params: { /* ... */ },
idempotencyKey: "key_abc",
});Resources
ar.actions— execute, cancel, modify, list, getar.policies— list, createar.connectorTemplates— discover available connector typesar.connectorInstances— discover configured connectors
License
MIT
