@yuliaedomskikh/agentflow-client
v1.4.0
Published
TypeScript SDK for the AgentFlow API
Downloads
516
Maintainers
Readme
@yuliaedomskikh/agentflow-client
Published npm package:
@yuliaedomskikh/agentflow-client.
Install:
npm install @yuliaedomskikh/agentflow-clientimport { AgentFlowClient } from "@yuliaedomskikh/agentflow-client";
const client = new AgentFlowClient("http://localhost:8000", "dev-key");
const order = await client.getOrder("ORD-20260404-1001");
console.log(order.status, (await client.getMetric("revenue", "24h")).value);import {
AgentFlowClient,
RetryPolicy,
} from "@yuliaedomskikh/agentflow-client";
const client = new AgentFlowClient("http://localhost:8000", "dev-key");
client.configureResilience({
retryPolicy: new RetryPolicy({ maxAttempts: 5 }),
});