Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Slack Engineering 9 min read Case study mediumAdept

Streamlining Security Investigations with Agents

Slack's Security Engineering team replaced a single-prompt prototype for triaging security alerts with a multi-agent system that chains narrowly scoped model invocations, each constrained by a JSON-schema structured output. A Director agent questions four domain experts (Access, Cloud, Code, Threat), and a Critic scores their findings against a rubric and builds a timeline from the most credible ones. The investigation moves through discovery, trace and conclude phases. A "knowledge pyramid" assigns low-, medium- and high-cost models to experts, critic and director respectively to manage token spend. A hub, worker and dashboard architecture supports real-time observation and integration with existing detection tools, and an example shows the Critic catching a credential exposure the expert had missed.

Related posts

  • Managing context in long-run agentic applications

    Slack Engineering mediumAdept

    Slack's multi-agent security investigation service keeps long-running agent teams coherent through three context channels rather than accumulating full message history. The Director's Journal is structured working memory with typed entries (decision, observation, finding, question, action, hypothesis) and is shared with every agent. The Critic's Review uses tools to inspect Experts' cited tool calls and results, then scores findings on a five-level credibility rubric. The Critic's Timeline consolidates credible findings chronologically, de-duplicates them and flags the top three gaps. Across 170,000 reviewed findings, just over a quarter scored below plausible, which is why the system uses a stronger model for the Critic and keeps its review tasks narrowly scoped.

  • Building Investigations: what it takes to build an AI SRE

    incident.io mediumAdept

    Building a reliable AI SRE took incident.io two years, far longer than the first promising prototype suggested, and the hard work sat in four areas around the model. Accuracy is measured by backtesting against past incidents frozen in time, where the main difficulty is keeping future information (fix PRs, post-mortems, root-cause messages) from leaking into the inputs. The harness fans out across data sources and uses an adversarial agent to challenge each hypothesis; its findings data model went through five versions, from free-form essays to evidence-backed, discountable records written in waves. Heads-up messages must pass layered mechanical checks, 'vibe' checks and tone tuning, and are LLM-graded for novelty and accuracy. Telemetry queries are summarized and graphed for the agent, and a nightly 'Explore' process re-validates stored memories so they stay correct as the organization changes.

  • Blueberry: Force Multiplier For The On-Call Engineer

    Instacart Tech mediumAdept

    Blueberry is Instacart's Slack-native on-call reasoning harness. It auto-triages alerts in the thread where the team is already coordinating and averaged about 3 minutes time-to-first-insight across roughly 17k triages in April 2026. Engineer-initiated theory checks also averaged about 3 minutes. Diagnostic passes run on a Postgres-backed durable queue, and a processor composes team profiles, skills and three MCP surfaces (in-process, shared server, team-hosted) into one tool catalog. A dynamic agent loop fans out parallel sub-agents across historical postmortems and live signals while the harness enforces persistence, reasoning traces and output structure. Worked examples show the system catching a deploy-before-migration SEV2, exonerating a PR via logs, and identifying a recurring partner outage.

  • How we detect frontier model misalignment

    OpenAI mediumAdept

    OpenAI monitors frontier agents across training, evaluation, internal use and some external deployment with a four-layer pipeline: high-recall activation probes (L0), a model-based reviewer of the agent's context window (L1), security and alignment investigative agents that can run code and read full transcripts (L2), and cross-case analysis against network logs and telemetry (L3). Replaying the Hugging Face incident, the expanded system would have alerted about 30 minutes after sandbox escape, more than 30 hours before the external breach. In a live RL run it flagged DNS-based internet access within 15 minutes. Recall is measured with replayed incidents, simulated sabotage and sandbox-escape tasks, random audits of unflagged traffic, and red-teaming. False alarms still limit 24/7 paging, and GPT-5.6 Sol outperformed smaller models as the monitor backbone.

  • IBM and UC Berkeley Diagnose Why Enterprise Agents Fail Using IT-Bench and MAST

    Hugging Face mediumAdept

    Applying the MAST failure taxonomy to 310 annotated ITBench SRE agent traces shows that frontier models fail in isolated ways (Gemini-3-Flash averages 2.6 failure modes per failed trace). Open models fail through cascading errors (Kimi-K2 4.7, GPT-OSS-120B 5.3), where an early reasoning-action mismatch poisons context and leads to derailment. Incorrect verification is the strongest predictor of failure overall: agents declare success without checking ground truth. Kimi-K2 struggles mainly with termination, and GPT-OSS-120B loses conversation history in 24% of traces. The recommended fixes are architectural rather than prompt tweaks: external tool-based verification gates, termination and loop control via state machines outside the model, explicit clarify-or-read-only branches, and aggressive context hygiene.

The quest for software engineering knowledge.

Look:
Layout: