Asian School of Cyber Laws
Interactive simulation

Build your first AI agent

Watch three AI security agents and their Chief audit a domain. They map what it exposes, check its HTTPS security and check its email protection, then write a report each.

A teaching demo extracted from Cyber360, the agentic cybersecurity framework by Rohas Nagpal.

Targetexample.com

Chief: Ready. Confirm your authority over the target, then run the audit.

H1 Reconnaissance
S18 Email & Domain
S11 TLS & Cryptography
Pass0
Finding0
Unknown0

SimulationRecorded sample output for the reserved domain example.com. Nothing is scanned from this page.

01 · What is an agent?

A model that keeps going until the job is done

An AI agent is an AI model set up to pursue a goal across several steps on its own. It decides what to do next, runs a tool, reads the result and goes round again. Here is S18 working out whether example.com can be spoofed.

Done yet?
Decide
Run tool
Read result
Goal

Can someone send email pretending to be example.com?

Agent notebook

    report.htmlWritten with 4 checks: 2 pass, 1 finding, 1 unknown
    02 · Inside an agent

    Six parts, one folder

    These agents are not separate AI models. Each one is a folder of instructions, tools and knowledge that turns the model already running in Claude Code or Codex into a specialist. Tap a layer to open it.

    
          Simplified from the H1 Reconnaissance agent.
        
    03 · Three rules that keep agents honest

    Power with guard rails

    An agent that can run commands needs limits it cannot talk its way around. Cyber360 builds three of them into every agent.

    Rule 1

    Allow-listed commands only

    Agents run only the commands in their tools.yaml. No free-form shell.

    tools.yaml
    Allowed 0Blocked 0
    Rule 2

    Evidence first

    Every command's raw output is saved, and every finding links to the line that proves it.

    FindingDMARC only monitors spoofed mail
    evidence/dig-txt-_dmarc.txt
    ; <<>> DiG 9.18 <<>> TXT _dmarc.example.com
    ;; status: NOERROR, ANSWER: 1
    ;; ANSWER SECTION:
    _dmarc.example.com. 300 IN TXT "v=DMARC1; p=none"
    ;; Query time: 24 msec
    Rule 3

    Unknown is not a pass

    A blocked or failed check is reported as unknown, never as secure.

    STARTTLS on mx1.example.com
    Naive scanner
    Cyber360 agent
    04 · Run it yourself

    Paste one line into Claude Code or Codex

    The plugin installs the Chief and all three agents. Point it only at a domain you own or have written permission to test. Reports and evidence stay on your computer.

    setup the plugin from https://github.com/rohasnagpal/demo-domain-audit and run a full domain audit against example.com