Skip to main content
Advanced tool-using agent with web, filesystem, and code execution capabilities.

Code

Create hermes-agent.py with the code below, or save it directly from your editor.

Skill Configuration

Create skills/hermes-agent-skill/skill.yaml:

How It Works

Hermes Agent Integration
  • AIAgent: Full tool-using agent from Nous Research
  • Prompt caching preservation across Bindu calls
  • Lazy initialization for resource efficiency
Safety Tiers
  • read: Web search and extraction only (default)
  • sandbox: Adds filesystem and code execution
  • full: Complete toolset including terminal access
  • Never expose full tier with public tunnels
Tool Capabilities
  • Web search and content extraction
  • Filesystem operations (read/write)
  • Code execution in sandboxed environments
  • Terminal access and command execution
  • MCP integration for external tools
Message Processing
  • Extracts latest user message from A2A format
  • Handles both string and list content structures
  • Feeds only new messages to preserve caching

Dependencies

Environment Setup

Create .env file:

Run

Examples:
  • “Research the latest developments in quantum computing”
  • “Write a Python script to analyze CSV data”
  • “Create a web scraper for e-commerce prices”
  • “Set up a development environment for React”

Example API Calls

Frontend Setup

Open http://localhost:5173 and try to chat with the Hermes agent