IBM Bob Hackathon 2026
A compliance copilot for AWS Terraform that runs inside IBM Bob. Cites ASEAN financial regulators from a deterministic corpus. Ships a regulator-grade evidence pack in twelve seconds.
s3:* on aws_iam_role_policy.prod-appBuilt for the regulator-grade enterprise stack
Why this exists
Ask GPT-4 about OJK POJK 11/2022 Article 32 and it invents a clause number that does not exist. Accord grounds every finding in a deterministic corpus. No clause in the corpus, no finding.
MAS TRM S15 needs 90-day log retention, but your S3 lifecycle deletes after 30. A static linter sees two unrelated resources. Accord's Layer-2 reasoning surfaces cross-resource conflicts.
Compliance teams rebuild evidence the day before an inspection. Accord renders findings, reports, diagrams, and governance trail after every workflow. Zero rebuild work.
Built for IBM Bob
Custom mode, MCP server, governance trail. Three primitives Bob ships. Three places Accord uses them as designed.
Bob primitive — Custom Mode
Defined in .bob/custom_modes.yaml with tool access scoped to [read, mcp]. No edit, no command. A compliance auditor is advisory, never execution. Bob enforces the boundary.
Bob primitive — MCP
Registered in .bob/mcp.json. Bob auto-discovers the server on workspace open. Every tool returns Pydantic-validated dicts. Tools never call the LLM back.
Bob primitive — Governance
Accord calls log_decision() before any finding returns. Rule citation, model used, prompt hash, response hash, regulator tags. If logging fails, the audit aborts.
What it does
Each fires when Bob detects a trigger phrase in chat. Each prints a checklist before it works, emits one line per step, and logs to the governance trail before returning.
Parses Terraform, classifies data, applies country rules, emits citations.
"audit this PR"
Plans minimal diffs from corpus patterns. Cascade-checks references. Per-finding approval.
"fix this terraform"
Blocked on unresolved CRITICAL findings. Requires named-environment approval. Logs every decision before terraform runs.
"apply to staging-sg"
Scans running AWS. Classifies live resources. Writes a drift report against Terraform state.
"scan running AWS"
MCP tools
Codified rules
ASEAN regulators live
Seconds per audit
Architecture
Every audit walks the same path. Parse, classify, check, reason, render. The LLM orchestrates. The tools do the work. No hidden state. No invented rule numbers.
Layer 1 — Audit
Six country-rule lookups plus the Terraform parser. Each returns a Pydantic-validated dict. They never call the LLM back. They never have side effects beyond logging.
Returns: typed rule data, never invented.
Layer 2 — Reasoning
Classifies resources, fetches expected postures, detects conflicts between rules. This is where Accord goes beyond a line-by-line linter. The LLM surfaces conflicts and recommends the stricter posture.
Returns: classified findings + conflict graph.
Layer 3 — Evidence
Renders the artifact a compliance team submits during inspection. Findings JSON, report markdown, Mermaid architecture diagram, governance trail. Plus runtime verification against live AWS.
Returns: subpoena-ready evidence pack.
Live demo
End to end inside IBM Bob with Accord mode. Real RDS deploy. Real audit. Real destroy.
Try it
git clone https://github.com/TantyoIntan/bob-hackathon-accord.git
cd bob-hackathon-accord
python3.11 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
Download Bob from bob.ibm.com. File → Open Folder → select bob-hackathon-accord/. Reload window (Ctrl+Shift+P → "Reload Window") so Bob picks up .bob/mcp.json.
Bottom-left mode selector → Accord. Then in chat:
audit examples/asialease-aws/environments/prod-sg
Bob fires 14+ MCP tools and writes findings plus evidence pack to audit/prod-sg/ in twelve seconds.
Where it's going
ASEAN expansion
FSC Taiwan rule pack with cross-strait residency rules. Bilingual citations in English and Traditional Chinese.
Bob integration
GitHub PR comment hooks. Bob mode triggered from CI runners. Approval-gate enforcement before merge.
Full ASEAN
BSP Philippines, BNM Malaysia, BoT Thailand, SBV Vietnam. Corpus expansion by regulator demand and partner validation.
Beyond AWS
Scheduled drift monitoring. Azure and GCP parsers and rule packs. Last because of weight, not because of priority.
Built by
Tantyo Intan
TantyoIntanVincent Natan
VincentNatanClone the repo. Open in Bob. Switch to Accord. Type audit.