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
fpcbranch.
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 generalNOT,XOR,+ - * / %, negative numbers, and 39 functions (lower,substring,coalesce,round,toInteger,id,type,degree,date,year, …). - Results,
RETURNwith columns, aliases, aggregates (count,sum,avg,min,max,collect, grouped automatically),DISTINCT,ORDER BY,SKIP,LIMITandWITH ... WHEREreturns 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, andEXPLAINto see how a query runs. - Semantic search inside the graph,
WHERE c SIMILAR TO 'soft coffee with chocolate notes'andsimilarity(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 withTAiRagGraph.AllowWrite := True. Source/RAG/MakerGQL_SystemPrompt.mdis 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
RETURNwith properties, functions, aliases, aggregates,DISTINCT,ORDER BY,SKIP,LIMIT, or aWITH, returns a table instead of the subgraph's context text (before,RETURNwas parsed and ignored). A query withoutRETURN, 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
LIKEonly 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", setThinkingDisplay := ''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 |
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 witheffort, accepts mid-conversationsystemmessages, andRefusalFallbackModelis skipped (Haiku 5.5 has no server-side fallback). - OpenAI:
tlNoneis sent aslowtogpt-6-astraandgpt-6.1-sol(they rejectnone);gpt-5.x-proonly acceptsmedium/high/xhigh, so lower levels go up tomediumandtlMaxdown toxhigh. - Gemini 4 Argon was routed to the Gemini 2.5
thinkingBudgetpath; the driver now picksthinkingLevelby model version. - Kimi: every current model (k2.6, k2.7, k3, k3.1) accepts only
temperature = 1andtop_p = 0.95; the driver no longer sends them. - GLM:
tlNone/tlMinimal/tlXHigh/tlMaxsent noreasoning_effort, so the API usedmax, 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:portreads 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,GetAgentCardFromPPMandInstallAgentFromPPM, the agent becomes one more function of theTAiFunctions(aTAiA2AAgentTool). - AutoMCP: with
uMakerAi.A2A.Clientin the project,ppm_searchalso lists agents,ppm_installrecognises anagentpackage, and the model getscall_agent(agent_name, message). The sameAutoMCPConfig.Allowed/Blocked,OnAutoMCPRequestand 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.RegistryUrlat it. Ready-to-run example inDemos/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
agentpackage 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 withPPM_ALLOW_AGENTS=1(plusmigration_003_agent_type.sql); the publicregistry.cimamaker.comkeeps them off (publishing an agent returns 400,/v1/a2a/discoverreturns an empty list,/v1/healthreports"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
OnReceiveDataEndwith the raw tool output, andTAiOpenAiWebSearchToolmoved to the Responses API (gpt-4o-mini-search-previewwas retired). TAiShellsecurity 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_patchworks in streaming and can create files; strict schemas are enforced on nested objects and arrays, and tools with a free-form object are sent withoutstrict(both were 400s);PromptCacheMode→prompt_cache_options.mode. - Concurrency: a new question asked right after
OnReceiveDataEndwaits for the previous request to close (intermittent Stream read error);TAudioPushStreamno longer deadlocks the app when interrupted mid-playback. - Connections and costs: a
Modelsaved in the form is applied on load even when it is not the driver default;ResetTokenCounters(#135);Cost_usdaccumulates what the MakerAI broker charges per call. - MCP: the SSE client retries a dropped POST (except
tools/call), reportsIsConnected, and streams overhttps; freeing a runningTAiMCPSSEHttpServerno 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/%dmarkers 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/%dcomo 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 onclaude-haiku-4-5and 6,000 onclaude-fable-5-2, against 20–30 without it. Web search is now opt-in: addcap_WebSearchto bothModelCapsandSessionCaps(on the connection, or per model withRegisterUserParam). Theaa_claude-opus-4-6-agentandaa_claude-opus-5-agentprofiles keep it. An app that relied on Claude looking things up on its own must turn it on. imagen-4.0-*aliases now generate withgemini-nano-banana-2.1(beforegemini-3.1-flash-image, deprecated on 2026-10-06).- Kimi ignores
TemperatureandTop_p, the API only accepts its fixed values, so any other value used to fail. gpt-5.x-proandgpt-6-astra/gpt-6.1-soladjust the requested effort to the nearest level the model accepts instead of failing.TAiShellin allow-list mode rejects redirections and substitutions (>,<,`,$( )), and checks each segment of a chained command.TAiChat.Runwaits up to 15 s for the previous request to close before starting a new one (it does not wait when called from insideOnReceiveDataEnd).- Setting a typed
ModelConfigfield to its current value now pins it (Tool_Active := Truewas overwritten by the driver registry when it already wasTrue). - Internal prompts are in English and ask the model to answer in the user's language: the default
SystemPromptof 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, theTAiMemoryanalyzer, 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). ASystemPromptsaved 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
ServerVersionreports its executable's version inserverInfoinstead of1.0.0. - Chat UI and design-time texts follow the OS language (
MAKERAI_LANGorTAiLocale.Languageto 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.Messagewith a fixed text should check the exception class instead. For HTTP errors from a provider there is nowEAiHttpError(StatusCode,ResponseText), andTAiChat/TAiChatConnectionexposeLastHttpStatusfor synchronous callers; in English the message is stillError 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 |
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_ComputerUsehands 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: OpenAIgpt-6-astra; Claudeclaude-opus-4-8/-opus-5/-sonnet-5/-fable-5, andclaude-sonnet-5-5(tested live on Xvfb). Gemini is marked ⚠️: the dedicatedgemini-2.5-computer-use-previewmodel was shut down and is now an alias ofgemini-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 samecomputer_toolsetbut 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 poolTAIAgentsNode, single execution unit; runs an LLM call, a tool, or custom logicTAIBlackboard, 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:
IAiCheckpointerpersists full agent state between process restarts; built-in implementations:TAiFileCheckpointer(JSON files) andTAiDatabaseCheckpointer(FireDAC, SQLite, PostgreSQL, Firebird, etc.) - Human-in-the-loop:
Node.Suspend(Reason, Context)pauses a node and saves the checkpoint;TAiWaitApprovalToolprovides a drop-in approval tool; resume withResumeThread(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
_metaidentity +OnClientConnectvetting); legacy clients keep theinitializehandshake andMcp-Session-Idsession gating - MRTR (Multi Round-Trip Requests): tools can pause and ask the user for confirmation or data via elicitation (
resultType: "input_required"+ opaquerequestState), working example inDemos/031-MCPServer/uTool.ConfirmDemo.pas - Bridge
TAiFunctions → IAiMCPTool, any existingTAiFunctionscomponent becomes an MCP server instantly - API Key authentication, CORS configuration
TAiMCPResponseBuilderfor 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/discoverfirst and falls back to the legacy handshake automatically; the negotiated mode is exposed inNegotiatedProtocol OnInputRequiredevent resolves MRTR elicitations (retry loop withrequestStateecho; assigning the handler declares theelicitationcapability)- Connect to Claude Desktop tools, filesystem servers, database tools, etc.
- Integrated into
TAiFunctionscomponent 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.