MakerAi

Data and AI

The AI Operating System for Delphi. 100% native framework with RAG 2.0, autonomous agents, MCP protocol, and universal LLM connector. Supports OpenAI, Claude, Gemini, Ollama, and more. Delphi 10.4+ (limited), full support from Delphi 12 Athens.

Your AI app calls the MakerAi MCP server, which does the data and AI work and sends the result back to the chat.

About MakerAi

MakerAi is a community MCP server from gustavoeenriquez, filed in our directory under data and ai. The AI Operating System for Delphi. 100% native framework with RAG 2.0, autonomous agents, MCP protocol, and universal LLM connector. Supports OpenAI, Claude, Gemini, Ollama, and more. Delphi 10.4+ (limited), full support from Delphi 12 Athens.

MakerAi runs as a remote server at https://search.parallel.ai/mcp, so there is nothing to install: your AI app connects over streamable HTTP, and most remote servers ask you to sign in with OAuth the first time.

The README for MakerAi lists tools such as ModelCaps and SessionCaps, which your AI app can call once the server is connected.

At a glance

Publisher
gustavoeenriquez (community)
Runs
As a hosted remote server
Written in
Pascal
License
MIT
GitHub stars
220

Tools MakerAi gives your AI app

  • ModelCaps, what the model natively supports (e.g., [capImage, capReasoning]).
  • SessionCaps, what the session needs.

Tool names as the MakerAi README lists them. Your AI app shows the live list once MakerAi is connected.

How to set up MakerAi

  1. Nothing to install: MakerAi is a remote server, so all you need is an AI app that accepts a remote MCP URL.
  2. Check the MakerAi README for keys or settings; the registry lists none that MakerAi requires.
  3. Add MakerAi to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the MakerAi tools to confirm the connection.
  5. Run one read-only task with MakerAi first, such as a call to ModelCaps, before you allow anything that writes or sends.

MakerAi compared with similar servers

  • Aleph by Hmbown has fewer GitHub stars than MakerAi (219 against 220); both are community servers, and Aleph runs on your own machine and MakerAi runs as a remote server.
  • AutomatedEmulation by iknowjason has more GitHub stars than MakerAi (223 against 220); both are community servers, and AutomatedEmulation runs on your own machine and MakerAi runs as a remote server.
  • ClawMem by yoloshii has fewer GitHub stars than MakerAi (212 against 220); both are community servers, and ClawMem runs on your own machine and MakerAi runs as a remote server.

Before you connect MakerAi

  • Give MakerAi its own sign-in or token with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each MakerAi tool call until you trust what it does with them.
  • Treat text that MakerAi fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for MakerAi on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for MakerAi

How marketing and sales teams put MakerAi to work, by company size. Pick the size closest to yours and start MakerAi on one use case.

Small business

  • A small team can use MakerAi to clean and enrich a lead list or a spreadsheet in one pass, instead of hours of copy and paste.
  • Owners can ask MakerAi to sort feedback, reviews or survey answers into themes and see what customers mention most.
  • MakerAi runs as a remote server, so a small team can connect it in a few minutes with no install to maintain.

Mid-market

  • Marketing ops can connect MakerAi to enrich and score inbound leads, so sales sees fit and intent before the first call.
  • Content and research teams can use MakerAi to analyze transcripts and surveys at scale and pull the quotes worth using.
  • Start with ModelCaps and SessionCaps, the tools MakerAi lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises can run MakerAi inside their own cloud and data boundary, so models and data stay where governance requires.
  • Large teams can use MakerAi in batch pipelines with evaluation and logging, so AI output is measured before it reaches customers.
  • MakerAi is a community server, so have security review the code and pin a version before MakerAi touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

MakerAi README

From gustavoeenriquez/MakerAi on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

MakerAI Suite v4.0, The AI Ecosystem for Delphi

🌐 Official Website: https://makerai.cimamaker.com 📖 Manual: https://www.gustavoenriquez.com/book-makerai, available in English and Spanish

Free Pascal / Lazarus port available, Full port of MakerAI Suite for FPC 3.2+ (12 LLM drivers, RAG, Agents, MCP, Embeddings). See the fpc branch.

MakerAI is more than an API wrapper

Most AI libraries for Delphi stop at wrapping REST calls. MakerAI is different.

Yes, MakerAI includes native, provider-specific components that give you direct, full-fidelity access to each provider's API, every model parameter, every response field, every streaming event, exactly as the provider defines it.

But on top of that, MakerAI is a complete AI application ecosystem that lets you build production-grade intelligent systems entirely in Delphi:

  • RAG pipelines (vector and graph-based) with SQL-like query languages (VQL / GQL)
  • Autonomous Agents with graph orchestration, checkpoints, and human-in-the-loop approval
  • MCP Servers and Clients, expose or consume tools using the Model Context Protocol (dual-era: stateless spec 2026-07-28 + legacy handshake)
  • Native ChatTools, bridge AI reasoning with deterministic real-world capabilities (PDF, Vision, Speech, Web Search, Shell, Computer Use)
  • Skills, reusable instructions in the SKILL.md format (Agent Skills / PPM), loaded on demand by the model
  • A2A, expose your agent graphs to other agents and call remote ones (Agent-to-Agent protocol 1.0)
  • Production controls, tool-call guardrails, evals, OpenTelemetry tracing, persistent memory, and calibrated decisions with Jev
  • FMX Visual Components, drop-in UI for multimodal chat interfaces
  • Universal Connector, switch providers at runtime without changing your application code

Whether you need a simple one-provider integration or a multi-agent, multi-provider, retrieval-augmented production system, MakerAI covers the full stack, natively in Delphi.

🚀 What's New in v4.1

MakerGQL grows up

MakerGQL, the query language of the knowledge graph (TAiRagGraph.ExecuteMakerGQL), went from a small subset to a language a model can actually work with, Cypher-style:

SHOW SCHEMA                                   -- labels, counts and which relationship joins which labels

MATCH (c:Producto)-[:TIENE_ACIDEZ]->(a:Acidez)
WHERE c.precio BETWEEN 20000 AND $maximo AND c SIMILAR TO 'chocolate notes'
RETURN a.name AS acidity, count(*) AS coffees, round(avg(c.precio)) AS avg_price
ORDER BY coffees DESC LIMIT 5

MATCH p = (f:Finca)-[:PROVEE*1..4]->(t:Tienda) RETURN t.name, length(p), nodes(p)
  • Parameters, ExecuteMakerGQL('... WHERE a.name = $level', ['level', Level]). The value never goes through the parser, so text coming from a user or a model cannot change the query. The book demos now use them.
  • Expressions, BETWEEN, STARTS WITH / ENDS WITH, a general NOT, XOR, + - * / %, negative numbers, and 39 functions (lower, substring, coalesce, round, toInteger, id, type, degree, date, year, …).
  • Results, RETURN with columns, aliases, aggregates (count, sum, avg, min, max, collect, grouped automatically), DISTINCT, ORDER BY, SKIP, LIMIT and WITH ... WHERE returns a Markdown table the model reads well.
  • Patterns, [:A|B], variable-length relationships (*1..3), path variables, OPTIONAL MATCH, comma-separated patterns that share variables, and patterns as conditions (WHERE NOT (c)-[:BOUGHT]->(:Coffee), EXISTS { ... }).
  • Commands, SHOW SCHEMA, SHOW PROPERTIES, ALL SHORTEST PATHS, GET CENTRALITY TOP n, GET COMMUNITIES, GET NEIGHBORS, and EXPLAIN to see how a query runs.
  • Semantic search inside the graph, WHERE c SIMILAR TO 'soft coffee with chocolate notes' and similarity(c, 'text') use the embeddings the graph already has.
  • Writes, off by default, CREATE, MERGE ... ON CREATE SET ... ON MATCH SET, SET, REMOVE, [DETACH] DELETE, only with TAiRagGraph.AllowWrite := True.
  • Source/RAG/MakerGQL_SystemPrompt.md is the block to paste into a model's system prompt: the exact grammar, the functions and the usual mistakes.

Seven bugs fixed on the way (anonymous nodes, comma-separated patterns, = between text and numbers, IN with decimals on a Spanish Windows, two memory leaks, unclosed strings accepted). 26 regression cases cover the language, including one that checks nothing leaks.

Claude: the reasoning text is back

On Claude 4.7+, the 5 family and Haiku 5.5, adaptive thinking returned the thinking blocks empty (the API default display is omitted), so ReasoningContent stayed empty even with EnableThinking. The driver now asks for summarized (new property ThinkingDisplay; '' sends nothing, as before). Billing is the same either way.

⚠️ Behaviour changes
  • A MakerGQL RETURN with properties, functions, aliases, aggregates, DISTINCT, ORDER BY, SKIP, LIMIT, or a WITH, returns a table instead of the subgraph's context text (before, RETURN was parsed and ignored). A query without RETURN, or one returning only variables (RETURN c), is unchanged.
  • MakerGQL compares two numeric strings as numbers ('10' > '9' is true; it was compared as text) and no longer depends on the Windows decimal separator.
  • MakerGQL LIKE only treats % and _ as wildcards (*, ? and [ were wildcards by accident), and strings understand \', \", \\, \n, \t (any other backslash stays as it is).
  • Claude adaptive thinking requests display: "summarized", set ThinkingDisplay := '' to send nothing, as in 4.0.

What's New in v4.0

October 2026 model refresh, checked against the live APIs

Every provider was compared with what its API actually serves today (not only its docs), and every model we could call was tested live from the Delphi drivers. Retired models stay usable as aliases of their successors, so forms and configurations saved with an old name keep working.

Provider New models Retired → now an alias of
Anthropic claude-haiku-5-5 (1M context, $0.10/$0.50 up to 100K-token prompts), claude-fable-5-2 ($8/$40, added in November) claude-sonnet-4-20250514 → claude-sonnet-5-5, claude-opus-4-20250514 → claude-opus-5-5
OpenAI gpt-6.1-sol ($2/$10), gpt-6.1-terra ($1/$5) o3-pro → gpt-5.5-pro, o3/o4-mini-deep-research → gpt-6.1-sol, dall-e-2/3 → gpt-image-1
Google gemini-4-argon, gemini-nano-banana-2.1, gemini-omni-1.1-flash gemini-3.5-flash → 3.6-flash, gemini-3.7-flash → 3.8-flash, gemini-2.5-computer-use-preview → 3.8-flash
Moonshot kimi-k3.1-pro, kimi-k3.1-pro-highspeed kimi-k2.5, moonshot-v1-* → kimi-k3; kimi-latest → kimi-k3.1-pro
Zhipu / Z.ai glm-5.3-flash, glm-5.3-flashx (multimodal, MIT weights) ,

Fixes found on the way (each one returned HTTP 400 or used the wrong setting):

  • Claude Haiku 5.5 was sent down the legacy path (budget_tokens + temperature); it now uses adaptive thinking with effort, accepts mid-conversation system messages, and RefusalFallbackModel is skipped (Haiku 5.5 has no server-side fallback).
  • OpenAI: tlNone is sent as low to gpt-6-astra and gpt-6.1-sol (they reject none); gpt-5.x-pro only accepts medium/high/xhigh, so lower levels go up to medium and tlMax down to xhigh.
  • Gemini 4 Argon was routed to the Gemini 2.5 thinkingBudget path; the driver now picks thinkingLevel by model version.
  • Kimi: every current model (k2.6, k2.7, k3, k3.1) accepts only temperature = 1 and top_p = 0.95; the driver no longer sends them.
  • GLM: tlNone/tlMinimal/tlXHigh/tlMax sent no reasoning_effort, so the API used max, the most expensive level.

Tested live: Claude 7/7, OpenAI 9/9, Kimi + GLM + DeepSeek 12/13 (kimi-k3.1-pro-highspeed answered engine overloaded). Gemini was checked against the official docs only (no account).

MiniMax, new provider

TAiMiniMaxChat (DriverName = 'MiniMax', @MINIMAX_API_KEY) on MiniMax's OpenAI-compatible endpoint: MiniMax-M3 (default; 1M context, image and video input), MiniMax-M3.1-Flash (tunable reasoning depth) and the M2.x family. Reasoning comes back in reasoning_content (reasoning_split is always on) and is re-sent in the history, as MiniMax requires. Thinking follows cap_Reasoning, except on M3.1-Flash, which cannot turn it off; reasoning_effort is only sent to M3.1-Flash. Written against the official docs; not runtime-tested yet (no API key).

Agents, a complete fluent API

AddEdge now adds targets to an existing link (before it replaced it, so a fluent fan-out only ran its last branch), and the builder gained AddNode, AddToolNode, AddExpressionEdge, AddFallbackEdge and SetJoinMode, with construction errors raised as EAiGraphError. TLLMNode runs on the new protected ExecuteNode, has its own Guardrails and is owned by the manager. Forms saved with older versions load again: properties that are no longer published are read and applied (or dropped) instead of raising EReadError.

PPM, A2A agents as packages, and your own registry

A2A defines the Agent Card (/.well-known/agent-card.json) but not where to find an agent. The PPM registry now works as that catalog: a new package type agent holds only the agent's card and its URL (agent-card.json + pai.package with [agent] url), no code, the agent keeps running as a service.

  • Publish from the live agent: ppm publish --desde-url http://host:port reads its card and builds the package. The registry validates the card and indexes name, description and skills (GET /v1/a2a/discover?q=, GET /v1/packages/:name/:version/card).
  • In code: TAiFunctions.SearchPPMAgents, GetAgentCardFromPPM and InstallAgentFromPPM, the agent becomes one more function of the TAiFunctions (a TAiA2AAgentTool).
  • AutoMCP: with uMakerAi.A2A.Client in the project, ppm_search also lists agents, ppm_install recognises an agent package, and the model gets call_agent(agent_name, message). The same AutoMCPConfig.Allowed / Blocked, OnAutoMCPRequest and guardrails apply.
  • Keys never travel in the package: if the agent needs one, it is read from the environment of whoever installs it (PPM_AGENT_KEY_<NAME>).
  • Your own registry: a company can run PPMServer in its own network with its own MCP servers, skills and agents, and point AutoMCPConfig.RegistryUrl at it. Ready-to-run example in Demos/Libro/cap33-registry-corporativo/registro-local (a local registry with an MCP server, a skill, a prompt and an A2A agent of Café La Ladera).
  • Agents are for private registries, by design. An agent package is the URL of someone's running service, not code you can review, and a public registry cannot vouch for whoever operates it, with AutoMCP, installing one means sending your users' conversations there. So PPMServer accepts agents only when started with PPM_ALLOW_AGENTS=1 (plus migration_003_agent_type.sql); the public registry.cimamaker.com keeps them off (publishing an agent returns 400, /v1/a2a/discover returns an empty list, /v1/health reports "agents": false).
  • Demo: 093-A2AChatAgentTool --ppm, the chat does not know the agent's URL; it finds it in the registry, installs it from its card and asks it over A2A.
Chat UI

TAIChatView messages gain a footer, action buttons inside the bubble (OnMessageAction, e.g. Approve / Reject) and collapsible task steps with durations (AddStep / FinishStep), all persisted in the message JSON. Consecutive messages of the same role merge into one bubble (MergeConsecutive), AddAssistantMessage shows generated images, audio and files, and TAIChatInput has a voice-call button wired for realtime sessions.

Computer Use runs the model's actions in order

With computer_toolset_20260801 Claude sends several screen actions per turn that are steps of one sequence; the driver ran them in parallel, so two type actions mixed their letters in the same field. A batch with a screen action now runs serially, in arrival order, the same form took 14 actions and 26 s instead of 114 actions and 322 s. key honours repeat.

Telemetry, one trace per turn

Tool calls run in their own tasks, and OpenAI streaming executes functions on the HTTP thread; none of them carried the turn's span, so every execute_tool (and an agent graph or MCP call behind it) showed up as a separate trace. TAiTelemetry.ContextEnter / ContextLeave carry the parent across threads: a turn that delegates to a graph went from 5 loose traces to one trace of 14 spans.

Production fixes
  • Bridges actually reach the model: the web-search result is injected as context (the model used to answer "I can't browse" with the search already done), the input bridges (audio, image, PDF) no longer fire OnReceiveDataEnd with the raw tool output, and TAiOpenAiWebSearchTool moved to the Responses API (gpt-4o-mini-search-preview was retired).
  • TAiShell security list checks every segment of a chained command (&, |, ;, new lines); before, cd x && del /f /q * passed an allow-list of [cd, dir].
  • Prompt filter: a message blocked by the sanitizer or the prompt guard no longer stays in the history (it reached the model on the next turn), and injection phrases are recognised in Spanish too.
  • OpenAI: apply_patch works in streaming and can create files; strict schemas are enforced on nested objects and arrays, and tools with a free-form object are sent without strict (both were 400s); PromptCacheMode → prompt_cache_options.mode.
  • Concurrency: a new question asked right after OnReceiveDataEnd waits for the previous request to close (intermittent Stream read error); TAudioPushStream no longer deadlocks the app when interrupted mid-playback.
  • Connections and costs: a Model saved in the form is applied on load even when it is not the driver default; ResetTokenCounters (#135); Cost_usd accumulates what the MakerAI broker charges per call.
  • MCP: the SSE client retries a dropped POST (except tools/call), reports IsConnected, and streams over https; freeing a running TAiMCPSSEHttpServer no longer raises an AV.
  • WebSocket: ws:// uses plain TCP (it opened TLS and hung against a plain HTTP server); wss:// works on Android.
  • Evals: the judge receives the case's question and starts a fresh chat for every verdict.
  • Build: packages and the regression suite compile without the IDE Library Path (PR #132), and Delphi sources check out with CRLF, also in the GitHub ZIP (#133).
Demos for the book's 4.0 edition

Demos/Libro holds one project per chapter of IA con Delphi 4.0 (chapters 3 to 37: from the first chat to agents, federation, voice, Computer Use and every bridge), and demos 093–105 follow the Café La Ladera video series (see Demo Projects below).

English, Spanish and Portuguese

Chat UI texts, design-time editors, exception messages, OnError messages and status messages now follow the OS language (or MAKERAI_LANG, or TAiLocale.Language := 'pt' at runtime): English, Spanish and Brazilian Portuguese, 653 texts in Source/Core/uMakerAi.Lang.*.pas. Prompts sent to the model stay in English and ask it to answer in the user's language. An application can add its own language with TAiLocale.RegisterTable.

Portuguese speakers: the Portuguese texts were not written by a native speaker. If something reads wrong, please open an issue or a pull request, every text is in Source/Core/uMakerAi.Lang.Pt.pas, one line per text (keep the key and the %s/%d markers as they are).

Para quem fala português: os textos em português não foram escritos por um falante nativo. Se algo soar estranho, abra uma issue ou um pull request, todos os textos estão em Source/Core/uMakerAi.Lang.Pt.pas, uma linha por texto (mantenha a chave e os marcadores %s/%d como estão).

⚠️ Behaviour changes
  • Claude no longer searches the web by default. Every Claude model in the registry used to declare cap_WebSearch, so the driver sent the web-search tool (and Anthropic added its code-execution tool) on every call: a one-line question cost about 2,400 input tokens on claude-haiku-4-5 and 6,000 on claude-fable-5-2, against 20–30 without it. Web search is now opt-in: add cap_WebSearch to both ModelCaps and SessionCaps (on the connection, or per model with RegisterUserParam). The aa_claude-opus-4-6-agent and aa_claude-opus-5-agent profiles keep it. An app that relied on Claude looking things up on its own must turn it on.
  • imagen-4.0-* aliases now generate with gemini-nano-banana-2.1 (before gemini-3.1-flash-image, deprecated on 2026-10-06).
  • Kimi ignores Temperature and Top_p, the API only accepts its fixed values, so any other value used to fail.
  • gpt-5.x-pro and gpt-6-astra / gpt-6.1-sol adjust the requested effort to the nearest level the model accepts instead of failing.
  • TAiShell in allow-list mode rejects redirections and substitutions (>, <, `, $( )), and checks each segment of a chained command.
  • TAiChat.Run waits up to 15 s for the previous request to close before starting a new one (it does not wait when called from inside OnReceiveDataEnd).
  • Setting a typed ModelConfig field to its current value now pins it (Tool_Active := True was overwritten by the driver registry when it already was True).
  • Internal prompts are in English and ask the model to answer in the user's language: the default SystemPrompt of a new chat component ("You are a helpful assistant. Always answer in the same language the user writes in."), the JSON-format hint, the AutoMCP instructions, the evals judge, the TAiMemory analyzer, the bridge prompts (vision, document, transcription), the context labels added to the user message (audio transcription, web search, memory, knowledge graph), and the descriptions and results of the built-in tools (Computer Use, text editor, memory MCP tools, A2A agent tool). A SystemPrompt saved in a form keeps its text. Code that searched for the old Spanish labels (e.g. Contexto extraído del grafo) must look for the English ones.
  • An MCP server without ServerVersion reports its executable's version in serverInfo instead of 1.0.0.
  • Chat UI and design-time texts follow the OS language (MAKERAI_LANG or TAiLocale.Language to force one) instead of a fixed mix of English and Spanish.
  • Exception messages follow the OS language too, so their text changed (several were in Spanish, others in English). Code that compared E.Message with a fixed text should check the exception class instead. For HTTP errors from a provider there is now EAiHttpError (StatusCode, ResponseText), and TAiChat/TAiChatConnection expose LastHttpStatus for synchronous callers; in English the message is still Error Received: <code>, <body>.

Earlier versions

What came in each release from v3.4 to v3.9 (GPT-Live, Jev, Qwen, Skills, Computer Use on Linux, MCP 2026-07-28, OpenTelemetry, A2A 1.0, guardrails and evals, the full-duplex voice suite, selective driver registration…) is in Docs/WHATS-NEW-3.x.md. The Changelog at the end of this page lists every version.

🏗️ Architecture

┌──────────────────────────────────────────────────────────────────┐
│  Your Delphi Application                                         │
└────┬──────────────────┬─────────────────┬────────────────────────┘
     │                  │                 │
┌────▼────┐   ┌─────────▼──────────┐  ┌──▼────────────────────────┐
│ ChatUI  │   │ Agents             │  │ Design-Time               │
│ FMX     │   │ TAIAgentManager    │  │ Property Editors          │
│ Visual  │   │ TAIBlackboard      │  │ Object Inspector support  │
│ Comps   │   │ Checkpoint/Approve │  └───────────────────────────┘
│         │   │ A2A server/client  │
└────┬────┘   └─────────┬──────────┘
     │                  │
┌────▼──────────────────▼──────────────────────────────────────────┐
│  TAiChatConnection, Universal Connector                        │
│  Switch provider at runtime via DriverName property              │
└──────────────────────────────┬───────────────────────────────────┘
                               │
┌──────────────────────────────▼───────────────────────────────────┐
│  Native Provider Drivers  (direct API access, full fidelity)     │
│  OpenAI · Claude · Gemini · Grok · Mistral · DeepSeek · Kimi     │
│  GLM · MiniMax · Qwen · Groq · Cohere · Ollama · LM Studio       │
│  GenericLLM (any OpenAI-compatible endpoint)                     │
└──────────────────────────────┬───────────────────────────────────┘
                               │
     ┌─────────────────────────┼────────────────────────┐
     │                         │                        │
┌────▼────────┐   ┌────────────▼────────┐   ┌───────────▼─────────┐
│  ChatTools  │   │  RAG                │   │  MCP                │
│  PDF/Vision │   │  Vector (VQL)       │   │  Server (HTTP/SSE   │
│  Speech/STT │   │  Graph (GQL)        │   │  StdIO/Direct)      │
│  Web Search │   │  PostgreSQL/SQLite  │   │  Client             │
│  Shell      │   │  SQL Server         │   │  TAiFunctions bridge│
│  ComputerUse│   │  HNSW · BM25 · RRF  │   └─────────────────────┘
│  Skills     │   │  Rerank · Documents │
└─────────────┘   └─────────────────────┘

┌──────────────────────────────────────────────────────────────────┐
│  Cross-cutting: Guardrails · Evals · OpenTelemetry · TAiMemory   │
│  Jev (calibrated decisions: routing, guards, rerank, labeling)   │
└──────────────────────────────────────────────────────────────────┘

┌──────────────────────────────────────────────────────────────────┐
│  Realtime Voice, parallel WebSocket stack                       │
│  TAiRealtimeConnection · OpenAI STT/Translate · Grok Voice S2S   │
│  OpenAI GPT-Live (full-duplex voice that delegates the thinking) │
│  Qwen voice/STT/translate/TTS · MakerAI                          │
│  Pure-Pascal RFC 6455 + TLS (SChannel / OpenSSL / Android)       │
└──────────────────────────────────────────────────────────────────┘

📡 Supported AI Providers

MakerAI gives you two ways to work with each provider, which you can mix freely:

Direct Provider Components

Full, provider-specific access to every API feature. Use when you need complete control:

Component Provider Latest Models
TAiOpenChat OpenAI gpt-6-sol (default), gpt-6.1-sol, gpt-6.1-terra, gpt-6-luna, gpt-6-astra, gpt-5.6, gpt-image-2.5
TAiClaudeChat Anthropic claude-opus-5-5, claude-sonnet-5-5, claude-fable-5-2, claude-fable-5-1, claude-haiku-5-5, claude-haiku-4-5 (default)
TAiGeminiChat Google gemini-3.8-flash (default), gemini-4-argon, gemini-3.1-pro, gemini-3.8-flash-tts, Nano Banana 2.1
TAiGrokChat xAI grok-4.3, grok-4.5, grok-build, grok-imagine (image/video)
TAiMistralChat Mistral AI mistral-large/medium/small, magistral, devstral, voxtral (STT/TTS)
TAiDeepSeekChat DeepSeek deepseek-flash, deepseek-v4-pro
TAiKimiChat Moonshot kimi-k3, kimi-k3.1-pro, kimi-k2.7-code, kimi-k2.6
TAiGLMChat GLM (Zhipu / Z.ai) glm-4.7, glm-5.3, glm-5.3-flash, glm-5v-turbo, free tiers: glm-4.7-flash / glm-4.6v-flash
TAiMiniMaxChat MiniMax MiniMax-M3 (default), MiniMax-M3.1-Flash, MiniMax-M2.7
TAiQwenChat Qwen (Alibaba Model Studio) qwen3.8-flash, qwen3.8-max, qwen3.7-plus, qwq-plus, qwen3-coder-plus, qwen3-vl-flash
TAiGroqChat Groq openai/gpt-oss-20b, openai/gpt-oss-120b, qwen3.8, whisper-large-v3
TCohereChat Cohere command-a-plus, command-a-03-2025, north-mini-code
TAiOllamaChat Ollama Any local model
TAiLMStudioChat LM Studio Any local model
TAiGenericChat OpenAI-compatible Any OpenAI-API endpoint
Universal Connector

Provider-agnostic code. Switch models or providers by changing one property:

AiConn.DriverName := 'OpenAI';
AiConn.Model := 'gpt-6-sol';         // leave Model empty to get the driver's default
AiConn.Params.Values['ApiKey'] := '@OPENAI_API_KEY';  // resolved from the environment variable

// Switch to Gemini without changing anything else
AiConn.DriverName := 'Gemini';
AiConn.Model := 'gemini-3.8-flash';
AiConn.Params.Values['ApiKey'] := '@GEMINI_API_KEY';

// Or to GLM (Zhipu / Z.ai), glm-4.7-flash is free
AiConn.DriverName := 'GLM';
AiConn.Model := 'glm-4.7-flash';
AiConn.Params.Values['ApiKey'] := '@GLM_API_KEY';

📊 Feature Support Matrix

Feature OpenAI (GPT-6) Claude (5 / 5.5) Gemini (3.8) Grok (4.5) Mistral DeepSeek Ollama
Text Generation ✅ ✅ ✅ ✅ ✅ ✅ ✅
Streaming (SSE) ✅ ✅ ✅ ✅ ✅ ✅ ✅
Function Calling ✅ ✅ ✅ ✅ ✅ ✅ ✅
JSON Mode / Schema ✅ ✅ ✅ ✅ ✅ ✅ ✅
Image Input ✅ ✅ ✅ ✅ ✅ ❌ ✅
PDF / Files ✅ ✅ ✅ ⚠️ ✅ ❌ ⚠️
Image Generation ✅ ❌ ✅ ✅ ❌ ❌ ❌
Video Generation ❌ ² ❌ ✅ ✅ ❌ ❌ ❌
Extended Thinking ✅ ✅ ✅ ✅ ✅ ✅ ⚠️
Speech (TTS/STT) ✅ ❌ ✅ ❌ ❌ ❌ ⚠️
Realtime Voice (WebSocket) ✅ STT ❌ ⚠️ ✅ S2S ❌ ❌ ❌
Web Search ✅ ✅ ✅ ✅ ❌ ❌ ❌
Computer Use ¹ ✅ ✅ ⚠️ ❌ ❌ ❌ ❌
RAG (all modes) ✅ ✅ ✅ ✅ ✅ ✅ ✅
MCP Client/Server ✅ ✅ ✅ ✅ ✅ ✅ ✅
Agents ✅ ✅ ✅ ✅ ✅ ✅ ✅

Legend: ✅ Native | ⚠️ Tool-Assisted bridge | ❌ Not Supported

¹ Computer Use is opt-in. cap_ComputerUse hands the model the real mouse and keyboard, so no model enables it by default, you add the capability yourself (see the Computer Use section below). Native support: OpenAI gpt-6-astra; Claude claude-opus-4-8 / -opus-5 / -sonnet-5 / -fable-5, and claude-sonnet-5-5 (tested live on Xvfb). Gemini is marked ⚠️: the dedicated gemini-2.5-computer-use-preview model was shut down and is now an alias of gemini-3.8-flash, which lists computer use as a preview tool, not runtime-tested. The other Claude 5.5 / Fable 5.1 / Haiku 5.5 models use the same computer_toolset but have not been runtime-tested with it yet.

² OpenAI shut Sora down, so there is no video generation through OpenAI any more (the Sora classes are kept only so old projects compile). Use Veo through Gemini or Grok Imagine.

🎨 Component Palette

Every one of the 111 components has its own palette icon. The tile color identifies the provider (maroon = MakerAI framework, black = OpenAI, blue = Gemini, purple = Qwen, teal = Jev…).

The full sheet groups them by category, with the class name and the palette tab each one lands on. Icons are generated by Source/Resources/gen_icons.py and the sheet by gen_palette_sheet.py; see Source/Resources/CLAUDE.md to add an icon for a new component.

🧩 Ecosystem Modules

🧠 RAG, Retrieval-Augmented Generation

Two complementary retrieval engines with their own query languages:

Vector RAG, semantic and hybrid search over document embeddings:

  • HNSW index for approximate nearest-neighbor search
  • BM25 lexical index for keyword matching
  • Hybrid search with RRF (Reciprocal Rank Fusion) or weighted fusion
  • Reranking and Lost-in-the-Middle reordering for LLM context
  • VQL (Vector Query Language), SQL-like DSL for complex retrieval queries:
    MATCH (documents) SEARCH 'machine learning'
    USING HYBRID WITH WEIGHTS(0.7, 0.3) FUSION RRF
    WHERE category = 'tech' AND date > '2025-01-01'
    RERANK 'neural networks' REGENERATE
    LIMIT 10
    
  • Drivers: PostgreSQL/pgvector, SQLite, in-memory

Graph RAG, knowledge graph with semantic search over entities and relationships:

  • Nodes and edges with embeddings and metadata
  • MakerGQL, Graph Query Language based on ISO/IEC 39075:2024 (GQL standard):
    MATCH (p:Person)-[r:WORKS_AT]->(c:Company)
    WHERE c.city = 'Madrid' DEPTH 2
    RETURN p, r, c
    
  • Dijkstra shortest path, centrality analysis, hub detection
  • Export to GraphViz DOT, GraphML (Gephi), native JSON format
  • Document lifecycle management (ingest → chunk → embed → link)
🤖 Agents, Autonomous Orchestration

Graph-based multi-agent workflows with full thread safety:

  • TAIAgentManager, executes directed graphs of AI nodes via thread pool
  • TAIAgentsNode, single execution unit; runs an LLM call, a tool, or custom logic
  • TAIBlackboard, thread-safe shared state dictionary between all nodes
  • Link modes: lmFanout (parallel broadcast), lmConditional (routing), lmExpression (binding), lmManual
  • Join modes: jmAny (first arrival wins), jmAll (wait for all inputs)
  • Durable execution: IAiCheckpointer persists full agent state between process restarts; built-in implementations: TAiFileCheckpointer (JSON files) and TAiDatabaseCheckpointer (FireDAC, SQLite, PostgreSQL, Firebird, etc.)
  • Human-in-the-loop: Node.Suspend(Reason, Context) pauses a node and saves the checkpoint; TAiWaitApprovalTool provides a drop-in approval tool; resume with ResumeThread(ThreadID, NextNode, HumanInput)
  • Supports any LLM provider via TAiChatConnection
🔗 MCP, Model Context Protocol

Full dual-era implementation of the MCP standard for both consuming and exposing tools: supports the stateless spec revision 2026-07-28 (per-request _meta, server/discover, MRTR elicitation) and interoperates automatically with legacy peers that still use the initialize handshake.

MCP Server, expose Delphi functions as MCP tools, callable by any MCP client (Claude Desktop, AI agents, etc.):

  • Transports: HTTP (Streamable HTTP, stateless per spec 2026-07-28), StdIO, Direct (in-process), SSE (legacy, see deprecation note below)
  • Dual-era per request: modern clients are served stateless (per-request _meta identity + OnClientConnect vetting); legacy clients keep the initialize handshake and Mcp-Session-Id session gating
  • MRTR (Multi Round-Trip Requests): tools can pause and ask the user for confirmation or data via elicitation (resultType: "input_required" + opaque requestState), working example in Demos/031-MCPServer/uTool.ConfirmDemo.pas
  • Bridge TAiFunctions → IAiMCPTool, any existing TAiFunctions component becomes an MCP server instantly
  • API Key authentication, CORS configuration
  • TAiMCPResponseBuilder for structured responses (text + files + media)
  • RTTI-based automatic JSON Schema generation from parameter classes

MCP Client, consume any external MCP server from your Delphi app:

  • Dual-era probe: tries server/discover first and falls back to the legacy handshake automatically; the negotiated mode is exposed in NegotiatedProtocol
  • OnInputRequired event resolves MRTR elicitations (retry loop with requestState echo; assigning the handler declares the elicitation capability)
  • Connect to Claude Desktop tools, filesystem servers, database tools, etc.
  • Integrated into TAiFunctions component alongside native function definitions

Quick way to try TMCPClientHttp against a public MCP server, this example uses Parallel Search, a third-party commercial service (Parallel Web Systems, not affiliated with MakerAI) that exposes web_search / web_fetch tools over MCP:

var
  MCPClient: TMCPClientHttp;
begin
  MCPClient := TMCPClientHttp.Create(nil);
  try
    MCPClient.URL := 'https://search.parallel.ai/mcp';
    if MCPClient.Initialize then
      Writeln(MCPClient.Tools.Text);
  finally
    MCPClient.Free;
  end;
end;

Note: at the time of writing (Aug 2026) Parallel offers a rate-limited free tier that works without an API key, but pricing, limits and availability are set by Parallel and may change at any time, check their terms before relying on it in production. Be aware that your search queries and any fetched URLs are sent to their servers. MakerAI has no relationship with this service; it is shown only as a convenient public endpoint for testing the MCP HTTP client, and any spec-compliant MCP server works the same way.

⚠️ SSE transport deprecation (spec 2026-07-28): the classic HTTP+SSE transport (GET /sse + POST /messages) was formally moved to Deprecated state by MCP spec revision 2026-07-28 under the project's feature-lifecycle policy, which mandates a minimum 12-month window. Its earliest possible removal from the spec is July 2027, actual removal happens in the first spec revision published after that date, at the maintainers' discretion, and may come later. Removal deletes the transport from future spec revisions only: existing MakerAI SSE endpoints keep working between themselves, but third-party clients (Claude Desktop, official SDKs) will progressively drop it. Use the HTTP or StdIO transports for anything new. Note that SSE as a streaming response format survives inside Streamable HTTP, only the standalone HTTP+SSE transport is being retired.

Read the rest of the MakerAi README on GitHub

Questions about MakerAi

What is the MakerAi MCP server?

The AI Operating System for Delphi. 100% native framework with RAG 2.0, autonomous agents, MCP protocol, and universal LLM connector. Supports OpenAI, Claude, Gemini, Ollama, and more. Delphi 10.4+ (limited), full support from Delphi 12 Athens. MakerAi is maintained by gustavoeenriquez on GitHub at gustavoeenriquez/MakerAi, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I add MakerAi to Claude Code?

MakerAi is a remote server, so you add its URL instead of installing a package: run claude mcp add --transport http makerai https://search.parallel.ai/mcp in your terminal. In other apps, add the MakerAi URL as a remote or custom connector.

Does MakerAi need an API key?

The registry lists no required keys for MakerAi. Check the MakerAi README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is MakerAi an official MCP server?

No. MakerAi is a community server maintained by gustavoeenriquez. Community servers can be excellent; read the code and the open issues before you give MakerAi access to company data.

What license is MakerAi under?

MakerAi is released under the MIT license, according to its GitHub repository. The license covers the code of MakerAi; the service it connects to has its own terms.