Semantico.AI 3.0.0.4

dotnet add package Semantico.AI --version 3.0.0.4
                    
NuGet\Install-Package Semantico.AI -Version 3.0.0.4
                    
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="Semantico.AI" Version="3.0.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Semantico.AI" Version="3.0.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Semantico.AI" />
                    
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 Semantico.AI --version 3.0.0.4
                    
#r "nuget: Semantico.AI, 3.0.0.4"
                    
#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 Semantico.AI@3.0.0.4
                    
#: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=Semantico.AI&version=3.0.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Semantico.AI&version=3.0.0.4
                    
Install as a Cake Tool

Semantico.AI

AI-powered extensions for Semantico providing LLM-based documentation generation, alert creation, and autonomous AI actors.

Overview

Semantico.AI is an optional add-on package for Semantico that adds artificial intelligence capabilities:

  • Automatic Documentation Generation: Generate comprehensive database documentation using LLMs
  • Natural Language Alerts: Convert plain English descriptions to SQL queries
  • AI Actors: Autonomous agents that monitor and manage queries/subscriptions
  • Multi-Agent Workflows: Parallel documentation generation using specialized domain agents

Installation

dotnet add package Semantico.AI

Supported LLM Providers

  • OpenAI (GPT-4, GPT-4 Turbo)
  • Anthropic Claude (Claude 3.5 Sonnet, Claude 3 Opus)
  • Azure OpenAI (GPT-4 deployments)
  • AWS Bedrock (Claude models)

Configuration

Basic Setup

builder.Services.AddSemantico(builder.Configuration, options =>
{
    options.UsePostgreSql(connectionString, "semantico");
    options.UseAI = true; // Enable AI features
});

LLM Configuration (appsettings.json)

{
  "Semantico": {
    "LLM": {
      "Provider": "OpenAI",
      "ApiKey": "your-api-key-here",
      "Model": "gpt-4o",
      "BaseUrl": "https://api.openai.com/v1"
    }
  }
}

Provider Examples

OpenAI:

{
  "Provider": "OpenAI",
  "Model": "gpt-4o",
  "ApiKey": "sk-..."
}

Anthropic Claude:

{
  "Provider": "Anthropic",
  "Model": "claude-3-5-sonnet-20241022",
  "ApiKey": "sk-ant-..."
}

Azure OpenAI:

{
  "Provider": "AzureOpenAI",
  "Model": "gpt-4",
  "ApiKey": "your-azure-key",
  "BaseUrl": "https://your-resource.openai.azure.com"
}

Features

1. Documentation Generation

Generate comprehensive database documentation automatically:

// Via MediatR
var documentation = await mediator.Send(new GenerateDocumentationCommand
{
    DataSourceId = dataSourceId,
    UserId = userId,
    IncludeSampleData = false
});

// Export to PDF, HTML, or Markdown
await mediator.Send(new ExportDocumentationToPdfCommand
{
    DocumentationId = documentation.Id,
    OutputPath = "docs/database.pdf"
});

2. Multi-Agent Documentation

Use multiple specialized AI agents working in parallel:

var documentation = await mediator.Send(new GenerateMultiAgentDocumentationCommand
{
    DataSourceId = dataSourceId,
    UserId = userId,
    MaxConcurrentAgents = 5,
    Progress = progressReporter
});

3. Natural Language Alerts

Create alerts from plain English:

var alert = await mediator.Send(new GenerateAlertCommand
{
    DataSourceId = dataSourceId,
    Description = "Alert me when daily failed logins exceed 100",
    UserId = userId
});

4. AI Actors

Autonomous agents that monitor and optimize your database:

var actor = await mediator.Send(new CreateAiActorCommand
{
    Name = "Performance Monitor",
    Instructions = "Monitor slow queries and create subscriptions for anything over 5 seconds",
    DataSourceId = dataSourceId,
    RequiresApproval = true
});

Dependencies

This package includes:

  • Anthropic - Claude API client
  • Azure.AI.OpenAI - Azure OpenAI client
  • OpenAI - OpenAI API client
  • AWSSDK.BedrockRuntime - AWS Bedrock client
  • QuestPDF - PDF generation
  • Markdig - Markdown processing
  • Microsoft.Extensions.AI - Unified AI abstractions

Important Notes

⚠️ AI features are experimental and may produce incorrect or incomplete results. Always review and validate AI-generated content before use in production.

⚠️ API Costs: LLM API calls incur costs. Monitor your usage and set appropriate rate limits.

⚠️ Required Configuration:

  • An EncryptionKey must be configured in appsettings.json for secure storage of API keys
  • LLM provider API key must be configured

Documentation

For complete documentation, visit: https://github.com/moberghr/semantico

License

MIT License - see LICENSE file for details

Support

  • Semantico.Core - Core library (required)
  • Semantico.Core.PostgreSql - PostgreSQL support
  • Semantico.Core.SqlServer - SQL Server support
  • Semantico.UI - Blazor admin UI
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0.4 27 1/23/2026
3.0.0.3 21 1/23/2026
3.0.0.2 27 1/23/2026
3.0.0.1 36 1/22/2026