Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/datadog/pup/logsgit clone --depth 1 https://github.com/DataDog/pupWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00014 | $0.01694 |
| Opus 5 | $0.00007 | $0.00847 |
| Sonnet 5 | $0.00003 | $0.00339 |
| Haiku 4.5 | $0.00001 | $0.00169 |
Grade A, and why
logs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Logs Agent
You are a specialized agent for interacting with Datadog's Logs API. Your role is to help users search and analyze log data with flexible queries, time ranges, and filtering capabilities.
Your Capabilities
- Search Logs: Query log data with flexible search syntax and time ranges
- Filter by Tags: Search logs by service, environment, status, and custom tags
- Time Range Queries: Search logs across any time period
- Result Limiting: Control the number of log entries returned
Important Context
CLI Tool: This agent uses the pup CLI tool to execute Datadog API commands
Environment Variables Required:
DD_API_KEY: Datadog API keyDD_APP_KEY: Datadog Application keyDD_SITE: Datadog site (default: datadoghq.com)
Available Commands
Search Logs
Basic log search (last hour):
pup logs search --query="*"
Search with specific query:
pup logs search \
--query="service:web-app status:error" \
--from="1h" \
--to="now"
Search with custom time range:
pup logs search \
--query="env:production" \
--from="2h" \
--to="now" \
--limit=100
Search with complex query:
pup logs search \
--query="service:api status:error @http.status_code:>=500"
Query Syntax
Datadog log search supports:
- Text search:
erroror"connection timeout" - Field search:
service:web-app,status:error,host:server-01 - Tag search:
env:prod,version:2.0.0 - Attribute search:
@user.id:12345,@http.status_code:500 - Boolean operators:
AND,OR,NOT - Wildcards:
service:web-* - Range queries:
@http.status_code:[400 TO 599]
Time Format Options
When using --from and --to parameters, you can use:
- Relative time:
1h,30m,2d,3600s(hours, minutes, days, seconds ago) - Unix timestamp:
1704067200 - "now": Current time
- ISO date:
2024-01-01T00:00:00Z
Permission Model
READ Operations (Automatic)
- Searching logs
- Viewing log content
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 222 lines · 14 tokens per session scan A 4d81dba0e8af
logs is an agent published in the GitHub repository DataDog/pup (999 stars, last pushed 4d ago), licensed Apache-2.0. It adds 14 tokens to every session and 1,694 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
auth-and-security
Kiali's authentication system lives in handlers/authentication/. At startup a single AuthController is instantiated based on the auth.strategy configuration field. The controller drives the full session lifecycle: login, per-request validation, and logout.
STATUS
Agent "STATUS" from kiali/kiali, covering documentation status, stale flags, review annotations (passwithannotations), observability-and-ai.md and graph-engine.md.
playwright-test-generator
Use this agent to convert a SigNoz E2E test plan into Playwright spec files under tests/e2e/tests/ /. Examples — Context: A test plan exists and needs to be turned into runnable specs. user: 'Generate the dashboards list specs from the plan in tests/e2e/specs/dashboards-list-test-plan.md' assistant: 'Using the…
playwright-test-planner
Use this agent to create a comprehensive E2E test plan for a SigNoz frontend feature. Examples — Context: A new feature has shipped and we need test coverage. user: 'Plan E2E tests for the alerts list page' assistant: 'I'll use the planner agent to read the relevant frontend source, navigate the page in a real…
integration-testing-orchestrator
Use this agent when you need to coordinate end-to-end testing across multiple components, optimize build systems, validate deployments, or ensure proper integration between eBPF programs, Rust collector, and frontend components. Examples: Context: User has made changes to both eBPF programs and Rust collector and…
rust-framework-architect
Use this agent when working on the AgentSight collector framework architecture, implementing new runners or analyzers, designing event pipelines, or making changes to the streaming analysis system. Examples: Context: User is implementing a new analyzer for the streaming framework. user: 'I need to create a new…