IBeam.Ai 2.8.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package IBeam.Ai --version 2.8.2
                    
NuGet\Install-Package IBeam.Ai -Version 2.8.2
                    
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="IBeam.Ai" Version="2.8.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IBeam.Ai" Version="2.8.2" />
                    
Directory.Packages.props
<PackageReference Include="IBeam.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 IBeam.Ai --version 2.8.2
                    
#r "nuget: IBeam.Ai, 2.8.2"
                    
#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 IBeam.Ai@2.8.2
                    
#: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=IBeam.Ai&version=2.8.2
                    
Install as a Cake Addin
#tool nuget:?package=IBeam.Ai&version=2.8.2
                    
Install as a Cake Tool

IBeam.Ai

IBeam.Ai contains the core AI agent, tool, and MCP contracts shared by IBeam-backed applications.

dotnet add package IBeam.Ai

When To Use This

  • You need agent tool definitions in shared code.
  • You are building MCP tools without taking an ASP.NET Core dependency.
  • You want a common AgentToolContext for user, tenant, API credential, and agent identity data.
  • You are implementing your own MCP orchestration or access policy.

Most host applications should reference IBeam.Ai.Api, which brings the service and core packages transitively.

What This Package Contains

Area Type(s) Purpose
Tool definition AgentToolDefinition, AgentToolHandler Describes a callable agent tool and its handler.
Tool context AgentToolContext, IAgentToolContextFactory Carries principal, services, agent key, tenant ID, and API credential ID.
Tool catalog IAgentToolCatalog Exposes registered tools.
Access policy IAgentToolAccessPolicy, AgentToolAccessResult Allows hosts to decide whether a tool can run.
MCP service contract IAgentMcpService Handles MCP JSON-RPC payloads.
MCP models McpJsonRpcResponse, McpToolDefinition, McpToolCallResult, error codes Shared protocol models.
Schema helpers AgentToolSchemas Convenience methods for JSON input schemas.

Architecture Fit

API <-- DTO/model object --> Service <-- Entity --> Repository

Agent tools are another API surface. A tool handler should call a service. It should not bypass the service layer to call repositories or embed business permissions directly.

Code Example

var tool = new AgentToolDefinition(
    name: "hubbsly.work.list_cards",
    description: "List work cards visible to the current agent.",
    inputSchema: AgentToolSchemas.EmptyObject(),
    handler: async (context, arguments, ct) =>
    {
        var service = context.Services.GetRequiredService<IWorkItemService>();
        return await service.ListAsync(ct);
    },
    moduleKey: "work",
    requiredScopes: [ "api-scope:work" ]);

Access Control

The core package only defines the policy contract. The default service package policy checks authenticated claims for required scopes/roles/permissions. Applications can replace IAgentToolAccessPolicy to call IBeam AccessControl, Licensing, Identity, or a custom authorization system.

Data Storage

This package does not create tables, repositories, containers, or buckets.

Extended Docs And Agent Guidance

Agents should keep tool handlers thin and route real work through operation-tagged services.

Version Notes

  • Targets net10.0.
  • Package version is assigned by the repository release workflow.
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.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on IBeam.Ai:

Package Downloads
IBeam.Ai.Services

Agent tool registry, authorization, and MCP service orchestration for IBeam-backed applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.9.1 45 7/23/2026
2.9.0 102 7/21/2026
2.8.2 90 7/21/2026
2.8.1 91 7/21/2026
2.8.0 91 7/21/2026
2.7.0 97 7/21/2026
2.6.0 114 7/20/2026
2.5.0 109 7/17/2026
2.4.2 110 7/16/2026
2.4.1 111 7/14/2026
2.4.0 123 6/24/2026
2.3.0 123 6/24/2026
2.2.0 131 6/23/2026
2.1.0 137 6/23/2026