liveBook · Manning

Agent engine

As explained in AI Agents in Action

An agent engine is a software component that powers an agent by connecting its base behavior to tools and language models.

An agent engine powers an agent by connecting its profile and base behavior to language models and tools. It provides the implementation that turns user input into responses. section 7.3 section 7.4

A practical agent engine typically:

  • Subclasses a base agent and implements response methods. section 7.4
  • Connects to a model such as OpenAI, while allowing other model or tool platforms. section 7.4
  • Discovers actions through a plugin folder and supports tool specifications and function calling. section 7.4 section 7.5
  • Executes multiple tool calls and sends their results back to the model for a response. section 7.5

OpenAI-powered response

An OpenAI agent appends the user message, calls the chat-completions API with its model and messages, stores the returned content, and returns it. With tools enabled, it instead supplies tool specifications, executes requested functions, and makes a follow-up model call. section 7.4 section 7.5

How AI Agents in Action covers it

How deep it goes
Explains subclassing, model calls, plugin discovery, and parallel tool execution, while deferring underlying action complexity.
Examples
Uses an OpenAI agent, weather and recommendation actions, YAML profiles, and parallel tool calls.
What it assumes
Assumes familiarity with agent profiles and personas, then demonstrates the base engine and OpenAI implementation.
What you can do after
Build an agent engine by subclassing the base agent, connecting a model, registering actions, and implementing response handling.
How it connects
Connects agent profiles, personas, language models, tools, function calling, plugins, and planners.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of AI Agents in Action. The section links point to the parts of the book it draws on.