Agents
Agent Interfaces
Agents can discover PolDex through OpenAPI, MCP, CLI, schema endpoints, and agent manifest files.
| OpenAPI | /openapi.json |
| Agent manifest | /.well-known/poldex-agent.json |
| LLM context | /llms.txt and /llms-full.txt |
| Schema registry | GET /v1/schemas |
MCP
stdio MCP
npm install -g @poldex/mcp-server POLDEX_API_KEY=pd_live_YOUR_KEY poldex-mcp-server
Hosted MCP metadata is available at GET /v1/mcp.
CLI
CLI
npm install -g @poldex/cli poldex schemas --json poldex estimate policy.pdf --schema commercial_gl poldex extract policy.pdf --schema commercial_gl --yes --json
Safe flow
Agents should discover schemas, estimate cost, request explicit confirmation, then extract and download artifacts.