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.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
1) Get an API key
Create an API key from the LP Agent Portal.
2
2) Authenticate requests
Send your API key in the
x-api-key header for every API request.3
3) Follow endpoint workflows
Use the API tutorials for end-to-end flows, then adapt to your agent runtime.
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.