Should I build or buy a RAG pipeline?
- Build the parts that differentiate your product (corpus, prompts, domain evals, UI) and take the rest from an open-source backend you can fork. DocsGPT covers ingestion, retrieval, agents, auth and evals under the MIT licence, so “buy” here does not mean lock-in.
Is the API OpenAI-compatible?
- Yes. Each agent exposes
/v1/chat/completions and /v1/models with its own API key, including streaming, structured outputs and tool calling, so existing OpenAI SDK code points at DocsGPT with a base-URL change. Can we use our own models and embeddings?
- Yes. Register any provider or local engine (vLLM, Ollama, llama.cpp and others) in the Model Registry, override per workflow node, and use any Sentence Transformers or remote embedding model, including fine-tuned ones.
How do we know retrieval quality holds after an upgrade?
- Run your benchmark suite with docsgpt-cli bench in CI: assertions on cited sources, content and latency, JUnit output, and a diff against the last baseline before you deploy.
What does the commercial model look like?
- Self-hosting is free under MIT. Arc53 offers a subscription plus an engineering retainer for teams that want the platform team on call; LexEU, a legal-tech platform, has run this way since 2023.