AI Agent Examples for Engineering, Ops and IT Teams
Each agent below runs a real piece of engineering, on-call or IT work. For every one: what starts it, what it does, what it hands back and where a person still decides, with a full recipe to build it.
An AI agent is more than a chatbot with tools. A chatbot answers the question in front of it. The agents here take a job from a trigger to a result: they pull in evidence from the systems that hold it, act through tools, remember what earlier runs found, and stop at a boundary the team set in advance.
They are grouped the way this site files its recipes: agents that work on code and repositories, agents for incidents and on-call, and agents that automate internal tooling such as support queues, access requests and Slack.
Code and Repo Agents
All code and repo agents →Pull request review agent
Reviews every pull request and follows it through each new push.
- Starts with
- A pull request is opened or gets new commits: GitHub's pull_request event (opened, synchronize), or a webhook on GitLab and Azure DevOps.
- What it does
- Loads the team's review conventions and its own earlier findings on the PR, reviews the diff and the code around it, and posts line-anchored comments. On the next push it compares against what it already said.
- What you get back
- Inline review comments, then a follow-up that says what was fixed, what is still open and what is new in the latest changes.
- Where a person decides
- It can comment, suggest and commit to a branch. Approving and merging stays with a person, enforced by branch protection and the agent's own permissions.
Dependency upgrade agent
Upgrades packages and repairs what the upgrade breaks.
- Starts with
- A scan of the repositories' manifests finds outdated or vulnerable packages.
- What it does
- Maps which tests cover the code the upgrade touches, changes the manifest and lock file, runs that regression set, reads the failures and patches them.
- What you get back
- An upgrade that passed its regression gate, with a changelog explaining which packages changed and why, or a rollback.
- Where a person decides
- The gate decides, not the model. Cases it cannot settle go to an escalation queue for a person, and the recipe starts in observe-only mode on one well-tested repository.
Security alert triage agent
Does the legwork on GitHub security alerts so a person can rule faster.
- Starts with
- A security alert on a GitHub repository.
- What it does
- Runs narrow tasks in order, the way a human auditor would: collect context, check known false-positive patterns, write a report. Deterministic tools fetch the facts and the model interprets them, and each step's result is saved so a failed run resumes where it stopped.
- What you get back
- An enriched triage report on the alert.
- Where a person decides
- Its tools only read. Verdicts, closing alerts, posting comments and triggering workflows need a person to confirm, and alert text is treated as evidence, never as instructions.
Dead code detection agent
Finds code no service calls any more, across repository boundaries.
- Starts with
- An inventory of every entry point: HTTP handlers, gRPC services, event-bus subscribers, cron jobs, CLI commands and convention-loaded plugins.
- What it does
- Builds import and call graphs for each service plus the contracts between them, ranks candidates deterministically, then has a model review the uncertain ones against git history, test coverage and runtime telemetry.
- What you get back
- A ranked list of unreachable code, with the evidence for each candidate.
- Where a person decides
- Investigating is not permission to delete. Removal runs inside a bounded shell with scoped identities, approval gates and rollback.
Codebase summarization agent
Explains a large monorepo without rereading it on every question.
- Starts with
- A persistent code graph of the repository, re-indexed on commit, on merge or on a schedule.
- What it does
- Answers questions such as what calls a function as graph lookups instead of text searches, and writes summaries bottom-up, from files to folders to subsystems.
- What you get back
- Subsystem summaries an engineer can orient with, backed by structural queries for the detail.
- Where a person decides
- The repository-level summary is the weakest layer. Treat it as orientation, not ground truth, and check the graph for dependencies.
API migration agent (REST to GraphQL)
Moves a REST API to GraphQL and proves nothing changed for callers.
- Starts with
- An audit of what the API does in production: route definitions, response types and production access logs.
- What it does
- Builds a differential test harness that replays recorded requests against the old endpoints and the new server, derives the schema from the inventory, then loops through test and repair until every comparison passes.
- What you get back
- Verified parity, followed by separate checks for N+1 queries under load and field-level authorization.
- Where a person decides
- Renaming or normalising fields is recorded as a deliberate deviation that a person approves; by default the agent keeps compatibility.
Ops and Incident Agents
All ops and incident agents →Incident alert triage agent
Runs the first investigation of an incident before anyone has to.
- Starts with
- A PagerDuty alert, with its service, severity, timestamp and metadata.
- What it does
- Searches recent telemetry for correlated errors across connected tools through MCP, inside a bounded window (the recipe's defaults are the last five minutes and ten reasoning turns).
- What you get back
- A timeline, a root cause hypothesis and next steps, with timestamps and links back to the source data.
- Where a person decides
- The recipe only reads. Any tool that changes a system sits behind an approval block, and the hypothesis is a starting point, not a confirmed root cause.
Tooling Automation
All tooling automation →Support ticket routing agent
Sends each engineering support ticket to someone who can take it now.
- Starts with
- A ticket arriving by email, Slack, a GitHub issue or Jira.
- What it does
- Extracts the fields, classifies intent against the service catalogue, sets priority from an impact matrix, links duplicates, checks live capacity and keeps watching the SLA clock after assignment.
- What you get back
- A routed ticket with a full handoff: reproduction steps, error codes, related past tickets and the agent's findings.
- Where a person decides
- Low-confidence, security-sensitive, billing and high-value-account tickets pause for a person. The rollout runs in shadow mode, then as suggestions, before it routes on its own.
IT access request agent
Resolves access requests in the Slack thread they were asked in.
- Starts with
- An employee asks for access to a system in Slack.
- What it does
- Establishes who is asking, for which system and what scope; looks the request up against policy to approve, escalate or deny; then provisions through a restricted executor with short-lived, task-scoped credentials.
- What you get back
- Access granted or denied in the same thread, with a record of the policy and approval behind it.
- Where a person decides
- The model never has a direct write path. Approval is bound to an exact action, not to a 'yes' in the thread, and sensitive or hard-to-reverse actions wait for a person.
Slack thread summarization agent
Turns a long incident thread into a cited summary that stays attached to the job.
- Starts with
- Someone asks for a summary in a Slack thread, or an alert lands in one.
- What it does
- Keys the job to the workspace, channel and thread, keeps its objective and status as replies arrive, and queries read-only tools such as logs, metrics and GitHub within the requester's permissions.
- What you get back
- A structured root-cause summary posted in the thread, with permalinks to its sources.
- Where a person decides
- It reads and reports. In busy channels with many parallel threads, summaries get generic; for plain recaps, Slack's own AI may be enough.
Building blocks for any of them
What every example has in common
Tools fetch the facts; the model interprets them
API calls, searches, graphs and test runs are deterministic. The model is used where judgment is needed: reading a failure, weighing evidence, writing the report.
Memory lives outside the context window
Each agent that runs more than once keeps what it learned (findings, decisions, conventions) in its own store, apart from the state of the run in progress.
Every run has a stopping rule
A time window, a turn budget, a regression gate or a confidence threshold makes the agent report what it has instead of searching forever.
Read freely, act behind a gate
Merging, deleting, closing alerts and granting access wait for a person or a policy decision, enforced by permissions rather than by the prompt.
Autonomy is earned in stages
Shadow mode, observe-only runs and read-only first steps let a team compare the agent's choices with its own before letting it act.
Which agent to build first
Start with an agent that only reads. Thread summaries, alert triage and security alert enrichment save real work while changing nothing without a person, and they show the team how the agent reasons before it is trusted with anything that writes.