VeriSigma
Menu

Module 10 of 12

Agentic Analysis I: The Examiner's Agent

The agent is a language model that can call tools. It reads the case only through a snapshot it cannot change, it can run Omega rules and draft report paragraphs, and VeriSigma logs every step. Use it, and verify what it says.

Objectives

What you will be able to do

  1. Explain the agent's reach and its limits, and why it has no write access to the case.
  2. Set up a cloud or local model provider, knowing what each one sends off the machine.
  3. Follow a turn one step at a time and repeat the agent's queries yourself.
  4. Recognize the agent's typical mistakes.
  5. Reconstruct any request from the transcript and the telemetry.
  6. Measure how consistent and how accurate the agent is against a known answer.

Knowledge check

Try this before you read

Pick an answer and write one sentence on why. The explanation appears once you have. Come back to it after the key ideas and see whether your reasoning changed.

A Home card reports “Deleted files: 0” for both NTFS volumes of a working Windows desktop. What is the best next step?

Show the answer

Answer: Open the card's steps and read the query, because a working NTFS volume with no deleted entries is implausible

A Windows system in use builds up deleted MFT entries constantly, so a count of zero almost certainly means the query never read where those entries are kept. A negative claim is worth only as much as the search behind it. Read the query and ask what it would have returned if the answer had been yes.

Key ideas

One idea at a time

  1. A model with three tools

    The agent never sees the images. All it knows about the case comes from queries it runs, so every statement it makes ought to trace back to a result. It has three tools. sql runs a single statement. It can read a snapshot of the case database, which it cannot change, and a scratch database of its own. report_read returns a report section as text. report_write adds paragraphs, proposed as suggestions for your approval, or written in as tracked changes when the report is in Direct mode. Read-only is enforced by the database engine itself, not by instructions alone: it rejects writes to the case, file reads, setting changes and attaching other databases. The scratch space is the only place the agent can create or drop tables.

  2. Cloud or local, and where the case goes

    Providers are set on the General tab of Case > Settings. Each entry takes a name, a protocol (anthropic or openai), an endpoint URL, a key, and the model, picked from the list Load models fetches. For a hosted model, leave the base URL empty and enter your key. For LM Studio, use the openai protocol, http://localhost:1234/v1 and no key; Ollama and similar servers take the openai protocol and their own address. Hosted means your questions, and the query results the agent reads, travel to the provider. Local means nothing leaves the computer. Decide case by case, under the engagement's terms.

  3. Anatomy of a turn

    Your message opens a turn and a plain-text reply from the model closes it. Between the two, the model requests a tool, the tool runs, and the model reads what came back and picks the next move, for up to forty model calls. Every sql result starts with a summary line: rows returned, whether more exist, query time and memory used. At most 500 rows follow. Truncation is real, and the row that would change the answer can be the one cut off. The snapshot dates from when the agent's database was opened. If evidence is added or processed during a conversation, the next turn reopens it, keeps the scratch tables and tells the model what changed. Anything answered earlier reflects the older state.

    One agent turn: the model and its tools alternate, against a read-only snapshot, until it answersYour messageModeldecides thenext stepToolssqlreport_readreport_writeasks fora toolresult,≤ 500 rowssqlCase databaseread-only snapshot;the engine refuses writesup to 40model callsper turnAnswer in textsteps collapsed above, tokens and time belowTranscriptevery step written under agent/
    One agent turn: the model and its tools alternate, against a read-only snapshot, until it answers.
  4. Read it like a colleague's draft

    Treat the reply as a claim and the steps as its support. Open each step and check that the query actually asks what the reply claims it asked. Read the result: was it cut short or empty, and does it hold what the reply claims? Where the answer matters, run the query yourself against the closed case, removing the casedb. prefix. Verify each citation in Files, Timeline or Artifacts. Finally ask what the query was incapable of finding, because a “none found” is worth exactly as much as the search that produced it.

  5. A confident negative

    On the practice intrusion, a Home card was asked whether the case contained malware. The reply was precise and comforting: 243,089 files scanned, nothing matching malware indicators, no odd extensions, all hidden files explained, zero deleted files. All of it was wrong. The attacker's tools, Meterpreter among them, were sitting on the disk. “Malware name patterns: no matches” never says which names were tried, and name lists miss a binary renamed to look ordinary. “Deleted files: 0” across two working NTFS volumes is a red flag by itself; far likelier, the query never read the place deleted entries are kept. For each step, ask what the query would have returned had the answer been yes.

  6. An implausible fact, accepted

    Asked for the oldest file system time in the case, the agent took the minimum created time and reported 2001-01-01 00:00:00. Midnight on New Year's Day, long before the OS was installed, is almost never a real event. It points to a default, a placeholder or a deliberate edit. The agent answered the literal question and never asked whether the number made sense; that part is the examiner's job. Watch too for a sentence no step supports, an answer from a stale snapshot, a query wider than the question, a missed join that pins one file's details on another, and a rule so narrow it matches only the example.

  7. The record

    Each step in each turn becomes one line of the examiner's transcript, kept under agent/ in the case folder by examiner id. From it you can rebuild any request exactly as the model received it. Reopening the case restores the panel from the transcript, and New conversation starts clean while keeping the old record. Telemetry is separate: a row per model call with case, turn, provider, model, outcome and token counts, never prompt or reply text. It shows cost and duration, not content. File the transcript with your notes, and cite it wherever a finding depends on something the agent turned up.

  8. Validation lab

    Five runs, two models

    Pose one question five times to each of two models. Score how often each model agrees with its own earlier answers and how often it is correct, and compare both with the answer you reached by hand.

Scope

Before you move on

Could you explain each item on the left to a colleague without looking back? If not, reread that idea. The right-hand list is where this module stops.

What this covers

  • The agent's three tools and the read-only case
  • Cloud and local providers, and what leaves the machine
  • The anatomy of a turn, truncation and the snapshot
  • How to read the agent's work, and how it goes wrong
  • The transcript and telemetry

What it does not

  • Cards, proposed findings and prompt tuning (Agentic Analysis II)
  • How any particular model works internally
  • Which provider an engagement's confidentiality terms allow: that is the examiner's call

Have a matter that turns on evidence like this? VeriSigma examinations are quoted at a fixed fee.

Request a fixed-fee quote