Umbraco.AI.Agent
18.0.0
Prefix Reserved
dotnet add package Umbraco.AI.Agent --version 18.0.0
NuGet\Install-Package Umbraco.AI.Agent -Version 18.0.0
<PackageReference Include="Umbraco.AI.Agent" Version="18.0.0" />
<PackageVersion Include="Umbraco.AI.Agent" Version="18.0.0" />Directory.Packages.props
<PackageReference Include="Umbraco.AI.Agent" />Project file
paket add Umbraco.AI.Agent --version 18.0.0
#r "nuget: Umbraco.AI.Agent, 18.0.0"
#:package Umbraco.AI.Agent@18.0.0
#addin nuget:?package=Umbraco.AI.Agent&version=18.0.0Install as a Cake Addin
#tool nuget:?package=Umbraco.AI.Agent&version=18.0.0Install 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.Copilotalongside 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 -
AGUIEventStreamResultfor 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
- CLAUDE.md - Development guide, architecture, and technical details for this package
- Root CLAUDE.md - Shared coding standards and conventions
- Contributing Guide - How to contribute to the monorepo
License
This project is licensed under the MIT License. See LICENSE.md for details.
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Umbraco.AI.Agent.Startup (>= 18.0.0)
- Umbraco.AI.Agent.Web.StaticAssets (>= 18.0.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Umbraco.AI.Agent:
| Package | Downloads |
|---|---|
|
Umbraco.AI.Agent.UI
Shared chat UI components for Umbraco AI Agent surfaces |
|
|
Simplepage.Eddi.Umbraco.v17
Eddi AI content assistant for Umbraco 17. Provides pre-built agents and tools that plug into Umbraco.AI's copilot. |
|
|
Umbraco.AI.Automate
Umbraco Automate integration for Umbraco.AI.Agent |
|
|
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 |
|---|---|---|
| 18.0.0 | 150 | 6/25/2026 |
| 17.0.0 | 329 | 6/25/2026 |
| 1.10.4 | 963 | 6/4/2026 |
| 1.10.3 | 359 | 6/1/2026 |
| 1.10.2 | 835 | 5/21/2026 |
| 1.10.0 | 601 | 5/14/2026 |
| 1.9.0 | 742 | 4/30/2026 |
| 1.8.0 | 1,438 | 4/16/2026 |
| 1.7.0 | 822 | 4/8/2026 |
| 1.6.0 | 781 | 3/27/2026 |
| 1.5.0 | 1,161 | 3/17/2026 |
| 1.4.0 | 296 | 3/12/2026 |
| 1.3.1 | 827 | 3/4/2026 |
| 1.3.0 | 328 | 3/2/2026 |
| 1.2.0 | 1,459 | 2/17/2026 |
| 1.1.0 | 438 | 2/10/2026 |
| 1.0.0 | 331 | 2/3/2026 |