Overview
Type: Coding ToolPrimary Path: OpenAI-compatibleSupport Confidence: Supported path
- interactive terminal coding workflow
- JSON / RPC modes for process integration
- SDK-style embedding into your own applications
Recommended LemonData Path
Use LemonData as an OpenAI-compatible endpoint:Pi can also work with Anthropic-style and Google-style providers. If you want Claude-native or Gemini-native behavior, treat that as a provider-specific Pi setup rather than a generic OpenAI-compatible setup.
Why Pi Is Different
Pi is not just “another SDK”.- If you are using Pi as a terminal agent, evaluate it like a coding tool
- If you are embedding Pi into your own app, evaluate it like an agent runtime / harness
Practical Setup Notes
OpenAI-compatible default
OpenAI-compatible default
Start with LemonData’s
https://api.lemondata.cc/v1 path unless your Pi workflow explicitly depends on a native provider protocol.Native-provider setups are separate
Native-provider setups are separate
Claude-native or Gemini-native Pi setups should be documented and tested as separate provider-specific paths, not assumed to be identical to the OpenAI-compatible route.
Keep tool/runtime expectations realistic
Keep tool/runtime expectations realistic
Pi is highly configurable. LemonData can document the connection path, but not every extension, skill, or custom harness behavior should be treated as part of the compatibility contract.
Troubleshooting
Connection errors
Connection errors
- Verify the configured OpenAI-style base URL is exactly
https://api.lemondata.cc/v1 - Verify the key starts with
sk- - Verify the selected Pi provider path matches the protocol you intend to use
Model mismatch
Model mismatch
- Keep the LemonData model id separate from any Pi-local aliasing
- If you are testing provider-native behavior, confirm the Pi provider is really using that native path