Overview

The Vigil chat interface now has powerful capabilities to automatically build out and manage cases based on natural language prompts. When you’re examining findings and identify patterns that are part of a kill chain, you can simply tell the chat to add them to a case, and it will handle all the details automatically.

Core Capabilities

1. Automatic Case Building

When investigating, the chat assistant can automatically:

  • Add findings to cases
  • Log activities and notes
  • Build kill chain timelines
  • Tag MITRE ATT&CK techniques
  • Document resolution steps
  • Track all investigation actions

2. Natural Language Commands

You don’t need to use specific syntax. Just describe what you want in natural language:

✓ "Add this to case-2026-01-21-abc12345"
✓ "This needs to go into case XYZ"
✓ "Create a case for this lateral movement campaign"
✓ "Note that this looks like T1021 lateral movement"
✓ "Log this as part of the kill chain"
✓ "Add these three findings to the APT case"

3. Slash Commands That Start Runs

The Ask Vigil dock has two built-in slash commands (also available in the command bar):

  • /hunt <hypothesis> - Starts the threat-hunt workflow on a case
  • /investigate <finding or context> - Starts the incident-response workflow on a case

The server places the run on a case — opening one, or reusing the open case holding the alert — and the case is opened for you. A hunt started from a document attached to the dock can carry that document’s proposed hypothesis subjects and approval with it.

While the run is live, its Case page shows a “Now” block: the run’s current step and what it is doing, anything waiting on a person (a paused run’s questions, proposed actions), and — for a hunt stopped at a limit — a Keep going control that lets the hunt carry on from where it stopped.

Example Workflows

Workflow 1: Building a Case During Investigation

You: "Show me high severity findings from the last 24 hours"

Assistant: [Lists findings f-001, f-002, f-003...]

You: "f-001 looks like initial access. Analyze it."

Assistant: [Analyzes finding, determines it's T1078 - Valid Accounts]

You: "Create a case called 'APT Lateral Movement Campaign' and add this finding"

Assistant: ✓ Created case case-2026-01-21-abc12345
        ✓ Added f-001 to case
        ✓ Tagged with T1078
        ✓ Logged activity: "Initial Access via compromised credentials"

You: "f-002 and f-003 look related - lateral movement via RDP. Add them to this case."

Assistant: ✓ Added f-002 and f-003 to case-2026-01-21-abc12345
        ✓ Tagged with T1021.001 (RDP)
        ✓ Updated timeline with lateral movement phase
        ✓ Logged activity: "Lateral movement detected across 3 hosts"

You: "Note that the attacker moved from workstation-42 to server-15"

Assistant: ✓ Added activity to case
        ✓ Added timeline entry documenting the lateral movement path

Workflow 2: Creating a Case from Kill Chain Analysis

You: "I've identified an attack campaign. Initial access via phishing (f-101), 
      lateral movement through RDP (f-102, f-103), and data exfil to external IP (f-104).
      Create a case documenting this kill chain."

Assistant: ✓ Created case case-2026-01-21-12345678 "Phishing to Exfiltration Campaign"
        ✓ Added 4 findings organized by kill chain stage
        ✓ Timeline created with 3 stages:
          - Initial Access (T1566 - Phishing)
          - Lateral Movement (T1021.001 - RDP)
          - Exfiltration (T1048.003 - Exfil Over Alternative Protocol)
        ✓ All MITRE techniques tagged
        ✓ Marked as HIGH priority

Workflow 3: Ongoing Case Updates

You: "Add a note to case-2026-01-21-abc12345 that we've isolated the affected hosts"

Assistant: ✓ Added activity to case-2026-01-21-abc12345
        ✓ Type: action_taken
        ✓ Description: "Isolated affected hosts from network"
        ✓ Logged at: 2026-01-21T15:30:00Z

You: "Add a resolution step - we blocked the C2 domain at the firewall"

Assistant: ✓ Added resolution step to case-2026-01-21-abc12345
        ✓ Action: Blocked C2 domain evil.com at perimeter firewall
        ✓ Result: All outbound connections to C2 blocked

Available Tools

The Vigil chat assistant (the configured LLM) has access to these comprehensive MCP tools for case management. This is the case-management subset of the chat tool set, not the whole of it: the same server also serves approval-action tools (get_approval_action, approve_action, reject_action), run tools (start_run, list_runs, get_run, send_directive), insider-lead tools (propose_lead_hunt, insider_leads), detection-proposal tools, and dismiss_finding:

Finding Management

  • add_finding_to_case(case_id, finding_id) - Add a single finding
  • bulk_add_findings_to_case(case_id, finding_ids, note) - Add multiple findings at once
  • remove_finding_from_case(case_id, finding_id) - Remove a finding

Case Creation & Updates

  • create_case(title, description, severity, priority, finding_ids, status, assignee, tags) - Create new case
  • update_case(case_id, title, description, status, priority, assignee, add_note) - Update case details
  • create_case_from_killchain(title, finding_ids, killchain_stages, ...) - Create structured kill chain case

Case Access

  • restrict_case(case_id, readers, reader_teams) - Restrict a case to the listed readers
  • change_case_readers(case_id, remove, add, remove_teams, add_teams) - Update the readers of a restricted case

Activity Logging

  • add_case_activity(case_id, activity_type, description, details) - Log investigation activities
    • Activity types: note, status_change, finding_added, action_taken, investigation_step, analysis, communication, task_update

Timeline Management

  • add_case_timeline_entry(case_id, event_description, event_time, event_type, details) - Add chronological events
    • Event types: attack, detection, investigation, response

MITRE ATT&CK Mapping

  • add_case_mitre_techniques(case_id, technique_ids) - Tag MITRE techniques to document TTPs

Resolution Tracking

  • add_resolution_step(case_id, description, action_taken, result) - Document remediation actions

Comments & Collaboration

  • add_case_comment(case_id, content, parent_comment_id) - Add comment (supports threading)
  • get_case_comments(case_id) - Get all comments

Evidence Management

  • add_case_evidence(case_id, evidence_type, name, description, file_path, source, tags) - Add evidence with chain of custody
    • Evidence types: file, log, network_capture, memory_dump, screenshot

IOC Management

  • add_case_ioc(case_id, ioc_type, value, threat_level, confidence, source, tags, context) - Add single IOC
    • IOC types: ip, domain, hash, url, email, file_name
  • bulk_add_iocs(case_id, iocs) - Add multiple IOCs at once
  • get_case_iocs(case_id, ioc_type) - Get all IOCs
  • set_case_ioc_false_positive(case_id, ioc_type, value, is_false_positive) - Mark an IOC on the case as a false positive, or clear the mark

Task Management

  • add_case_task(case_id, title, description, assignee, priority, due_date) - Create investigation task
  • update_case_task(task_id, status, assignee, notes) - Update task status
    • Task statuses: pending, in_progress, completed, cancelled
  • get_case_tasks(case_id) - Get all tasks

Case Relationships

  • link_related_cases(case_id, related_case_id, relationship_type, notes) - Link cases together
    • Relationship types: duplicate, related, parent, child, blocks, blocked_by

Case Moves

  • move_case(case_id, team, source_team_id, reason, owner) - Move a case to another team
    • Escalation has been replaced by this move: the former escalate_case tool no longer escalates and returns an ESCALATE_REPLACED error.

Case Closure

  • close_case(case_id, closure_category, root_cause, lessons_learned, recommendations, executive_summary, false_positive_reason, closure_notes, false_positive_cause) - Close case with full metadata
    • Closure categories: resolved, false_positive, duplicate, unable_to_resolve, unspecified (closed with no reason stated)
    • Autonomy hold: an agent/model close is first checked against the autonomy ceiling. Where the ceiling does not let a model close cases on its own, the close is held: nothing is written, the case stays open, a “Left open for a person” activity is logged on the case, and the tool returns that as an error result — it is not a success and not a tool failure. A re-close of an already-closed case is held the same way, except no “Left open for a person” activity is logged for it. The same gate applies to closing through create_case(..., status="closed") and update_case(..., status="closed").

Case Retrieval

  • list_cases(status, severity, priority, limit) - List all cases
  • get_case(case_id) - Get full case details with findings

Best Practices

1. Be Descriptive

When adding things to cases, provide context:

❌ "Add this to the case"
✓ "Add this finding to case-123 - it shows the attacker's persistence mechanism"

2. Build Timeline as You Investigate

Document events chronologically as you discover them:

✓ "Add a timeline entry - malware first seen at 2026-01-21 10:00 UTC"
✓ "Timeline entry: attacker moved laterally at 10:15 UTC"
✓ "Timeline entry: data exfiltration detected at 10:30 UTC"

3. Tag MITRE Techniques

Help build the full kill chain picture:

✓ "This is T1071.001 - tag it in the case"
✓ "Add T1059.001 and T1003.001 to the case - PowerShell and credential dumping"

4. Log Your Actions

Document what you’ve done:

✓ "Note that I've contacted the user whose account was compromised"
✓ "Log that I've isolated the affected systems"
✓ "Add a resolution step - installed security patches on all affected hosts"

5. Use Bulk Operations

When you identify multiple related findings:

✓ "Add findings f-101, f-102, f-103, f-104, and f-105 to this case - all show the same attack pattern"

Integration with Investigation Workflow

The chat-driven case management integrates seamlessly with your investigation:

  1. Start Investigation: Use chat to query findings, analyze patterns
  2. Identify Patterns: The assistant helps correlate findings and identify kill chains
  3. Build Case: As you investigate, tell the assistant to add findings to cases
  4. Document Analysis: Your notes and observations are logged automatically
  5. Track Actions: Resolution steps are documented as you take them
  6. Close Case: Case has full timeline, findings, and resolution documented

Example: Full Investigation Session

You: "Show me findings with lateral movement indicators"

Assistant: [Shows 5 findings with T1021.* techniques]

You: "Get details on f-20260121-001"

Assistant: [Shows RDP login from unusual source]

You: "This looks like the start of an attack. Create a case called 'Lateral Movement Investigation'"

Assistant: ✓ Created case case-2026-01-21-def45678
        ✓ Added f-20260121-001
        ✓ Tagged with T1021.001

You: "Find other findings tagged with the same RDP technique"

Assistant: [Shows 4 more findings with RDP patterns]

You: "Add all of these to the case - they're part of the same campaign"

Assistant: ✓ Added 4 findings to case-2026-01-21-def45678
        ✓ Updated activity log
        ✓ Added timeline entries for each event

You: "Analyze the source IPs - are they malicious?"

Assistant: [Uses threat intel tools to analyze IPs]
        ✓ IP 192.168.50.10 appears compromised
        ✓ IP 192.168.50.15 shows suspicious activity
        ✓ Logged analysis in case activities

You: "I've isolated those two systems. Log that as a resolution step."

Assistant: ✓ Added resolution step to case
        ✓ Action: Isolated systems 192.168.50.10 and 192.168.50.15
        ✓ Result: Systems removed from network, investigation continuing

You: "Update case status to 'investigating' and assign to me"

Assistant: ✓ Updated case-2026-01-21-def45678
        ✓ Status: investigating
        ✓ Assigned to: [your username]

Technical Details

How It Works

The following is an illustrative description of a typical session, not a guarantee of the assistant’s internal behaviour:

  1. Natural Language Processing: The assistant interprets your intent from natural language
  2. Context Awareness: The assistant is given the conversation context, including which finding or case you are examining
  3. Automatic Tool Selection: The assistant picks the MCP tool that matches your request
  4. Confirmation: The assistant reports what was done and shows the results

MCP Tool Architecture

User Request
    ↓
Chat Assistant (configured LLM, natural language understanding)
    ↓
MCP Tool Selection
    ↓
vigil MCP Server (tools/mcp/vigil.py) — every call is permission-checked
(`@requires`) and bound to the acting principal by the surface
    ↓
Database (PostgreSQL)
    ↓
Result Confirmation to User

Extending the System

You can add more case management tools by:

  1. Adding new functions to tools/mcp/vigil.py
  2. Using the local @tool(...) decorator (a wrapper over mcp.tool())
  3. Gating the tool with @requires(<permission>), as every existing tool is, except escalate_case, which only returns an ESCALATE_REPLACED error
  4. Following the existing patterns for error handling and JSON responses
  5. Restarting the backend — the server is served in-process by the backend at /mcp, not as a separately restarted server

Note: adding a tool to the frozen tool set is a contract change and requires regenerating the frozen-tools snapshot.

Troubleshooting

“Case not found”

  • Verify the case ID format (IDs are producer-assigned; case-YYYY-MM-DD-xxxxxxxx is an example format, not a prescribed one)
  • Use list_cases() to see available cases

“Finding not found”

  • Verify the finding ID format (IDs are producer-assigned; f-YYYYMMDD-xxxxxxxx is an example format, not a prescribed one)
  • Use list_findings() to see available findings

Changes not appearing

  • Refresh the UI
  • Check the case via get_case(case_id) to verify changes

Tools not available

  • Ensure the backend is running and the vigil MCP surface is enabled: it is off on a fresh install (vigil_mcp_enabled), and the Settings toggle overrides it at runtime
  • Note that mcp-config.json does not define this server — the vigil MCP server is served by the backend itself
  • Restart backend services if needed

Security & Audit Trail

All case modifications are:

  • Timestamped with ISO 8601 format
  • Logged in the database
  • Trackable through case activities

Findings can also be removed from a case with remove_finding_from_case.

Every action the assistant takes on cases is recorded, providing a full audit trail of AI-assisted investigation.

Summary

The chat-driven case management feature transforms how you investigate security incidents. Instead of manually creating cases, adding findings, and documenting your work, you can have a natural conversation with the chat assistant and it will:

✓ Automatically add findings to cases ✓ Build kill chain timelines ✓ Tag MITRE techniques
✓ Log all your investigation activities ✓ Document resolution steps ✓ Track the full investigation narrative

Just investigate naturally and tell the assistant what you’re finding. It handles the rest.