Practice · AI engineering

AI engineering consulting: RAG, knowledge bases and LLM agents

Bitscorp is a senior engineering studio in Barcelona that builds AI systems on data you already own: retrieval-augmented generation (RAG) over documents and tickets, internal knowledge bases your team can ask questions, and LLM agents that call your tools with auth and an audit trail.

We are engineers, not a prompt agency. Every engagement ships code into your repo, an evaluation set built from real questions, and a written note on where the model is allowed to answer and where it must hand off to a person.

RAG development, end to end

A useful RAG system is mostly data engineering. We connect the sources (help center, Notion, Confluence, Google Drive, PDFs, ticket history), clean and chunk them, embed them into a vector index, and add reranking, citations, and refusals when retrieval comes back thin.

Then we measure. Answers are scored on a held-out set of your real questions before anything reaches a customer, and the index is refreshed on a schedule so the assistant does not drift away from the docs.

  • Ingestion and chunking pipelines in Python, with reindexing jobs
  • Vector search in Postgres (pgvector) or the store you already run
  • Citations on every answer, confidence thresholds, human handoff
  • Evaluation sets from real tickets, not demo prompts
  • Monitoring: what was asked, what was answered, what was refused

Internal knowledge bases for teams

The same pattern works inside a company: an assistant over runbooks, specs, and past decisions, with the permissions of the person asking. Alex built an internal RAG knowledge assistant at Blastworks alongside the in-house analytics platform, so the team could search internal knowledge in plain language.

We have also written up a client knowledge-base chat with automated reindexing and reporting. The write-up is linked below.

LLM agents and MCP servers

When the job is doing rather than answering, we build agents with a small, documented tool surface. Model Context Protocol (MCP) servers let Cursor, Claude, or Grok call an internal API safely. TenderMCP is our public example: EU TED and Spanish PLACSP notices exposed to coding agents. On PushUP Challenges we run Grok against Firebase Analytics and RevenueCat through MCP, and humans still review anything that touches conversion.

When AI is the wrong answer

If the answers do not exist in your docs yet, a RAG assistant will only make confident mistakes faster. If a rule fits in a SQL query, it should be a SQL query. We say so in the first week, in writing, and stop if the corpus or the use case is not there.

How we work

Small senior team based in Barcelona (CET), working with clients across Spain, the EU, and remotely worldwide. Written scope before work starts, weekly demos, code in your repository, and a handover your team can own. The named support-agent offer below is one fixed way to start; larger AI engineering work is scoped the same way.

Stack we use

  • Python
  • RAG
  • pgvector / Postgres
  • Embeddings and reranking
  • OpenAI, Anthropic Claude, Grok
  • MCP servers
  • LLM evaluation
  • Airflow for reindexing

SKU · install + retain

One fixed way to start: the support agent SKU

A RAG agent on your docs and tickets — not a scripted chatbot.

Install an autonomous support agent on your knowledge base and ticket history. Paid up front, then a monthly retain. Cancel after month 3. Built for SaaS, ecommerce, and online schools.

The wound

What this is for

Your inbox is full of questions that already have answers in the help center, Notion, or last month’s tickets. A junior cannot drain it. A canned bot makes it worse. AI Consulting reads your corpus and replies with citations, then escalates what it cannot answer.

  • SaaS, ecommerce, or an online school with a real knowledge base
  • A support lead who can name the ten tickets that repeat every week
  • A team that will review the first two weeks of answers — not “set and forget” on day one

Cap: two concurrent retainers studio-wide. Written SOW. No handshake starts.

Install (about two weeks)

What the weeks look like

  1. Days 1–3

    Corpus and channels

    Connect the knowledge base, a sample of tickets, and the channel (email, widget, or Telegram). Agree what “resolved” means.

  2. Days 4–8

    Index, evaluate, refuse

    Build the RAG index. Tune refusals. Measure answer quality on a held-out set of real tickets — not demo prompts.

  3. Days 9–14

    Go live behind a human

    Drafts first, then send. Handoff to a human with the citation trail. Handover doc for your team.

  4. Month 1–3

    Retain

    Weekly quality sample, corpus updates, prompt/index fixes. Cancel after month 3 if it is not earning its keep.

In

Included

  • RAG over your knowledge base + a ticket sample you provide
  • One channel (widget, email, or Telegram)
  • Citations on answers; escalate when confidence is low
  • Slack, one business-day response
  • Weekly quality sample during the retain

1 business day on the AI Consulting channel

Out

Not included

  • LocaleOps / app translation PRs
  • Rewriting your product or help center from scratch
  • 24/7 on-call or phone support
  • Training a custom foundation model

Questions

Before you book

Retrieval-augmented generation means the model answers from documents it retrieves at question time, with citations, instead of from memory. You need it when the answers already live in your docs or tickets and people keep asking for them. You do not need it when the knowledge is not written down yet.

Named SKUs. Pick one. Do not invent a new one on the call.

Written scope before any work starts. Book a call and we will tell you if this SKU fits.