New — released November 04, 2026
AI4Delphi

Your customers are asking for AI. Delphi has had no native answer — until now. AI4Delphi is a family of add-on packs that give Delphi applications streaming LLM chat, retrieval over your own documents, tool-calling agents, local ML inference and multimodal vision and speech — all through the proven dotNetCore4Delphi bridge (Core edition). The Framework edition runs on .Net Runtime Library for Delphi.

Free Trial Pricing

 Latest: 1.0.0.0 - What's New

StreamingChat.dpr
uses
  CNCoreClr.AI;

var
  Client : IChatClient;
begin
  Client := TChatClient.Create('anthropic', ApiKey, 'claude-sonnet-4-6');

  Client.TokenReceived :=
    procedure(sender: ICoreClrInstance; e: ITokenEventArgs)
    begin
      Write(e.Text);          // fires per fragment, live
    end;

  Client.Stream('You are concise.',
                'Explain Delphi in two sentences.');
end.

Overview

Nearly every Delphi shop with a line-of-business application is being asked to "add AI" — chat, summarisation, extraction, classification, document Q&A. The demand is large, the budgets are already allocated, and until now there has been no first-class native option.

AI4Delphi closes that gap. Each pack is a set of Delphi units plus a self-contained .NET facade assembly that collapses the heavily async / IAsyncEnumerable / Span<T> surface of the modern AI SDKs into a flat, bridge-friendly API: plain properties, blocking calls, and standard .NET events that the bridge maps straight onto Delphi event properties. You write ordinary Delphi; the AI runs on .NET.

Why AI4Delphi?

  • Token-by-token streaming surfaced as Delphi events — not a blocking call that freezes your UI.
  • Provider neutral. Anthropic, OpenAI and Azure OpenAI behind one IChatClient, selected at construction.
  • Runs locally too. Ollama, LM Studio and Foundry Local speak the OpenAI protocol, so the same code reaches an offline model with no API key.
  • Production hardened. Retry with backoff honouring Retry-After, cost and token telemetry, cancellation, response caching and UI-thread marshalling are built in.
  • Your Delphi code becomes a tool the model can call — the capability no other Delphi product offers.
  • Royalty-free deployment. The licence gates the developer seat at design time; shipped executables run free, exactly like the base bridge.

Requirements

  • A dotNetCore4Delphi licence (Core edition) — the packs run on that bridge and cannot be used without it.
  • Or a .Net Runtime Library for Delphi licence for the Framework edition.
  • Wrapper source is shipped to every entitled customer; precompiled DCUs are an optional accelerator.

Supported Delphi Versions

  • Embarcadero Delphi 13 Florence
  • Embarcadero Delphi 12 Athens
  • Embarcadero Delphi 11 Alexandria
  • Embarcadero Delphi 10.4 Sydney
  • Embarcadero Delphi 10.3 Rio
  • Embarcadero Delphi 10.2 Tokyo
  • Embarcadero Delphi 10.1 Berlin
  • Embarcadero Delphi 10.0 Seattle

Win32 and Win64. AI4Delphi Predict's ONNX scorer requires a 64-bit host.

Supported .NET (Core) Versions

  • Support for .NET 10
  • Support for .NET 9
  • Support for .NET 8

Required for the Core edition, on dotNetCore4Delphi.

Supported .NET (Framework) Versions

  • Support for .NET Framework 4.8
  • Support for .NET Framework 4.7
  • Support for .NET Framework 4.6

Required for the Framework edition, on .Net Runtime Library for Delphi.

Included Demos

These demos are installed with the product. Download the FREE trial to get started.