Ironbees.Autonomous 0.6.0

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

Ironbees

CI NuGet - Core NuGet - AgentFramework NuGet - Ironhive License

GitOps-style declarative AI agent management for .NET

Ironbees brings filesystem conventions and declarative agent definitions to .NET AI development. Define agents as YAML files, let Ironbees handle loading, routing, and orchestration - then plug in any LLM backend.

Why Ironbees?

Feature What it means
GitOps-Ready Agent definitions are YAML files under version control - review, diff, rollback
Zero-Code Agent Setup agent.yaml + system-prompt.md = fully configured agent
Observable All state lives in the filesystem - debug with ls, grep, cat
Portable Swap between IronHive and Microsoft Agent Framework without changing agent definitions
Intelligent Routing Keyword, embedding, and hybrid agent selection out of the box
Cost Tracking Accurate token counting and cost estimation via TokenMeter

Architecture

                    Ironbees.Core
         (Agent loading, routing, guardrails,
          token tracking, cost estimation)
                    |
              Ironbees.AgentMode
           (YAML workflows, definitions)
                  /            \
Ironbees.AgentFramework    Ironbees.Ironhive
  (Azure OpenAI + MAF)      (IronHive multi-provider,
                             Multi-agent orchestration)

              Ironbees.Autonomous
        (Iterative execution, oracle verification)

Ironbees Core is backend-agnostic. Pick the adapter that fits your stack:

  • Ironbees.Ironhive - Multi-provider (OpenAI, Anthropic, Google, Ollama) + Multi-agent orchestration via IronHive
  • Ironbees.AgentFramework - Azure OpenAI + Microsoft Agent Framework

Installation

Option A: IronHive backend (multi-provider)

dotnet add package Ironbees.Ironhive

Option B: Azure OpenAI backend

dotnet add package Ironbees.AgentFramework

Define an Agent

agents/
└── coding-agent/
    ├── agent.yaml          # Agent metadata and model config
    └── system-prompt.md    # System prompt

agents/coding-agent/agent.yaml:

name: coding-agent
description: Expert software developer
capabilities: [code-generation, code-review]
model:
  provider: openai
  deployment: gpt-4o
  temperature: 0.7

agents/coding-agent/system-prompt.md:

You are an expert software developer specializing in C# and .NET...

Quick Start

With IronHive

services.AddIronbeesIronhive(options =>
{
    options.AgentsDirectory = "./agents";
    options.ConfigureHive = hive =>
    {
        hive.AddMessageGenerator("openai", new OpenAIMessageGenerator(apiKey));
    };
});

With Azure OpenAI

services.AddIronbees(options =>
{
    options.AzureOpenAIEndpoint = "https://your-resource.openai.azure.com";
    options.AzureOpenAIKey = Environment.GetEnvironmentVariable("AZURE_OPENAI_KEY");
    options.AgentsDirectory = "./agents";
});

Use the Agent

var orchestrator = serviceProvider.GetRequiredService<IAgentOrchestrator>();
await orchestrator.LoadAgentsAsync();

// Explicit agent selection
var response = await orchestrator.ProcessAsync(
    "Write a C# fibonacci function",
    agentName: "coding-agent");

// Automatic routing
var response = await orchestrator.ProcessAsync(
    "fibonacci in C#"); // Routes based on keywords/embeddings

// Streaming
await foreach (var chunk in orchestrator.StreamAsync("Write a blog post"))
{
    Console.Write(chunk);
}

Multi-Agent Orchestration

Ironbees.Ironhive provides declarative multi-agent orchestration via YAML:

# orchestration.yaml
orchestrator:
  type: Handoff          # Sequential, Parallel, HubSpoke, Handoff, GroupChat, Graph
  initialAgent: triage
  maxTransitions: 10
  middleware:
    retry:
      maxRetries: 3
    circuitBreaker:
      failureThreshold: 5
      breakDuration: 30s

Graph-based workflows for complex pipelines:

orchestrator:
  type: Graph
  graph:
    nodes:
      - id: analyze
        agent: code-analyzer
      - id: review
        agent: reviewer
    edges:
      - from: analyze
        to: review
        condition: "needs_review"
    startNode: analyze
    outputNode: review

Available Orchestrator Types: | Type | Use Case | |------|----------| | Sequential | Pipeline processing, output chains | | Parallel | Concurrent analysis, fan-out tasks | | HubSpoke | Central coordinator with specialists | | Handoff | Context-aware agent switching | | GroupChat | Multi-agent discussion with speaker selection | | Graph | DAG workflows with conditional routing |

Token Tracking & Cost Estimation

Ironbees integrates TokenMeter for accurate tiktoken-based token counting and cost estimation across 40+ models (OpenAI, Anthropic, Google, xAI, Azure).

// Middleware pipeline with cost tracking
var builder = new ChatClientBuilder(innerClient)
    .UseTokenTracking(
        store,
        new TokenTrackingOptions { EnableCostTracking = true },
        CostCalculator.Default());

// Query cost statistics
var stats = await store.GetStatisticsAsync();
Console.WriteLine($"Total cost: ${stats.TotalEstimatedCost:F4}");
Console.WriteLine($"By model: {string.Join(", ",
    stats.ByModel.Select(m => $"{m.Key}: ${m.Value.EstimatedCost:F4}"))}");

Autonomous SDK

For iterative autonomous execution with oracle verification:

var orchestrator = AutonomousOrchestrator.Create<Request, Result>()
    .WithSettings(settings)
    .WithExecutor(executor)
    .WithOracle(oracle)
    .Build();

await foreach (var evt in orchestrator.StartAsync(request))
{
    Console.WriteLine($"[{evt.Type}] {evt.Message}");
}

Design Principles

  • Thin Wrapper - Complement LLM frameworks, don't replace them
  • Convention over Configuration - Filesystem structure defines behavior
  • Declaration vs Execution - Ironbees declares patterns; backends execute them
  • Filesystem = Single Source of Truth - All state observable via standard tools

Documentation

Document Description
Architecture System design and interfaces
Philosophy Design principles and scope
Autonomous SDK Autonomous execution guide
Agentic Patterns HITL, sampling, confidence
Providers LLM provider configuration

Samples

Sample Description
OpenAISample Basic OpenAI usage
GpuStackSample Local GPU infrastructure
EmbeddingSample ONNX embedding and semantic routing
TwentyQuestionsSample Autonomous SDK demo

Contributing

Issues and PRs welcome. Please maintain the thin wrapper philosophy.

License

MIT License - See LICENSE

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on Ironbees.Autonomous:

Package Downloads
IronHive.DeepResearch

Deep Research module - autonomous research agent system

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.6.0 54 2/10/2026
0.4.2 89 1/29/2026
0.4.1 95 1/6/2026

See CHANGELOG.md for release notes