Book cover: Delphi in the Age of Agents
Delphi & AI Agents

Your ERP already holds the knowledge of the business. Now it can talk to AI agents.

Delphi in the Age of Agents

Build MCP servers and connect systems and ERPs to Artificial Intelligence

Build the bridge between your Delphi systems and AI agents with MCP, controlled capabilities, and human approval.

Print edition availableBuy the print bookRead on paper, ready to consult and keep close.R$ 108,04Buy on UICLAP Buy on KindleAlso included with Kindle Unlimited

Prices checked on 28/09/2026. Shipping is set by the store.

★ Review this book

This book is currently available in Brazilian Portuguese.

Edition1st edition2026Length244 pages16 × 23 cmBook languagePortugueseBrazilFormatsPrint and KindleTwo editionsISBN978-65-02-36445-1Print edition
About the book

A complete view of the book.

Delphi in the Age of Agents shows how to expose bounded capabilities from corporate systems and ERPs to artificial intelligence agents without granting unrestricted access to internal complexity. With Delphi 13, readers build a local MCP server over a fictional, functional MiniERP, covering JSON-RPC, stdio transport, discovery, tools, resources, and prompts without relying on an external MCP library.

The project covers inventory, customer, product, and invoice queries, plus the controlled preparation of a quotation. Explicit contracts, restricted arguments and responses, human approval, testing, and observability keep critical actions under control. A public repository accompanies the book with the complete project and executable examples; a final guided path leads from an existing ERP rule to implementing and testing the first real tool.

The challenge

Does this situation sound familiar?

Delphi systems and ERPs concentrate essential rules, data, and operations, but handing that knowledge directly to an agent can expose complexity, expand permissions, and turn a promising integration into an operational risk.

The book’s approach

A path from intention to practice.

Build an MCP server in Delphi, understand agents, tools, and context, and connect a MiniERP to controlled queries and operations with explicit contracts, human authorization, observability, and limits proportional to risk.

“Expose capabilities, not complexity. Keep control over every decision.”
By the end of the book, you will be able to:
✓Understand how agents use tools, context, and the MCP protocol
✓Design the architecture of an MCP server written in Delphi
✓Implement tools, resources, and prompts with explicit contracts
✓Connect agents to real ERP queries and business capabilities
✓Control critical operations with authorization and action limits
✓Prepare tests, observability, and evolution beyond the prototype
Questions that guide the reading

Answers begin with the right questions.

Questions explored through context, criteria, and examples.

01

How does an agent discover and use capabilities from a Delphi system?

02

How can an MCP server be built without an external library?

03

How can ERP operations be exposed without offering generic SQL access?

04

Which controls separate an interesting demo from a dependable integration?

Inside the book

A structured journey that helps you move forward.

Concepts and applications presented in a coherent sequence.

01

Agents and MCP

Understand the paradigm shift, the role of context, and how MCP connects models to systems.

02

MCP server in Delphi

Implement the architecture, JSON-RPC, stdio transport, and message cycle of an MCP server with Delphi 13.

03

Tools, resources, and prompts

Expose tools, resources, and prompts as clear, validated, and discoverable business capabilities.

04

MiniERP integration

Apply the server to a functional MiniERP for inventory, customer, product, and invoice queries without opening generic SQL access.

05

Security and authorization

Classify operations by risk and incorporate authorization, human approval, and explicit limits.

06

Testing and operations

Follow a guided path from an existing rule to implementing and testing the first real tool, gathering evidence for safe evolution.

What makes this book different

Depth to understand. Clarity to keep moving forward.

01

An MCP server built with Delphi 13, JSON-RPC, and stdio transport

02

A fictional, functional MiniERP with the complete project in a public repository

03

Operations classified as reading, preparation, or critical action

04

Security, human approval, and observability integrated throughout the journey

Who this book is for

Knowledge that becomes action.

Delphi developers, architects, and technical leaders who maintain or evolve corporate systems and ERPs will find a direct approach connected to concrete problems.

✓ Delphi developers maintaining corporate systems and ERPs✓ Architects who need to integrate applications with AI agents✓ Technical leaders responsible for security and governance✓ Professionals who want to understand and build MCP servers
Before you begin

What you need to benefit from the book

✓Intermediate experience with Delphi and Object Pascal

✓Familiarity with APIs, JSON, and business systems is helpful, but MCP is introduced from the ground up

An informed choice

This may not be the right book if…

—Readers seeking only ready-made prompts or a generic introduction to AI

—Readers planning to give agents unrestricted database access

Why this author, on this subject

Experience that gives the reading context.

An Embarcadero MVP and Delphi developer for more than 20 years, Régys connects his experience in corporate systems, ERPs, and software architecture to secure integration between applications and artificial intelligence agents.

Book readers

Experiences from readers.

The first reviews will appear here after moderation.

Have you read it?

Share your reading experience.

After confirming your email, your review will be moderated before publication. Your email will never be displayed.

Your rating
Continue the conversation

Receive resources and updates about Delphi in the Age of Agents.

Sign up for content, samples, and new resources related to the book.

Choose your edition

Continue your journey with the complete book.

Build MCP servers and connect systems and ERPs to Artificial Intelligence

Prices checked on 28/09/2026. Shipping is set by the store.

Print edition ISBN: 978-65-02-36445-1