For Agents
Works with your agent.Any framework. Any client.
CodeSpar is framework-agnostic. Connect over MCP with no code, or install a one-line adapter and call getTools(session). Either way your agent gains a LATAM commerce rail — Pix, boleto, NF-e, shipping, and WhatsApp.
MCP clients · no code· 4
Paste one config block into the client and the commerce meta-tools appear in its tool palette.
Framework adapters · one line· 10
Install @codespar/<framework> alongside the SDK, then convert a session into native tools for your stack.
LangChainSDKStructuredTools for LangChain.js agents and graphs.CrewAISDKRole-based crews with payments, fiscal, and logistics tools.Vercel AI SDKSDKStreaming-first tools for generateText / streamText in Next.js.OpenAI AgentsSDKFunction tools for the OpenAI SDK and Agents SDK.LlamaIndexSDKFunctionTools for LlamaIndex.TS agents and workflows.MastraSDKTyped tools for Mastra agents and workflows.AutoGenSDKTools for multi-agent AutoGen conversations.CAMELSDKTools for CAMEL role-playing agent societies.LettaSDKTools for stateful Letta (MemGPT) agents.Google GenAISDKFunction declarations for Gemini models.