> ## Documentation Index
> Fetch the complete documentation index at: https://ancplua.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AL0124 - Non-interceptable [AgentTraced]

> The [AgentTraced] attribute triggers compile-time interception to create agent spans

Source: [AL0124NonInterceptableAgentTracedAnalyzer.cs](https://github.com/ANcpLua/ANcpLua.Analyzers/blob/main/src/ANcpLua.Analyzers/Analyzers/AL0124NonInterceptableAgentTracedAnalyzer.cs)

## Description

The \[AgentTraced] attribute triggers compile-time interception to create agent spans. Abstract, extern, and partial definition methods cannot be intercepted by the source generator, so \[AgentTraced] will be silently ignored.

## Properties

* **Category**: GenAI
* **Severity**: Warning
* **Enabled by default**: True
* **Code fix available**: True

## Configuration

```editorconfig theme={null}
dotnet_diagnostic.AL0124.severity = warning
```
