AICredits logo
Integrations

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

FrameworkLanguageDescription
OpenAI SDKPython, TypeScriptThe official SDKs. Drop-in replacement — just change base_url.
LangChainPython, TypeScriptUse AICredits as a ChatOpenAI provider in LangChain chains, agents, and RAG pipelines.
Vercel AI SDKTypeScript, Next.jsStream AI responses in Next.js, SvelteKit, and other frameworks using the AI SDK.
Anthropic Agent SDKPythonBuild tool-use agents with Claude models using Anthropic's official agent SDK.
PydanticAIPythonType-safe AI agent framework with Pydantic validation.
Hermes AgentAgent toolConfigure Hermes Agent with the AICredits base URL and API key.
CursorDesktop editorUse AICredits as an OpenAI-compatible provider for coding chat and agents.
ContinueVS Code, JetBrainsAdd AICredits models to Continue using apiBase and your API key.
AiderCLIRoute coding-agent sessions through AICredits with OpenAI-compatible env vars.
Open WebUISelf-hosted UIAdd AICredits as an OpenAI-compatible chat backend.
LiteLLMProxyUse AICredits directly or as an OpenAI-compatible upstream behind LiteLLM.
DifyApp builderBuild chatbots, RAG apps, workflows, and agents with AICredits models.
FlowiseVisual builderUse AICredits in ChatOpenAI nodes for chatflows, RAG, and agents.
LangflowVisual builderConnect OpenAI chat model components to the AICredits base URL.
AnythingLLMAI workspaceUse AICredits for local-first chat, agents, and document workspaces.
LibreChatSelf-hosted UIAdd AICredits as a custom OpenAI-compatible chat endpoint.
LobeChatSelf-hosted UIConfigure AICredits as an OpenAI-compatible provider for chat and agents.
OpenHandsCoding agentRun self-hosted coding agents and automations with AICredits models.
ClineCoding agentUse AICredits through Cline's OpenAI-compatible provider.
RAGFlowRAG platformConnect chat and embedding models for document RAG workflows.
OnyxEnterprise searchConfigure AICredits for search, chat, agents, and RAG.
CrewAIAgent frameworkBuild multi-agent Python workflows with AICredits-backed LLMs.
LlamaIndexRAG frameworkUse OpenAI-compatible chat and embeddings for document agents.
Roo CodeVS Code agentConfigure OpenAI-compatible agent calls through AICredits.
LangFusePython, TypeScriptObservability, traces, and analytics for your LLM application.
n8nNo-codeNo-code workflow automation with the OpenAI node + custom base URL.
OpenClawDesktopOpenAI-compatible Claude client — point it at AICredits for INR billing.
Open DesignDesktop / CLILocal-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.

On this page