Observed since 20 Oct, 22:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A CI linter for AI agent execution traces.
AgentLint checks recorded agent runs for unsafe tool use, missing approvals, sensitive-data flows, and unsupported claims.
| Integration | Workflow |
|---|---|
| OpenAI Agents SDK | Automatic pytest capture or instrument() in any Python runner |
| OpenTelemetry | Import existing OTLP-style JSON |
python -m pip install "agentlint-trace[openai-agents]==0.1.0a2"
AgentLint requires Python 3.12 or newer.
Create agentlint.yaml:
version: 1
policy_id: customer_support
tools:
lookup_status:
permission: allowed
approval: not_required
issue_refund:
permission: allowed
approval: required
rules:
unknown_tool: error
denied_tool_call: error
missing_approval: error
Pytest is optional. Choose the workflow that fits the project.
pytest --agentlint --agentlint-policy agentlint.yaml
The command runs the tests, captures their agent traces, and checks the saved run.
Artifacts are written to .agentlint/runs/.
agentlint check-run .agentlint/runs/latest.json
Use a test marker or routing file when tests require different policies.
from agentlint.integrations.openai_agents import instrument
session = instrument(".agentlint/openai-agents")
# Run the agent.
snapshot_paths = session.close()
Check the capture directory:
agentlint check-capture .agentlint/openai-agents --policy agentlint.yaml
check-capture also accepts one JSON file and detects OpenAI Agents, OpenTelemetry,
and native AgentLint formats.
AgentLint Report
traces: 0 passed, 1 failed, 0 not verifiable, 0 invalid
diagnostics: 1 error, 0 warning, 0 info
error[DENIED_TOOL_CALL]: tool call "evt_delete_account" uses tool
"delete_account" denied by trace policy
related events: evt_delete_account
remediation: Remove the call or update the trace policy when this tool
should be permitted.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0a2 | 14 Jul 2026 | 10 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:35 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:21166886f76a959c3662ed94b2f053d038b4ac946370a5de6e06a64ea3103a6c