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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学
D
Docker
S
SegmentFault 最新的问题
博客园 - 聂微东
美团技术团队
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
GbyAI
GbyAI
L
LangChain Blog
Vercel News
Vercel News
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
Engineering at Meta
Engineering at Meta
T
Threat Research - Cisco Blogs
T
Threatpost
Scott Helme
Scott Helme
T
Tailwind CSS Blog
Latest news
Latest news
Stack Overflow Blog
Stack Overflow Blog
Blog — PlanetScale
Blog — PlanetScale
The Register - Security
The Register - Security
罗磊的独立博客
P
Proofpoint News Feed
腾讯CDC
S
Schneier on Security
雷峰网
雷峰网
A
About on SuperTechFans
T
Tenable Blog
F
Full Disclosure
Cyberwarzone
Cyberwarzone
博客园_首页
有赞技术团队
有赞技术团队
K
Kaspersky official blog

DEV Community

How I built a dependency risk scanner with Coral in 7 days Local-first: a Model on Your Own Machine, Zero Cloud 2487. Remove Nodes From Linked List C_STD : A Leak-Free, Cross-Platform Standard Library for Modern C How to build your professional network as a developer — authentic strategies The Pope and the Dynamo Building ShouldWeAutomate: A Decision Intelligence Platform for Workflow Automation The Reputation Layer: Why Developers Quietly Run Corporate PR The Last Mile of Software Is a Sentence AppView 1.0.0 Released: Instrument and Secure Your LLM Deployments S2 — Heap Corruption Crashes: How to Diagnose and Fix Them I built a Chrome extension because I couldn't stop opening Twitter between Pomodoro sessions AI cheating in technical interviews is invisible to interviewers — here's how we detect it Lean4 Might Be the Missing Piece in AI: Why Theorem Provers Are Suddenly Everywhere The Zero-Drift API Series: Stop Trusting a Green Build You Can't Explain How I Deployed My First Project on AWS (And Didn't Break Everything) How I Built a Real-Time Quiz Platform with Next.js, WebSockets, and Learning Science When Your VPS Blocks Outbound SMTP: What Actually Helps Los agentes de código necesitan memoria durable, no solo contexto Cognitive Architectures of AGI: 7 Patterns That Transform LLMs from Oracles into Thinkers I Built a Chat App That Deletes Itself (Because I Was Bored at 2am) Uncovering the Power of Linux's History Command How to Add a Contact Form to Your Ghost Blog Accept Payments in Minutes with Afriex Checkout Sessions Hermes Agent Gets Smarter Every Day. So Does the Bill. How I get Next.js sites to load almost instantly — a practical checklist Treasure Hunt Engine: Why One Bad Prometheus Rule Sank the Whole Veltrix Event Test a DNS Leak in 2 Minutes: Complete Methodology + Per-OS Fixes (2026) Lessons from building a Chrome extension Rivet: A library i made in 2 days I Built a Speech-to-Text Tool Because Sometimes Typing Just Gets in the Way How I'm Building a Multi-Agent Crew for AI Coding Supervision (Cipher Update) Your AI Agent Needs a Manager, Not a Superhero I Built CausalLens — A Free, Open-Source Causal Impact Calculator for Time Series (5 Methods, Zero Setup) How to write good commit messages and pull requests — a team guide Cipher: The Jarvis with a Hermes Core How to build a second brain with Obsidian and Claude Code (step by step) Claude completed my MPI assignment. Then it couldn't run it. So I built the missing piece. This 100% How Our Document Ingestion Pipeline Turns Files into LLM-Ready Markdown Agentic AI Model Risk Management: Aligning with Regulatory Expectations CTV Fraud Has an IPv6 Business Problem The great AI enshittification The Veltrix Treasure Hunt Engine: Why Our First Rewrite Cost Us 3.2 Million Requests Per Second I Made My AI Models Argue, Then Let Hermes Be the Judge Road To KiwiEngine #4: The Racecar Driver Analogy Run Aider on Ollama, Bedrock, or Any LLM Provider — One Gateway, Every Model BAIXAR VÍDEO DO YOUTUBE Releasing HeliosProxy, The programmable Postgres data-plane Hello, DEV Community! 👋 Three Bitcoin Primitives That Don't Exist Anywhere Else (PoW Beacon, DLC Oracle, Fair-Launch Rune) Append-only doesn't mean what you'd hope Notes from the Mistral AI Now Summit Are Claude skills safe in 2026? What the Snyk ToxicSkills audit actually found How to not Lose $500M via API Bills: Run Private AI for 100 Engineers Under $1 Million The Unlikely Journey from Bricks to Bytes Three TODOs, three weeks, one weekend: finishing pq v0.14 Server-Side WebRTC Noise Reduction with Pion, FFmpeg, and RNN Models Autonomous AI Agents in Cryptocurrency Portfolio Management IDOR BugBounty Labs: 5 Realistic Challenges to Master Insecure Direct Object Reference IDOR Lab: The Bug Bounty Training Platform That Doesn't Hold Your Hand ZentriqGuard — Hermes Agent-Powered Zero-Trust Access Auditor Why Artistic QR Codes Silently Fail (And How I'm Trying to Fix It) How I Built and Monetized a Currency Exchange Rate API with FastAPI, Deployed it on Render, and Published it on RapidAPI. The 7 Best Reddit Scrapers in 2026 (Free & Paid, Tested) An AI runs my company. A solo dev vibe-coded $15K in a week — we made $[X]. A cold autopsy. I am new here Stop Pasting Your Code Into ChatGPT For Debugging—Run LLMs Locally Instead 5 Free JSON Tools Every Developer Should Bookmark Building reqlog: a Go CLI for tracing request flows across logs (files, Docker, SSH) Environment Variables in Node.js — What They Are, How dotenv Works, and Why Getting This Wrong Can Ruin You I Built a Zero-Dependency Discord.js Package That Creates Temporary Voice Channels Automatically Goodbye CSV Nightmares: Automating Magento Order Line Item Exports in Google Sheets Nexthena — A Local-First Whiteboard App Built on Excalidraw How we built an platform to solve the "finding a photographer" problem 5 Failure Modes I Found in My Financial RAG (And the One That Actually Mattered) From Logic to Numbers: A Beginner’s Guide to Programming Through Mathematical Thinking Oracle Fusion Report Scheduling with Skip Conditions AtCoder Beginner Contest 460 参加記録と解答例 (A D問題) Your AI Agent Just Crashed at Step 9 of 12. Here's How to Make That Not Matter. Grokking the System Design Interview: Why the Original Course Still Wins Outbox Pattern Solves Publishing. Inbox Pattern Solves Processing. Why autism hasn't disappeared — a hypothesis Por que eu parei de usar Cloudinary e construí minha própria API de imagens How to Test if Your Proxy is Leaking DNS: 2026 Setup Guide AWS VPC Networking — Public Subnet, Private Subnet ve 3-Tier Mimari MediaNote: a note-taking app inside VS code I built a sovereign self-healing AI development system from scratch using Hyperdimensional Computing — no LLMs, no cloud, no APIs WordPress vs. Next.js: benchmark real pe Core Web Vitals (și de ce plugin-urile de cache nu rezolvă problema) ai, deepseek, machinelearning I Gave My Dead Raspberry Pi to an AI Agent. It Fixed Everything Over SSH. How I Built a Google Shopping Scraper with Python & Playwright I Turned Hermes Agent into a Verifiable Agent Operating System The 5 Systematic Failure Modes of AI Research Reports (and How to Catch Them) Stop Saying 'Great!'—Build a Real AI Interview Coach with Claude Code Simple SQL Tool What is DevOps? A Plain English Guide for Beginners Why ChatGPT sucks at generating Types (and how I fixed it) Modelling a codebase as a requirements ontology in Neo4j, keeping AI coding agents oriented AI Is Doing the Work of Junior Developers — And Nobody Is Talking About What Happens in 7 Years
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