Skip to content

ANcpLua/ANcpLua.Agents

Repository files navigation

CI NuGet ANcpLua.Agents NuGet ANcpLua.Agents.Instrumentation NuGet ANcpLua.Agents.Workflows NuGet ANcpLua.Agents.Testing NuGet ANcpLua.Agents.Testing.Workflows .NET 10 License: MIT

ANcpLua.Agents

Lean toolkit for Microsoft Agent Framework 1.13.x.

The repo is intentionally small: runtime governance primitives, MAF-native OpenTelemetry helpers, service defaults, workflow helpers, and test infrastructure. Provider-specific facades, MCP wrappers, Qyl Durable experiments, and demo product hosts were removed instead of kept alive as compatibility shims.

Compatible with: Microsoft.Agents.AI 1.13.x Tested against: Microsoft.Agents.AI 1.13.0 Upstream harvest: MAF 1.13 repositions OpenTelemetry below FunctionInvokingChatClient (#6667), so tool-calling agents emit execute_tool spans parented under invoke_agent; checkpoints survive package upgrades (TypeId ignores assembly version, #6636/#6670) and fan-in state persists correctly (#6491/#6574). Sequential orchestration gains chainOnlyAgentResponses (#6554), surfaced here through BuildQylSequential/AsQylSequentialAgent.

Packages

Package Contents
ANcpLua.Agents Core runtime helpers and governance primitives
ANcpLua.Agents.Instrumentation MAF-native OpenTelemetry registration helpers
ANcpLua.Agents.Hosting.ServiceDefaults Health endpoints plus MAF ActivitySource registration helpers
ANcpLua.Agents.Workflows Workflow facades and execution helpers
ANcpLua.Agents.Testing Fake agents, fake chat clients, diagnostics, conformance fixtures
ANcpLua.Agents.Testing.Workflows Workflow fixtures and workflow harnesses

Instrumentation

builder.Services.AddOpenTelemetry()
    .WithTracing(tracing => tracing.AddAgentFrameworkSources())
    .WithMetrics(metrics => metrics.AddAgentFrameworkMeters());

var agent = baseAgent.AsBuilder()
    .UseAgentTelemetry()
    .Build();

The telemetry package wraps the agent in MAF-native OpenTelemetryAgent (invoke_agent / execute_tool spans on the Experimental.Microsoft.Agents.AI source); sensitive data is off by default. It does not emit raw prompts, message content, tool arguments, tool results, API keys, or exception messages.

Siblings: ANcpLua.Roslyn.Utilities · ANcpLua.NET.Sdk · ANcpLua.Analyzers

About

Microsoft Agent Framework runtime helpers + test infrastructure (split from ANcpLua.Roslyn.Utilities)

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages