Capabilities

Systems

Connect your system on the internet, on your computer or via MCP: the agent discovers its operations and you decide their permissions.

A systemis your software connected to Qaalia, wherever it is: your CRM, your inventory, your school's system or the API of a service you use. Its operations are what your agent can do in it (register a customer, check inventory, create a booking) and each one has its permission. Then you just write what you want, for example «Enroll Juan Pérez in Chemistry», and the agent picks the operation and runs it in your system.

Qaalia never copies your logic or enters your database: it calls your system the way any other application would, and your system runs its own logic and responds.

System types

When you add a system, Qaalia asks you how it connects. Whichever you choose, your system becomes an MCP server for your agent, with a permission for each tool. There are three types:

Which one do I choose?

If your system…Choose
Has an API on the internet (https://api.tu-sistema.com)Qaalia creates its MCP server
Runs on a computer, server or network at your business, with no public addressIt's on my machine or my network
Has an MCP server that runs as a command on your machine (for example, your database's)It's on my machine or my network
Offers a remote MCP server (an MCP https address)I already have an MCP server
Only receives calls at addresses you define (webhooks)Qaalia creates its MCP server and paste curl examples of those calls

What your system needs

For Qaalia to automate it, your system must be able to receive HTTP calls: an API (REST) or an MCP server. Ideally it publishes its OpenAPI (Swagger) specification: that way Qaalia discovers all its operations on its own.

Your systemWhat to do
Has an API with an OpenAPI/Swagger specificationNothing else: Qaalia discovers its operations.
Has an API without a specificationPaste its documentation or curl examples: your agent's AI model reads them.
Has no API (for example, a desktop program with its database)Add a small API on top of the same database with the operations you want to automate (see how in Prepare your system), or connect a local MCP server for its database with the Qaalia Connector.

Qaalia creates its MCP server

For a system with an API on the internet, even if it doesn't have an MCP server. Qaalia creates your system's MCP server with its tools, and your agent uses it like any other MCP server.

Add the system

In Qaalia Chat → Systems, choose the agent, click Add system and choose Qaalia creates its MCP server. Give it a name (for example, «My store»).

Paste the address

It can be any of these; Qaalia recognizes which one it is:

  • The specification: https://api.tu-sistema.com/openapi.json (JSON or YAML).
  • The API address: Qaalia looks for its specification at the usual paths (/openapi.json, /swagger.json, /v3/api-docs…).
  • A documentation page: Qaalia reads its text and extracts the operations.

If you don't have an address, turn on Paste the documentation or curl examples, paste it and, if needed, enter the API's base address.

Add the credential, if your API asks for one

Write the header name (for example, Authorization or X-API-Key) and its value (for example, Bearer tu_llave). It's stored encrypted, the AI never sees it and it's only sent to this system's address.

Choose its tools

Click Analyze. You'll see the tools found, the address they'll be called at and the result of up to 3 real reads with your credential, to confirm the connection works. Choose which ones the server will have (up to 200) and click Create MCP server.

Choose their permissions

Its tools open: decide each one's permission. You can now ask the agent for things.

With a specification, Qaalia reads the operations exactly and without spending tokens. Documentation is read by your agent's AI model, with your own key (set it up in Customize → General → AI model): review their data before creating the server.

It's on my machine or my network

For a system that runs on a computer, a server or your business's network and isn't on the internet. You connect it with the Qaalia Connector, a small program you install once on that machine, as a service or with Docker, that turns your system into an MCP server for your agent. Your system is never exposed to the internet: the Connector only opens outbound connections.

The Connector can publish three things, together or separately:

  • Your system's local API, for example http://localhost:3000. If it publishes its OpenAPI specification, its operations show up on their own.
  • A folder the agent can read (CSV, JSON, TXT, Markdown…). It never writes to it or leaves it.
  • Local MCP servers that run as a command, for example your database's or a desktop program's.

How it works

You ask the agent for something

For example, in Qaalia Chat: «Enroll Ana Ruiz in Physics». The agent picks the registrar_estudiante tool.

Qaalia gets it ready for your machine

Qaalia can't get into your machine, so it leaves the call (already checked against its permission) for the Connector to pick up. If it isn't picked up within 30 seconds, it expires and never runs.

The Connector picks it up and runs it

The Connector is always in touch with Qaalia. It picks up the call, Qaalia confirms it's still valid, and only then does it call your local API, read the folder or use the local MCP server.

Your system responds and the agent continues

The Connector returns the response to Qaalia and the agent continues: it replies to you or uses another tool.

Before you start

  • On that machine, Node.js 18 or later (includes npx) or Docker. Check it with node -v.
  • Your system turned on and its local API running, for example at http://localhost:3000.
  • For Qaalia to discover your API's operations, publish its specification at /openapi.json (see Prepare your system).

Connect it step by step

Add the system

In Qaalia Chat → Systems, click Add system and choose It's on my machine or my network. Write its name and its API's local address (for example, http://localhost:3000). Optionally, a folder and your local MCP servers, one per line as name=command.

Copy the command

Click Get the command. Qaalia shows you a command with a one-time code that expires in 15 minutes (if it expires, click New code):

npx qaalia conector XXXXXXXX --servidor https://… --api http://localhost:3000

Paste it into a terminal on that machine

The Connector connects, publishes your system's tools and waits for work:

Terminal
✔ Qaalia Connector: «Escuela» (API http://localhost:3000)  12 herramientas publicadas. Elige el permiso de cada una en Qaalia → Sistemas.  Para que arranque solo con el equipo: npx qaalia servicio instalar  Esperando trabajo de tu agente…10:42:07 ✓ registrar_estudiante · 84 ms

The Qaalia screen detects the connection on its own.

Leave it as a service

Stop the Connector with Ctrl+C and run:

npx qaalia servicio instalar

It becomes an operating system service (systemd on Linux, launchd on macOS and Task Scheduler on Windows): it starts on its own with the machine and restarts if it fails. You no longer need an open terminal.

Choose the permissions

Click Choose permissions and decide what the agent can do with each tool. You can now ask it for things.

On Linux, so the service starts even if nobody logs in, the installer turns it on with loginctl enable-linger; if it can't, it shows you the command to do it.

With Docker

On a server, NAS or VPS with Docker, choose the Dockertab when you get the command. A single command connects the machine and keeps it running; when it restarts, it uses what's saved in its volume:

docker run -d --name qaalia-connector --restart unless-stopped \  --add-host=host.docker.internal:host-gateway -v qaalia:/data \  -e QAALIA_CODIGO=XXXXXXXX \  -e QAALIA_SERVIDOR=https://… \  -e QAALIA_CONFIG=/data \  -e QAALIA_API=http://host.docker.internal:3000 \  node:20-alpine npx -y qaalia conector --servicio

Inside the container, localhost is the container itself: Qaalia already replaces localhost with host.docker.internal in the command. With Docker, the API and the local MCP servers are published.

Command options

OptionWhat it does
conector CÓDIGOConnects this machine to the system you created in Qaalia. The code works only once.
--servidor URLQaalia's address. It already comes in the command you copy.
--api URLYour system's address on that machine or your network, for example http://localhost:3000.
--carpeta RUTAA folder the agent can read (CSV, JSON, TXT, Markdown…). It never writes to it or leaves it.
--mcp "nombre=comando"A local MCP server the Connector runs on that machine. Repeat it to add several.

Other commands:

  • npx qaalia servicio instalar: leaves the Connector as an operating system service.
  • npx qaalia servicio estado: shows whether the service is running.
  • npx qaalia servicio quitar: removes the service from this machine.
  • npx qaalia conector: reconnects what's saved on this machine, without asking for another code.
  • npx qaalia ayuda: shows the help.

If the machine disconnects

  • Machine off or offline: if the Connector gives no signal for 45 seconds, the system shows as Machine disconnected and the agent tells you right away, without running the action.
  • Nothing runs late: a call the Connector doesn't pick up in time expires, even if the machine comes back later.
  • If it drops in the middle of an action: Qaalia doesn't repeat it on its own, so it doesn't record something twice. The agent tells you it may have been applied and asks you to check in your system.

Connector security

  • It never opens a port: it only makes outbound connections to Qaalia.
  • It only calls the API, only reads the folder and only uses the local MCP servers you specified when connecting. Qaalia can't expand that scope.
  • It only runs tools you allowed or approved, and only if Qaalia confirms the call is still valid.
  • It identifies itself with a key stored on your machine (~/.qaalia); Qaalia only stores a fingerprint of it.
  • When you delete the system in Qaalia, the Connector is disconnected.

Limits

  • Qaalia never gets into your database on its own: it uses your API or the local MCP server you connected.
  • Each call to your machine can take up to 40 seconds.
  • Files in the folder must be text and weigh up to 2 MB. The agent reads large ones in parts.
  • If the machine is off, your agent can't use it: keep it on a machine that's always on, or on a server with Docker.

I already have an MCP server

If your system or an application (Notion, Linear, GitHub…) offers a remote MCP server, choose I already have an MCP server when adding the system, paste its address and connect it. Its tools appear with their permission, just like operations. See MCP servers. If your MCP server runs as a command on your machine, connect it with the Qaalia Connector.

Manual operations

If Qaalia didn't find an operation, or your API has an endpoint that isn't in its documentation, add it by hand (what used to be creating a tool or webhook). In Systems, on the system's card (section Created by Qaalia), click Manual operations and then Add manual operation.

  • They're available in the systems Qaalia creates: those on the internet and those on your machine or network.
  • They use the system's base address and credential: you only write the path, and it can never leave that address. On your machine, it's a path of your local API and the Qaalia Connector calls it.
  • They're one more tool of the system's MCP server. When you save, its tools open so you can choose its permission, and the Connector never replaces it when it publishes its own again.
  • They're not available in I already have an MCP server: its tools are the ones that server publishes.
  • In the systems you already had (like «Mi sistema»), they work as always: open the system, click Operations and then Add manual operation.
Action nametextobligatorio
A short name in lowercase with underscores, like registrar_estudiante. It must be unique within the system.
When should the agent use it?textobligatorio
A clear description of what it does and in which situations to use it: «Enrolls a student in a course when the user asks to sign them up».
MethodPOST | PUT | PATCH | DELETE | GETobligatorio
The HTTP method Qaalia will use to call your system.
Path/pathobligatorio
The path inside the system's address, like /clientes; on your machine, the one of your local API. Use {dato} for data inside the path: /clientes/{id}.
Datalist
Each piece of data the agent must send, with its name, its type (text, number, integer or yes/no), a description and whether it's required.
Permissionallow | requires approval | blocked
What the agent can do with it. You choose it when you save, in the system's tools, and you can change it whenever you want.
Authenticationthe system's
The system's credential is used, encrypted; the agent never sees it. Only in the systems you already had can you set another one per operation.

Permissions and approvals

Each operation arrives with a suggested permission based on what it does. You can change it whenever you want:

PermissionWhat the agent doesSuggested for
AllowUses it without asking.Reading (GET)
Requires approvalStops and asks for your permission before using it.Creating or editing (POST, PUT, PATCH)
BlockedDoesn't even know it exists.Deleting (DELETE)
  • Approvals appear above the Qaalia Chat bar, with the operation and its data. You can reject, approve just that once or always allow it.
  • In a bulk operation you approve only once for the whole batch.
  • Long tasks wait for your decision and continue on their own when you approve.

Use your systems

To test an operation, click Try on it: Qaalia Chat opens with the request ready to send. If you ask for hundreds of records at once, for example from an attached Excel file, Qaalia turns it into a long task that advances in batches and saves its progress.

How Qaalia calls your system

When the agent uses an operation, your system receives a request like this:

POST https://api.tu-negocio.com/qaalia/registrar-estudianteContent-Type: application/jsonIdempotency-Key: 4c9a1e2f-…Authorization: Bearer tu_llave{ "nombre": "Juan Pérez", "curso": "Química" }
  • The data goes in the body as JSON. With GET, it goes in the URL as parameters. Path data ({id}) is placed in the address.
  • Idempotency-Key is unique per action (the Qaalia Connector and the operations of the systems you already had send it): use it to avoid repeating a record if it arrives twice.
  • Whatever your system responds (up to 20,000 characters) is delivered to the agent as the result.
  • For a system on your machine, the request is the same, but the Qaalia Connector makes it to your local API.

Timeouts and retries

SituationWhat Qaalia does
Your system responds 2xxDelivers the response to the agent.
Responds 429 or 503In the systems you already had, waits for whatever Retry-After indicates and retries up to 2 times. In the systems Qaalia creates (including their manual operations), it passes the notice to the agent so it waits before repeating.
Responds with another errorDelivers the error to the agent, which decides how to continue.
Doesn't respond in time (30 s on the internet, 40 s on your machine)Doesn't retry: your system may have processed the action.

If the agent needs several actions at once, Qaalia runs them in parallel, up to 8 at the same time.

Endpoint example

// POST https://api.tu-negocio.com/qaalia/registrar-estudianteapp.post("/qaalia/registrar-estudiante", async (req, res) => {  if (req.get("Authorization") !== `Bearer ${process.env.QAALIA_WEBHOOK_SECRET}`) {    return res.status(401).json({ error: "No autorizado" })  }  // Si Qaalia reintenta la misma acción, no la registres dos veces.  const clave = req.get("Idempotency-Key")  const previa = await buscarPorClave(clave)  if (previa) return res.json(previa)  const { nombre, curso } = req.body  const matricula = await registrarEstudiante({ nombre, curso, clave })  res.status(201).json({ ok: true, matricula: matricula.codigo })})

Prepare your system

If your system doesn't have an API yet, or you want the agent to understand it better, these rules make Qaalia discover everything on its own and the agent choose well:

  • Publish your OpenAPI specification at /openapi.json. Frameworks like FastAPI (Python), NestJS or ASP.NET generate it automatically.
  • A clear name per operation (operationId): crear_cliente, listar_clientes. It's the name the agent will see.
  • Describe when to use it (summary and description) and each piece of data with its description.
  • Use the right method: GET to read, POST to create, PATCH/PUT to edit, DELETE to delete. The suggested permission depends on it.
  • Identifiers in the path and filters in the query: /clientes/{id} and /clientes?q=ana.
  • Flat JSON body: the fields directly, without wrapping them in another object.
  • Allow searching by name or email, not just by id: that way the agent finds records from what you write.
A well-described operation
"/estudiantes/{estudiante_id}": {  "patch": {    "operationId": "actualizar_estudiante",    "summary": "Actualiza los datos de un estudiante",    "description": "Úsala cuando pidan cambiar su curso o su teléfono.",    "parameters": [{      "name": "estudiante_id",      "in": "path",      "required": true,      "schema": { "type": "integer" }    }],    "requestBody": {      "content": {        "application/json": {          "schema": { "$ref": "#/components/schemas/CambiosEstudiante" }        }      }    }  }}

Limits per plan

PlanSystem executions per monthOperations per agent
Starter10,000Unlimited
Pro50,000Unlimited
Enterprise250,000Unlimited

Systems are measured by usage: each time your agent runs an operation (on the internet, on your machine or MCP) it counts as one execution, whether it comes from Qaalia Chat, your API or a trigger. Retrying the same operation doesn't count again and messages are unlimited. Check your usage in Usage, inside your dashboard.

Best practices

  • One operation, one action: crear_cliente and actualizar_cliente work better than a generic operation.
  • Import only what the agent needs: fewer operations, better decisions.
  • Describe the when: the agent picks the operation by its description, not by its address.
  • Respond with clear JSON: include what the agent needs to continue, such as the code of the created record.
  • Respond quickly: if an operation takes long, accept it and process it in the background.
  • Meaningful errors: a message like «The Chemistry course is full» lets the agent explain it to the user.

Frequently asked questions

Does Qaalia connect to my database?
Not on its own. Qaalia uses your system's API, which is what reads and writes to your database with its own rules. That way your system stays in control. Only if you connect an MCP server for your database with the Qaalia Connector does the agent use it through that server, with the permission you choose for each tool.
My system is old and has no API, can I connect it?
Yes, by adding a small API on top of the same database, with only the operations you want to automate. Follow the rules in Prepare your system and connect it with the Qaalia Connector.
Is my system exposed to the internet with the Qaalia Connector?
No. The Connector only makes outbound connections to Qaalia; it doesn't open ports or publish your system.
Do I have to keep a terminal open?
No. With npx qaalia servicio instalar or with Docker, the Connector starts on its own with the machine and restarts if it fails.
Can the agent see my credentials?
No. The credential is stored encrypted and Qaalia adds it to the call without showing it to the model.
What happens if I ask for hundreds of records at once?
Qaalia turns it into a long task that processes the records in batches, saves its progress and adapts to your system's pace.
Can I test an operation before using it?
Yes: click Try on the operation and review the result in the conversation and in the logs.
What happened to my previous tools?
They keep working the same: they're inside the «Mi sistema» system, with the allow permission. You can rename it and change its permissions whenever you want.