AIForge: the open-source toolkit behind my builds
A provider-agnostic Python SDK that gives product teams production-ready AI with one install and a config file. It's open source, and it's what I reach for on client projects.
Why I built it
Every AI project needs the same foundations: talking to several model providers, retrieving from documents, extracting structured data, keeping costs visible, and checking that quality doesn't drop when a prompt or model changes. AIForge packages those foundations so each build starts from tested code instead of a blank file.
What's in it
- 10 modules: summarize, document Q&A (hybrid RAG), extract, classify, search, generate, chat, moderate, translate and vision.
- Swap providers with one config value: OpenAI, Anthropic, Gemini, Bedrock, Mistral, Azure or Ollama, with retries, rate limiting, streaming and cost tracking built in.
- Guardrails, evals and MCP: PII redaction, prompt-injection checks, and CI gates on output quality.
- CLI, API server and playground for trying modules without writing code.
Install
pip install aiforge-kit
Read the documentation, browse the source on GitHub (MIT licence), or see the package on PyPI.
How it shows up in client work
When a project needs document Q&A, extraction or classification, AIForge provides the building blocks and the evaluation harness, and I build your specific tools, rules and integrations on top. You get the code, and because AIForge is open source, you're never locked in to me or to it. More on custom AI development.
Related
Custom AI agent and LLM development
Agentic systems, RAG over your documents, extraction pipelines and AI features inside your product.
Read more AboutAbout Kushang Patel
An independent AI engineer in Mumbai with 15+ years of production software experience.
Read more WorkWorking AI agents and projects
Working AI agents with demo videos: a WhatsApp Shopify support agent, a multilingual voice agent, a clinic booking receptionist and the AIForge SDK.
Read moreTell me what you'd like to automate.
Book a free 30-minute call. We'll look at where your team's time goes, and I'll tell you honestly whether AI is the right fit.