Umbraco.AI.Agent 18.4.3

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Umbraco.AI.Agent --version 18.4.3
                    
NuGet\Install-Package Umbraco.AI.Agent -Version 18.4.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Umbraco.AI.Agent" Version="18.4.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Umbraco.AI.Agent" Version="18.4.3" />
                    
Directory.Packages.props
<PackageReference Include="Umbraco.AI.Agent" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Umbraco.AI.Agent --version 18.4.3
                    
#r "nuget: Umbraco.AI.Agent, 18.4.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Umbraco.AI.Agent@18.4.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Umbraco.AI.Agent&version=18.4.3
                    
Install as a Cake Addin
#tool nuget:?package=Umbraco.AI.Agent&version=18.4.3
                    
Install as a Cake Tool

Umbraco.AI.Agent

An agent management add-on for Umbraco.AI that provides storage, execution, and management of AI agents with full AG-UI protocol support.

Features

  • Agent Management - Store and manage AI agent definitions with instructions and configuration
  • Agent Execution - Run agents with real-time SSE streaming via the AG-UI protocol
  • Profile Integration - Link agents to Umbraco.AI profiles for model configuration
  • Context Injection - Attach context sources to agents for RAG scenarios
  • Backoffice UI - Agent management interface integrated into Umbraco
  • Management API - RESTful API for agent CRUD operations and execution

Note: For the Copilot chat UI (sidebar, tool execution, HITL approval), install Umbraco.AI.Agent.Copilot alongside this package.

Monorepo Context

This package is part of the Umbraco.AI monorepo. For local development, see the monorepo setup instructions in the root README.

Installation

# Agent only (management + APIs)
dotnet add package Umbraco.AI.Agent

# Agent + Copilot (includes chat UI)
dotnet add package Umbraco.AI.Agent
dotnet add package Umbraco.AI.Agent.Copilot

This meta-package includes all required components. For more control, install individual packages:

Package Description
Umbraco.AI.Agent.Core Domain models and service interfaces
Umbraco.AI.Agent.Web Management API controllers
Umbraco.AI.Agent.Web.StaticAssets Backoffice UI components
Umbraco.AI.Agent.Persistence EF Core persistence
Umbraco.AI.Agent.Persistence.SqlServer SQL Server migrations
Umbraco.AI.Agent.Persistence.Sqlite SQLite migrations
Umbraco.AI.AGUI AG-UI protocol SDK

Requirements

  • Umbraco CMS 17.0.0+
  • Umbraco.AI 1.0.0+
  • .NET 10.0

Agent Model

An AIAgent represents a stored agent definition:

Property Description
Id Unique identifier (GUID)
Alias URL-safe unique identifier
Name Display name
Description Optional description
ProfileId Umbraco.AI profile for model configuration
ContextIds Context sources for RAG injection
Instructions System instructions defining agent behavior
IsActive Whether the agent is available for use

Management API

All endpoints are under /umbraco/ai/management/api/v1/agents/:

Method Endpoint Description
GET / List all agents (paged)
GET /{idOrAlias} Get agent by ID or alias
POST / Create agent
PUT /{idOrAlias} Update agent
DELETE /{idOrAlias} Delete agent
POST /{idOrAlias}/run Run agent with AG-UI streaming

The {idOrAlias} parameter accepts either a GUID or a string alias.

Running Agents

The /run endpoint accepts an AG-UI RunRequest and returns a Server-Sent Events stream:

POST /umbraco/ai/management/api/v1/agents/my-agent/run
Content-Type: application/json

{
  "threadId": "thread-123",
  "runId": "run-456",
  "messages": [
    { "role": "user", "content": "Hello!" }
  ]
}

Response: text/event-stream with AG-UI events.

Umbraco.AI.AGUI

The Umbraco.AI.AGUI package is a standalone AG-UI protocol SDK that provides:

  • Event Types - All AG-UI event models (lifecycle, messages, tools, state)
  • SSE Streaming - AGUIEventStreamResult for ASP.NET Core streaming
  • Models - AGUIRunRequest, AGUIMessage, AGUITool, etc.

This package can be used independently of the Agent add-on to build custom AG-UI endpoints.

Architecture

Built on the Microsoft Agent Framework (MAF) for agent execution, with a custom AG-UI layer that provides:

  • Umbraco authorization integration
  • Frontend tool handling with client-side execution
  • Custom context item injection

Documentation

License

This project is licensed under the MIT License. See LICENSE.md for details.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Umbraco.AI.Agent:

Package Downloads
Umbraco.AI.Agent.UI

Shared chat UI components for Umbraco AI Agent surfaces

Umbraco.AI.Automate

Umbraco Automate integration for Umbraco.AI.Agent

Simplepage.Eddi.Umbraco.v17

Eddi AI content assistant for Umbraco 17. Provides pre-built agents and tools that plug into Umbraco.AI's copilot.

Aivie.Content

From keyword to published page, without leaving Umbraco. Aivie researches keywords, writes complete pages using your own block types, plans when they go live, and tracks how they rank in Search Console. Runs on Umbraco.AI — by ipsis.

Umbraco.Community.AiAgentMemory

AI Agent Memory for Umbraco — persistent memory + learning layer for Umbraco's AI agent stack. Editors give thumbs-up / thumbs-down feedback on agent runs via the AI Agent Feedback widget; the package indexes that feedback as searchable memory and injects it into subsequent runs so agents suppress false positives and reuse validated patterns. Composes on Umbraco.AI 1.8+ (vector store via Umbraco.AI.Search). Memory is off by default; per-agent opt-in via appsettings.json. Built for Umbraco v17+.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
19.0.0-rc.1 46 11/12/2026
18.4.3 140 11/11/2026
18.4.2 486 11/3/2026
18.4.1 374 10/27/2026
18.4.0 935 10/19/2026
18.3.0 950 10/5/2026
18.2.0 425 10/1/2026
18.2.0-rc.4 195 9/18/2026
18.2.0-rc.3 170 9/10/2026
18.1.7 896 9/24/2026
18.1.6 1,055 9/10/2026
17.4.3 167 11/11/2026
17.4.2 428 11/3/2026
17.4.1 1,149 10/27/2026
17.4.0 2,420 10/19/2026
17.3.0 2,861 10/5/2026
17.2.0 1,503 10/1/2026
17.2.0-rc.4 361 9/18/2026
17.1.7 664 9/24/2026
17.1.6 933 9/10/2026
Loading failed