Quickstart
## Install the SDK
```bash
npm install @agentflow/sdk
```
## Initialize your agent
```typescript
import { AgentFlowClient } from "@agentflow/sdk";
const agent = new AgentFlowClient({
apiUrl: "https://api.agentflow.dev", // or your local instance
agentId: "your-agent-id",
privateKey: process.env.AGENT_PRIVATE_KEY!,
maxSpendPerRequest: "0.01", // USDC spend guard
});
// Authenticate via wallet signature
await agent.authenticate();
```