<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Parth Pinjarkar</title>
    <description>The latest articles on DEV Community by Parth Pinjarkar (@parth_pinjarkar_86f7f3ec2).</description>
    <link>https://dev.to/parth_pinjarkar_86f7f3ec2</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4101175%2Fd7110418-90ed-4297-bc8e-6ba0dc3475dd.png</url>
      <title>DEV Community: Parth Pinjarkar</title>
      <link>https://dev.to/parth_pinjarkar_86f7f3ec2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/parth_pinjarkar_86f7f3ec2"/>
    <language>en</language>
    <item>
      <title>Agent Harness Hackathon 2026 — What I built, how I used TrueForge, and what I learned</title>
      <dc:creator>Parth Pinjarkar</dc:creator>
      <pubDate>Sun, 30 Aug 2026 09:08:14 +0000</pubDate>
      <link>https://dev.to/parth_pinjarkar_86f7f3ec2/agent-harness-hackathon-2026-what-i-built-how-i-used-trueforge-and-what-i-learned-5fh6</link>
      <guid>https://dev.to/parth_pinjarkar_86f7f3ec2/agent-harness-hackathon-2026-what-i-built-how-i-used-trueforge-and-what-i-learned-5fh6</guid>
      <description>&lt;p&gt;THE PROBLEM&lt;/p&gt;

&lt;p&gt;Ransomware attacks cost organizations over $20 billion every year. Security teams are drowning in 11,000+ alerts per day, most of which are false positives. By the time a human analyst investigates, the encryption has already spread to hundreds of files.&lt;/p&gt;

&lt;p&gt;The average response time? Hours. The average recovery cost? $2.73 million.&lt;/p&gt;

&lt;p&gt;I wanted to build something that could change that — an AI agent that doesn't just detect threats, but investigates and responds to them autonomously, while still keeping a human in the loop for irreversible actions.&lt;/p&gt;

&lt;p&gt;That's how AutoVault was born.&lt;/p&gt;

&lt;p&gt;WHAT I BUILT&lt;/p&gt;

&lt;p&gt;AutoVault is an autonomous AI security operations agent that runs on TrueForge, the open-source agent harness by TrueFoundry. It detects ransomware in 0.3 seconds, spawns 5 parallel subagents to investigate, and responds autonomously — but always stops to ask a human before doing anything irreversible.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;23 MCP tools across 4 specialized servers&lt;/li&gt;
&lt;li&gt;5 parallel subagents that investigate simultaneously&lt;/li&gt;
&lt;li&gt;Daytona sandbox running 20 Python scripts safely&lt;/li&gt;
&lt;li&gt;Multi-step approval workflows with P1-P4 risk scoring&lt;/li&gt;
&lt;li&gt;13 groundbreaking innovations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;HOW I USED TRUEFORGE&lt;/p&gt;

&lt;p&gt;TrueForge isn't just a dependency — it's the brain of the entire system. I used every single TrueForge feature, all 12 of them.&lt;/p&gt;

&lt;p&gt;MCP TOOLS&lt;/p&gt;

&lt;p&gt;I built 4 Python MCP servers using the MCP SDK v2:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;autovault-mcp (8 tools) — Core security operations like scan_directory, analyze_threat, create_snapshot&lt;/li&gt;
&lt;li&gt;autovault-network (5 tools) — Network monitoring: get_network_connections, get_listening_ports&lt;/li&gt;
&lt;li&gt;autovault-forensics (5 tools) — Deep analysis: analyze_file_deep, build_timeline, detect_ransomware&lt;/li&gt;
&lt;li&gt;autovault-threat-intel (5 tools) — Intelligence: get_mitre_technique, check_known_malicious&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Each tool has full input schemas, proper error handling, and returns structured JSON.&lt;/p&gt;

&lt;p&gt;SUBAGENTS&lt;/p&gt;

&lt;p&gt;TrueForge's subagent system was a game-changer. I spawned 5 specialized agents that run in parallel:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Process Investigator — Analyzes suspicious processes&lt;/li&gt;
&lt;li&gt;Network Analyzer — Monitors connections, detects C2 servers&lt;/li&gt;
&lt;li&gt;Forensics Analyst — Reconstructs attack timelines&lt;/li&gt;
&lt;li&gt;Threat Hunter — Maps indicators to MITRE ATT&amp;amp;CK&lt;/li&gt;
&lt;li&gt;Incident Responder — Coordinates response playbooks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The speed improvement was dramatic — what took hours now takes seconds.&lt;/p&gt;

&lt;p&gt;SANDBOX (DAYTONA)&lt;/p&gt;

&lt;p&gt;I wrote 20 Python scripts that run safely in TrueForge's Daytona sandbox:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;7 core analysis scripts&lt;/li&gt;
&lt;li&gt;13 innovation scripts (self-healing, red team, knowledge graph, predictive defense)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;HUMAN APPROVALS&lt;/p&gt;

&lt;p&gt;TrueForge's approval system lets me define 10 rules with risk scoring:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;P1 Critical (Risk 90/100): System lockdown — must get human approval&lt;/li&gt;
&lt;li&gt;P2 High (Risk 50-60/100): Network blocking — human approval required&lt;/li&gt;
&lt;li&gt;P3 Medium (Risk 25-30/100): Firewall changes — optional approval&lt;/li&gt;
&lt;li&gt;P4 Low (Risk 5-10/100): Snapshots, reports — auto-approve&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The 7-step workflow ensures nothing irreversible happens without a human saying yes.&lt;/p&gt;

&lt;p&gt;SKILLS&lt;/p&gt;

&lt;p&gt;I created 4 instruction packs that TrueForge loads dynamically:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;autovault-security — Always loaded&lt;/li&gt;
&lt;li&gt;incident-response — Loaded when threat &amp;gt;= HIGH&lt;/li&gt;
&lt;li&gt;threat-hunting — Loaded in proactive mode&lt;/li&gt;
&lt;li&gt;forensic-analysis — Loaded during investigations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CONTEXT ENGINEERING&lt;/p&gt;

&lt;p&gt;TrueForge's context engineering kept the agent efficient:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Smart compaction preserved recent and critical messages&lt;/li&gt;
&lt;li&gt;Deferred tool loading loaded tools on demand&lt;/li&gt;
&lt;li&gt;Response offloading moved large responses to sandbox&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;PERSISTENT SESSIONS&lt;/p&gt;

&lt;p&gt;The agent saves its state to SQLite every 30 seconds. If the connection drops mid-investigation, it resumes exactly where it left off.&lt;/p&gt;

&lt;p&gt;THE 13 INNOVATIONS&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Human-Like Memory Architecture — Episodic, semantic, procedural, and working memory. The agent remembers past attacks.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Predictive Ransomware Defense — Predicts attacks 30 minutes before they happen.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Recursive Self-Improvement — The agent improves its own code and algorithms.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Collective Intelligence Swarm — Hive mind of agents making decisions together.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Neuromorphic Processing — Brain-inspired neural networks with sub-millisecond latency.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Self-Healing File System — Automatically restores encrypted files from blockchain backups.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AI Red Team vs Blue Team — Two AI teams compete and improve through adversarial training.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Knowledge Graph — Graph database mapping relationships between threats, actors, tools, techniques.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Federated Learning — Multiple organizations train models without sharing sensitive data.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Digital Twin Simulation — Virtual replica for risk-free security testing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Adversarial Robustness — Defends against attacks designed to trick the AI.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Natural Language Threat Intelligence — Query threats using plain English.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Self-Learning Security Evolution — Detection models evolve using genetic algorithms.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;THE QODO CODE REVIEW EXPERIENCE&lt;/p&gt;

&lt;p&gt;Every change goes through Qodo review via GitHub Actions. On PR #1, Qodo found:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A potential bug in create_threat_card — missing key error handling&lt;/li&gt;
&lt;li&gt;Error handling gap in execute_lockdown() — no try/except&lt;/li&gt;
&lt;li&gt;Infinite loop risk in threat detection — no timeout&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All three were real issues. I fixed all HIGH findings and documented everything in the README.&lt;/p&gt;

&lt;p&gt;WHAT I LEARNED&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;TrueForge Is More Than a Wrapper — The MCP tool system, subagent orchestration, approval workflows, and context engineering are all deep, production-grade features.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Parallel Subagents Change Everything — Running 5 investigations simultaneously isn't just faster — it's qualitatively different.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Human Approval Is Non-Negotiable — For a security tool, having human approval is critical. TrueForge made this trivial to implement.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Qodo Actually Finds Bugs — It understands context and finds issues that surface-level analysis misses.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Sandbox Is Your Safety Net — When running scripts that analyze potentially malicious files, you need a sandbox.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Documentation Matters — Writing the README forced me to think about what I actually built and why.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;TRY IT YOURSELF&lt;/p&gt;

&lt;p&gt;github.com/ItsParthPinjarkar/autovault&lt;/p&gt;

&lt;p&gt;git clone &lt;a href="https://github.com/ItsParthPinjarkar/autovault.git" rel="noopener noreferrer"&gt;https://github.com/ItsParthPinjarkar/autovault.git&lt;/a&gt;&lt;br&gt;
cd autovault&lt;br&gt;
pip install -r agent/requirements.txt&lt;br&gt;
pip install -r mcp-server/requirements.txt&lt;br&gt;
bash setup-trueforge.sh&lt;br&gt;
python demo_advanced.py&lt;/p&gt;

&lt;p&gt;ACKNOWLEDGMENTS&lt;/p&gt;

&lt;p&gt;Built for the Agent Harness Hackathon (August 24-30, 2026).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;TrueForge by TrueFoundry — The agent harness&lt;/li&gt;
&lt;li&gt;Qodo — AI code review&lt;/li&gt;
&lt;li&gt;Codebuff — AI coding assistant&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This project was built with AI assistance. All code has been reviewed, tested, and understood by the developer.&lt;/p&gt;

</description>
      <category>trueforge</category>
      <category>qodo</category>
      <category>aisecurity</category>
      <category>hackathon</category>
    </item>
  </channel>
</rss>
