SDKs

Four client SDKs cover the Mangrove ecosystem. A turnkey agent template (mangrove-agent) ties them together — it has its own tab.
SDKLanguageDistributionBest for
mangroveaiPython ≥3.10pip install mangroveaiThe MangroveAI platform — strategies, backtesting, AI copilot, on-chain, DeFi, social
mangrove-kbPython ≥3.10pip install mangrove-kbLocal signal evaluation and indicator computation, no API call
mangrovemarketsPython ≥3.10pip install mangrovemarketsDEX aggregation, marketplace, wallet, portfolio analytics — client-side signing
@mangrove-ai/sdkTypeScript / Nodenpm install @mangrove-ai/sdkSame surface as mangrovemarkets, in TypeScript

Choosing between mangroveai and mangrove-kb

  • Use mangroveai if you want managed strategies, backtests, the AI copilot, or any feature of the hosted platform. Requires an account and API key.
  • Use mangrove-kb if you want to compute indicators or evaluate signals on your own data, locally, with no network round-trip. Pure compute, MIT-licensed.
  • Use both if you want platform features for orchestration but local compute for hot loops.

Choosing between SDK and direct MCP

  • Use an SDK for backend code, notebooks, scripts.
  • Use the MCP server when an LLM agent or MCP-capable client is in the loop. The MCP servers expose the same capabilities (where they overlap) as tool calls.
See MCP Servers for the agent path.

Turnkey: just run the agent

If you don’t want to assemble the SDKs yourself, mangrove-agent is a FastAPI + MCP template that wires the platform together. Clone, set your API key, and you have a working trading bot in 60 seconds.