Agent Harness

Agent Harness Features

  • Planning
  • Context Management
  • State Management
  • Memory
    • Short Term, Long Term
  • Skills, Tools and MCP
  • Shell Execution
  • Interpreter
  • Sub-Agents
  • Human-in-the-loop (HITL)
  • Multi-step workflow
  • Long running tasks
  • Error Recovery
  • Time Travel (Prompt Editing + Replay)

Agent Orchestrator

OpenClaw and Hermes

  • https://trilogyai.substack.com/p/technical-deep-dive-hermes-vs-openclaw
  • https://github.com/NousResearch/hermes-agent
  • https://openclaw.ai/
  • Philosophy
    • Focus on routing and control
    • Focus on memory and self improvement
  • Architecture
    • OpenClaw: Node.js
      • Good for I/O heavy gateway work
    • Hermes: Python
      • Access to ML ecosystem, Self Learning loop
  • Session History
    • Both uses SQLite with FTS5
    • Hermes has bounded Memory and audits its own memory
    • OpenClaw stores memory in markdown files and can be edited
  • Execution Environment
    • OpenClaw runs the heavy work on local
    • Hermes can offload heavy work to serverless execution like backends like Daytona/Modal
  • Both have multiple chat gateways including WhatsApp, Discord, Telegram
  • Both have Skills support and come with preinstalled skills

LangGraph

  • https://docs.langchain.com/oss/python/langgraph/overview
  • LangGraph provides low-level supporting infrastructure for any long-running, stateful workflow or agent
  • Agent is composed of steps called Nodes which connect to form graph
    • START node for start
    • END node for end
  • All nodes have a shared state
  • Types of steps/nodes
    • LLM step
      • analyze, generate text or decisioning
    • Data step
      • Retrieve information
    • Action step
      • Perform external action
    • User input step
      • Need human intervention
  • Nodes can include error handler and retry policy
  • Common design
  • Langchain Agents are internally implemented using LangGraph