惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Last Watchdog
The Last Watchdog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 热门话题
G
GRAHAM CLULEY
S
Schneier on Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
SegmentFault 最新的问题
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
Recorded Future
Recorded Future
I
Intezer
云风的 BLOG
云风的 BLOG
博客园 - Franky
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
T
Tenable Blog
The Hacker News
The Hacker News
T
The Blog of Author Tim Ferriss
Attack and Defense Labs
Attack and Defense Labs
D
DataBreaches.Net
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
N
News and Events Feed by Topic
有赞技术团队
有赞技术团队
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
N
News and Events Feed by Topic
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Secure Thoughts
The Register - Security
The Register - Security
B
Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
The Cloudflare Blog
Webroot Blog
Webroot Blog
W
WeLiveSecurity
H
Heimdal Security Blog
博客园 - 三生石上(FineUI控件)
V
Vulnerabilities – Threatpost
G
Google Developers Blog
O
OpenAI News
V
V2EX
罗磊的独立博客
博客园_首页
N
News | PayPal Newsroom
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
TaoSecurity Blog
TaoSecurity Blog
Cloudbric
Cloudbric
H
Hacker News: Front Page
博客园 - 叶小钗
T
Tor Project blog
AI
AI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
The Hermes Rescue: How an Open Agent Rebuilt My GitHub Projects from Scratch
Maani K · 2026-05-31 · via DEV Community

(https://dev.to/challenges/hermes-agent-2026-05-15)*


Losing access to a GitHub account is a developer’s nightmare. When my account was suddenly suspended, years of work on two critical projects—Chrome Bots (an automated browser orchestration tool) and Mars Project (a space-colit simulation framework)—vanished from my local machine's upstream sync overnight.


I didn't just lose the repositories; I lost the incremental commit history, the documentation, and the architectural context.
Instead of panicking and manually rewriting thousands of lines of code, I turned to Hermes Agent. Using its autonomous planning, deep reasoning, and advanced tool-use capabilities, I tasked Hermes with reverse-engineering my local build artifacts, parsing scattered log files, and reconstructing both codebases from scratch.

Here is the comprehensive story, technical breakdown, and how-to guide of how Hermes Agent pulled off the ultimate recovery mission, and why this open-source framework is a game-changer for AI-driven development.

  1. Personal Essay: The Power of an Open Agent in a Crisis When you lose your GitHub account, you realize how fragile the modern developer ecosystem can be. Centralized platforms are incredibly convenient until they aren't. In my case, I was left with fragmented local caches, compiled binaries, and half-baked design docs scattered across my drive.

Many commercial AI assistants are gated behind strict chat interfaces. They can write snippets of code, but they cannot act as autonomous engineers. They can't navigate a local file system, run a terminal command, look at a compilation error, and iteratively fix it without human intervention.

This is where an open, capable agent system like Hermes changes the narrative. Because Hermes can be run locally, connected to native system tools, and given an autonomous execution loop, it became a tireless collaborator.

Why Open Agent Systems Matter for the Future

The future of AI development isn't just "chatbots that write code." It is autonomous agency.

  • Data Sovereignty: Running agents locally ensures your proprietary or recovered code stays yours.

  • Uncapped Execution: Commercial wrappers often timeout during long multi-step reasoning processes. An open framework allows the agent to think as long as the hardware permits.

  • True Tool Integration:

An open agent can safely interface with a local Bash terminal, Docker containers, and custom AST (Abstract Syntax Tree) parsers.
Hermes didn't just guess what my code looked like; it analyzed my local environment, read the leftover build outputs of the Chrome Bots system, and algorithmically reconstructed the missing logic. It proved that AI agents are transitioning from simple code completion tools to resilient technical partners.

  1. Deep Technical Breakdown: How Hermes Executes Complex Recovery To understand how Hermes rebuilt Chrome Bots and the Mars Project, we have to look under the hood. Hermes operates on a sophisticated ReAct (Reasoning and Acting) framework, supercharged by advanced planning and tool-use loops. ### The Autonomous Execution Loop When tasked with a massive recovery project, Hermes doesn't just start typing code. It follows a strict four-stage cyclical architecture:
[Goal: Recover Project] ──> (1. Plan & Deconstruct) ──> (2. Tool Execution)
                                    ▲                             │
                                    │                             ▼
                               (4. State Update) <── (3. Environment Feedback)

Enter fullscreen mode Exit fullscreen mode

  1. Plan & Deconstruct:** The agent breaks down the overarching goal ("Recover Chrome Bots Puppeteer routing") into a directed acyclic graph (DAG) of sub-tasks.

  2. Tool Execution: It calls specific tools (e.g., executing a Bash command to grep system logs or reading a binary header).

  3. Environment Feedback: The agent captures stdout, stderr, or file contents.

  4. State Update & Reflection: Hermes evaluates if the tool execution succeeded. If a reconstructed Python script throws a SyntaxError during a test execution, Hermes catches the error trace, analyzes the failure, and updates its internal plan.

Advanced Tool Selection

Unlike basic LLMs that simply output code blocks, Hermes utilizes structured tool calling. For example, during the recovery of the Mars Project physics engine, Hermes frequently utilized a custom file-writing and testing loop:

{
  "tool": "execute_bash",
  "arguments": {
    "command": "pytest test_orbit_mechanics.py"
  }
}

Enter fullscreen mode Exit fullscreen mode

If the test failed with a delta error (E_{error} > \epsilon), Hermes mathematically recalculated the orbital trajectory equations using its internal reasoning weights and rewrote the source file dynamically.

  1. Comparison Piece: Hermes Agent vs. Other Agentic Frameworks

How does Hermes stack up against the rest of the ecosystem? If you are deciding which framework to reach for, here is how Hermes compares to other dominant platforms like CrewAI, AutoGPT, and LangGraph.
| Feature / Dimension | Hermes Agent | CrewAI | AutoGPT | LangGraph |

|---|---|---|---|---|

| Primary Focus | Deep technical execution & autonomous coding | Multi-agent roleplay & business workflows | General task automation | Cyclical, graph-based custom agent state machines |
| Local Independence | High (Optimized for local LLMs and native tools) | Medium (Highly reliant on cloud APIs) | Medium (Tends to loop endlessly without strict prompts) | High (But requires manual graph wiring) |

| Reasoning Depth | Excellent

(Built on top of specialized reasoning models) | Moderate (Good for orchestration, less for deep debugging) | Low to Moderate | High (Depends entirely on developer implementation) |
| When to Choose | When you need an autonomous engineer to write, test, and debug code locally. | When you need a team of agents to write a marketing campaign or parse a collection of PDFs. | For broad, open-ended internet research tasks. | When you want total, granular control over the exact path an AI takes through an app.

The Verdict

Reach for Hermes when the problem requires deep technical precision, cyclical debugging, and direct interaction with local system tools. Reach for frameworks like CrewAI when you need human-like collaboration between different personas (e.g., a "Product Manager Agent" talking to a "QA Agent").

  1. How-To Guide: Setting Up and Running Hermes Agent Locally Ready to build your own resilient autonomous workspace? Follow this guide to install Hermes Agent locally and connect it to system tools.

Prerequisites

  • Python 3.10 or higher installed.
  • Docker installed (highly recommended for isolating the agent's file system activities).
  • An LLM provider API key (Ollama for 100% local operation, or Anthropic/OpenAI keys).

Step 1: Installation
Clone the repository (or initialize the framework package) and install the core dependencies:

pip install hermes-agent-framework

Enter fullscreen mode Exit fullscreen mode

Step 2: Configure the Environment
Create a .env file in your workspace directory to manage your keys and environment settings:


# Workspace Configuration
HERMES_WORKSPACE_DIR="./local_sandbox"
ENABLE_BASH_TOOL=true
SAFE_MODE=false


 LLM Backend (Example using Anthropic or Local Ollama)
LLM_PROVIDER="anthropic"
ANTHROPIC_API_KEY="your-api-key-here"

Enter fullscreen mode Exit fullscreen mode

Step 3: Define Custom Tools
To prevent an agent from destroying your system, you can define explicit python tools. Here is how you can expose a safe file-reader and code-executor to Hermes:

from hermes_agent.tools import tool

@tool
def read_recovery_log(file_path: str) -> str:
    """Reads fragmented system logs to extract old codebase structures."""
    try:
        with open(file_path, 'r') as f:
            lines = f.readlines()
        # Return last 100 lines containing crash/build state
        return "".join(lines[-100:])
    except Exception as e:
        return f"Error reading log: {str(e)}"

Enter fullscreen mode Exit fullscreen mode

Step 4: Initializing and Running the Agent

Create a run_recovery.py script to spin up Hermes, attach the tools, and provide the initial system prompt that saved my projects:


python
from hermes_agent import HermesAgent
from my_custom_tools import read_recovery_log

# Initialize the agent with specific recovery capabilities
agent = HermesAgent(
    model="claude-3-5-sonnet",
    system_instruction=(
        "You are an expert recovery engineer. Your GitHub account was lost. "
        "Your goal is to inspect local logs, reverse-engineer build artifacts, "
        "and reconstruct the 'Chrome Bots' and 'Mars Project' codebases flawlessly."
    )
)

# Register tools
agent.register_tool(read_recovery_log)

# Execute the autonomous loop
recovery_prompt = (
    "Scan the ./recovery_dump folder. Reconstruct the main execution files "
    "for Chrome Bots. Ensure all unit tests pass before marking the task complete."
)

print("Starting Hermes Recovery Loop...")
result = agent.chat(recovery_prompt)
print("Recovery Complete! Summary of actions taken:")
print(result)

Concluding 

When centralized infrastructure fails, local intelligence wins. By leveraging **Hermes Agent**, I transformed what should have been two weeks of grueling rewrite work into a 3-hour automated synthesis pipeline.

The agent successfully parsed my local .pyc compiled files, read terminal history logs, re-implemented the Puppeteer steering algorithms for *Chrome Bots*, and re-calculated the mathematical coordinate mapping formulas required by the *Mars Project*.

Whether you are building complex automation systems or safeguarding your projects against catastrophic data loss, mastering open-source agent frameworks like Hermes is the ultimate superpower for the modern developer.

Enter fullscreen mode Exit fullscreen mode