Frameworks & Integrations
Use AICredits with LangChain, Vercel AI SDK, Hermes Agent, Cursor, Continue, Aider, Open WebUI, LiteLLM, Dify, Flowise, Langflow, AnythingLLM, LibreChat, LobeChat, OpenHands, Cline, RAGFlow, Onyx, CrewAI, LlamaIndex, Roo Code, Open Design, and other AI tools.
Use this page with an AI assistant
Opens a new chat with this docs URL and the correct AICredits base URLs.
AICredits is OpenAI-compatible — any library, agent, editor, or workflow tool that accepts a custom OpenAI base URL can use AICredits. Below are integration guides for the most popular frameworks and tools.
Overview
The base URL for all integrations is https://api.aicredits.in/v1. Replace the OpenAI API key with your AICredits API key (starts with sk-). That's it — no other changes needed for most frameworks.
Frameworks
| Framework | Language | Description |
|---|---|---|
| OpenAI SDK | Python, TypeScript | The official SDKs. Drop-in replacement — just change base_url. |
| LangChain | Python, TypeScript | Use AICredits as a ChatOpenAI provider in LangChain chains, agents, and RAG pipelines. |
| Vercel AI SDK | TypeScript, Next.js | Stream AI responses in Next.js, SvelteKit, and other frameworks using the AI SDK. |
| Anthropic Agent SDK | Python | Build tool-use agents with Claude models using Anthropic's official agent SDK. |
| PydanticAI | Python | Type-safe AI agent framework with Pydantic validation. |
| Hermes Agent | Agent tool | Configure Hermes Agent with the AICredits base URL and API key. |
| Cursor | Desktop editor | Use AICredits as an OpenAI-compatible provider for coding chat and agents. |
| Continue | VS Code, JetBrains | Add AICredits models to Continue using apiBase and your API key. |
| Aider | CLI | Route coding-agent sessions through AICredits with OpenAI-compatible env vars. |
| Open WebUI | Self-hosted UI | Add AICredits as an OpenAI-compatible chat backend. |
| LiteLLM | Proxy | Use AICredits directly or as an OpenAI-compatible upstream behind LiteLLM. |
| Dify | App builder | Build chatbots, RAG apps, workflows, and agents with AICredits models. |
| Flowise | Visual builder | Use AICredits in ChatOpenAI nodes for chatflows, RAG, and agents. |
| Langflow | Visual builder | Connect OpenAI chat model components to the AICredits base URL. |
| AnythingLLM | AI workspace | Use AICredits for local-first chat, agents, and document workspaces. |
| LibreChat | Self-hosted UI | Add AICredits as a custom OpenAI-compatible chat endpoint. |
| LobeChat | Self-hosted UI | Configure AICredits as an OpenAI-compatible provider for chat and agents. |
| OpenHands | Coding agent | Run self-hosted coding agents and automations with AICredits models. |
| Cline | Coding agent | Use AICredits through Cline's OpenAI-compatible provider. |
| RAGFlow | RAG platform | Connect chat and embedding models for document RAG workflows. |
| Onyx | Enterprise search | Configure AICredits for search, chat, agents, and RAG. |
| CrewAI | Agent framework | Build multi-agent Python workflows with AICredits-backed LLMs. |
| LlamaIndex | RAG framework | Use OpenAI-compatible chat and embeddings for document agents. |
| Roo Code | VS Code agent | Configure OpenAI-compatible agent calls through AICredits. |
| LangFuse | Python, TypeScript | Observability, traces, and analytics for your LLM application. |
| n8n | No-code | No-code workflow automation with the OpenAI node + custom base URL. |
| OpenClaw | Desktop | OpenAI-compatible Claude client — point it at AICredits for INR billing. |
| Open Design | Desktop / CLI | Local-first AI design agent — route model calls through AICredits with BYOK. |
Observability
AICredits logs all requests automatically — view costs, token counts, and latency in the Usage Dashboard. For deeper observability (traces, evaluation, alerting), connect a third-party tool like LangFuse for tracing LLM calls, tracking latency per span, evaluating output quality, and setting up cost alerts.