AI Integration for LP Agent
LP Agent is AI-friendly by design: clear docs, OpenAPI-powered API reference, and simple REST endpoints with API key authentication. Use this page to choose the right integration path for your AI agent.Pick the Right Tool
The right setup depends on where your agent runs and what it needs to do.| Goal | Local coding agents (OpenCode, Claude Code, Cursor, Codex) | Hosted agents (ChatGPT, Claude web, other hosted runtimes) |
|---|---|---|
| Read docs and learn capabilities | Use https://docs.lpagent.io/llms.txt first, then this docs site + docs.json navigation + API reference pages | Use https://docs.lpagent.io/llms.txt and this docs site + API reference |
| Generate API integrations | Use api-reference/openapi.json and /api-reference/introduction | Use /api-reference/introduction and endpoint pages generated from OpenAPI |
| Execute LP operations | Call LP Agent REST APIs with your x-api-key | Call LP Agent REST APIs from your server/backend with your x-api-key |
Local coding agents can also inspect repository files directly (
docs.json, .mdx, and api-reference/openapi.json) to build accurate integrations faster.Read the Docs Effectively
For agents that need to understand LP Agent before writing code or taking actions.Start with
https://docs.lpagent.io/llms.txt. It is the fastest machine-readable entry point for agents that want a compact index of the docs before following deeper links.Getting Started
Product overview, onboarding flow, and core concepts.
API Reference
Authentication and full endpoint reference generated from OpenAPI.
Execute Operations via API
For AI systems that need to perform real actions (discover pools, create liquidity transactions, manage positions).1) Get an API key
Create an API key from the LP Agent Portal.
Zap-In & Zap-Out Tutorial
End-to-end API flow for adding and removing liquidity.
Auto Rebalance Tutorial
Build an automated bot workflow on top of LP Agent APIs.
Minimal API Request Pattern
Recommended Learning Path for Agents
- Start at Introduction and Architecture
- Read API Reference Introduction for auth
- Implement one flow from Zap-In & Zap-Out tutorial
- Expand to automation with Auto Rebalance Bot
Need help?
Join the LP Agent community Discord for support.