AI inside FileDB

Ask your database in plain language.

AI Chat, a read-only agent, smart export, and semantic search — work with any OpenAI-compatible provider. Nothing runs without your confirmation.

See what's included AI documentation →
$ curl -X POST $URL/api/ai/agent -d '{ "prompt": "How many active users?" }' → 3 steps: list_tables → run_select → answer {"answer": "There are 1,842 active users.", "iterations": 3}
AI Chat
A conversational SQL assistant: explains the schema, suggests queries, never executes anything without your confirmation.
AI Agent
A read-only, tool-calling agent explores tables and data on its own to answer open-ended questions — up to 6 steps, with a full transcript.
Smart Export
Describe the data you want in plain words — get a ready SELECT to export as CSV.
AI import mapping
When you upload a file, the model suggests a column mapping on its own; falls back to heuristics if it fails — import never breaks.
Semantic search
Embeddings via OpenAI, Voyage, Gemini, or Yandex Cloud — search by meaning, not exact match.
Hybrid search
Vector similarity and a SQL filter — in one HTTP request, returning rows and scores together.
Any OpenAI-compatible provider

One preset covers AI Chat, the Agent, and Smart Export. Embeddings are configured separately per database.

OpenAIA proxy in front of Anthropic or other modelsVoyage AIGoogle GeminiYandex CloudAny OpenAI-compatible API

A human always has the final say

AI proposes, it doesn't decide — every feature has its own guardrails.

The agent is read-only
Only list_tables, describe_table, and run_select exist. There is no tool for writes.
Nothing runs on its own
AI Chat and Smart Export only ever suggest SQL — the operator always confirms before it runs.
Iteration cap
The agent stops after 6 steps by default — no runaway loops.
Fault-tolerant import
If AI is unavailable, column mapping falls back to heuristics — import is never blocked.

Connect your AI provider in a minute

One key in settings, and AI Chat, the Agent, and Smart Export are ready to go.

Read the AI documentation