Axme 0.2.0
dotnet add package Axme --version 0.2.0
NuGet\Install-Package Axme -Version 0.2.0
<PackageReference Include="Axme" Version="0.2.0" />
<PackageVersion Include="Axme" Version="0.2.0" />
<PackageReference Include="Axme" />
paket add Axme --version 0.2.0
#r "nuget: Axme, 0.2.0"
#:package Axme@0.2.0
#addin nuget:?package=Axme&version=0.2.0
#tool nuget:?package=Axme&version=0.2.0
axme-sdk-dotnet
.NET SDK for AXME - send intents, listen for deliveries, resume workflows. Async/await throughout, targeting .NET 8+.
Quick Start · Docs · Examples
Install
dotnet add package Axme
Requires .NET 8+.
Quick Start
using System.Text.Json.Nodes;
using Axme.Sdk;
var client = new AxmeClient(new AxmeClientConfig { ApiKey = "axme_sa_..." });
// Send an intent - survives crashes, retries, timeouts
var intent = await client.CreateIntentAsync(
new JsonObject
{
["intent_type"] = "order.fulfillment.v1",
["to_agent"] = "agent://myorg/production/fulfillment-service",
["payload"] = new JsonObject { ["order_id"] = "ord_123" },
},
new RequestOptions { IdempotencyKey = "fulfill-ord-123-001" }
);
Console.WriteLine($"{intent["intent_id"]} {intent["status"]}");
Human Approvals
var intent = await client.CreateIntentAsync(new CreateIntentParams
{
IntentType = "intent.budget.approval.v1",
ToAgent = "agent://myorg/prod/agent_core",
Payload = new Dictionary<string, object> { ["amount"] = 32000 },
HumanTask = new HumanTask
{
TaskType = "approval",
NotifyEmail = "approver@example.com",
AllowedOutcomes = new[] { "approved", "rejected" },
},
});
var result = await client.WaitForAsync(intent["intent_id"]!.GetValue<string>());
8 task types: approval, confirmation, review, assignment, form, clarification, manual_action, override. Full reference: axme-docs.
Observe Lifecycle Events
var events = await client.ListIntentEventsAsync(intentId);
Agent Mesh - Monitor and Govern
Agent Mesh gives every agent real-time health monitoring, policy enforcement, and a kill switch - all from a single dashboard.
client.Mesh.StartHeartbeat();
client.Mesh.ReportMetric(new Metric { Success = true, LatencyMs = 230, CostUsd = 0.02m });
Set action policies (allowlist/denylist intent types) and cost policies (intents/day, $/day limits) per agent via dashboard or API. Mesh module coming soon to this SDK - Python SDK available now. Full overview.
Open the live dashboard at mesh.axme.ai or run axme mesh dashboard from the CLI.
Examples
See examples/BasicSubmit.cs. More: axme-examples
Development
dotnet test tests/Axme.Sdk.Tests/Axme.Sdk.Tests.csproj
Related
| axme-docs | API reference and integration guides |
| axme-examples | Runnable examples |
| axp-spec | Protocol specification |
| axme-cli | CLI tool |
| axme-conformance | Conformance suite |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.