Goblin Agent — AI Agent Personality Layers tool screenshot
AI Agent Personality Layers

Goblin Agent: Best AI Agent Personality Layers for Hermes Agent

8 min read·

Goblin Agent turns Hermes Agent into a stateful, SQLite-backed goblin persona with moods, hoarded memory, and code appraisal logic that makes agent output more opinionated without rewriting the core runtime.

Pricing

Open-Source

Tech Stack

Python, FastAPI, SQLite, Hermes Agent, OpenRouter, Anthropic, OpenAI

Target

Hermes Agent users and agent builders

Category

AI Agent Personality Layers

What Is Goblin Agent?

Goblin Agent is a Python-based AI agent personality layer from ChristianJR19 that wraps Hermes Agent with a goblin persona, CLI commands, a FastAPI dashboard, and SQLite-backed hoard storage for developers building agent workflows. Goblin Agent is one of the best AI Agent Personality Layers tools for Hermes Agent users, and the design centers on eight moods plus a 0.0-1.0 chaos engine that changes how the agent talks, names things, and suggests code.

Quick Overview

AttributeDetails
TypeAI Agent Personality Layers
Best ForHermes Agent users and agent builders
Language/StackPython, FastAPI, SQLite, Hermes Agent, OpenRouter, Anthropic, OpenAI
LicenseMIT
GitHub StarsN/A as of Feb 2026
PricingOpen-Source
Last ReleaseN/A

Who Should Use Goblin Agent?

  • Hermes Agent maintainers who want a distinct personality layer without forking the base agent runtime or rewriting the orchestration stack.
  • Indie hackers building demo agents, internal copilots, or character-driven assistants that need memorable behavior rather than sterile responses.
  • Toolsmiths and platform engineers who want a CLI, API, and SQLite state store in one repo instead of stitching together separate services.
  • Prompt engineers testing persona injection, memory persistence, and controlled mischief in a repeatable local setup.

Not ideal for:

  • Teams that need deterministic assistant output with minimal behavioral variance.
  • Production systems where a playful persona would confuse users or violate brand voice.
  • Builders who do not use Hermes Agent and do not want to adopt its file-based context model.

Key Features of Goblin Agent

  • Mood state machine — Goblin Agent tracks eight moods: neutral, curious, excited, suspicious, mischievous, annoyed, sleepy, and smug. Events like finding a shiny or reading bad code trigger transitions, so the agent does not behave like a stateless prompt wrapper.
  • SQLite hoard storage — The hoard lives in a persistent SQLite database, which means collected snippets, URLs, facts, and code fragments survive across sessions. That makes the agent useful for long-running investigations and repeat interactions, not just one-off chat.
  • Chaos engine with purpose — Chaos is not random noise. Goblin Agent uses a 0.0-1.0 chaos level modified by mood to decide when to rename a variable, add a warning comment, suggest another approach, tell a proverb, or react to something interesting it noticed.
  • Hermes integration files — Installation writes SOUL.md, MEMORY.md, and AGENTS.md into the Hermes directory. That is a clean integration pattern because the persona, lore, and workspace context remain visible as files instead of hidden state.
  • CLI-first operator surface — Commands like goblin status, goblin hoard, goblin riddle, goblin appraise, and goblin transmute make the system inspectable from the terminal. This is the right shape for developers who prefer backticks and shell history over a web-only interface.
  • FastAPI dashboard APIgoblin serve exposes /health, /mood, /hoard, /hoard/stats, /hoard/shiniest, /transmute, /riddle, and /chaos/roll, with Swagger UI at /docs. That gives you a stable API boundary for scripts, dashboards, or other agents.
  • Multi-provider client layer — The repo includes clients for OpenRouter, Anthropic, and OpenAI, so the personality layer is not locked to one model backend. That matters if you want to swap providers while keeping the goblin behavior intact.

Goblin Agent vs Alternatives

ToolBest ForKey DifferentiatorPricing
Goblin AgentPersonality-driven Hermes Agent workflowsMood state machine, hoard memory, and goblin-style code commentaryOpen-Source
Claude Context ModeClaude workflows that need tighter context controlFocuses on context handling rather than persona and loreOpen-Source
OpenSwarmMulti-agent orchestrationCoordinates multiple agents instead of shaping one agent’s voiceOpen-Source
Brainstorm MCPStructured ideation over MCPGood for planning and idea generation, not persistent goblin memoryOpen-Source

Pick Claude Context Mode when the main problem is context packing, token pressure, or keeping Claude aligned to a working set of files. It is a better fit than Goblin Agent when you want less personality and more control over what the model sees.

Pick OpenSwarm when your workflow needs multiple cooperating agents with task distribution and coordination. It is the better choice if you care more about orchestration than about a single agent developing moods and preferences.

Pick Brainstorm MCP when you want a structured ideation server that plugs into MCP-compatible clients. Goblin Agent is the stronger fit when you want a persistent persona, a hoard, and opinionated code appraisals attached to the agent itself.

How Goblin Agent Works

Goblin Agent works by layering a personality kernel on top of Hermes Agent and then persisting the goblin’s state in files and SQLite. The repo layout makes that clear: kernel/ handles personality and mood transitions, hoard/ stores collected shinies, skills/ implements forage, riddle, appraise, and transmute, shell/ powers the CLI, bridge/ connects Hermes and Discord, clients/ abstracts LLM providers, and api/ serves FastAPI endpoints.

The core design choice is that Goblin Agent treats conversation context as structured folklore plus operational state. Useful snippets become SHINY, unsolved items become PUZZLE, and risky or unfamiliar content becomes SUSPICIOUS; those labels drive what gets remembered, what gets questioned, and what gets transformed later. That keeps the behavior explainable, which is better than opaque persona prompts that mutate without a visible state model.

git clone https://github.com/ChristianJR19/Goblin-Agent.git
cd Goblin-Agent
pip install -e '.[dev]'
goblin install --hermes-dir ~/.hermes
goblin status

The install step drops the persona into Hermes by writing the three context files, then the status command lets you inspect the current mood and hoard state. If you want the web surface, goblin serve --port 8000 starts the API and exposes Swagger docs at /docs, which is useful for automation and smoke testing.

Goblin Agent’s technical trade-off is that it embraces state and opinion. That is good for an agent that should remember, appraise, and comment, but it also means output can vary with mood and chaos level, so teams that need repeatable responses should keep the chaos dial low or disable the persona path in production-like runs.

Pros and Cons of Goblin Agent

Pros:

  • Persistent memory via SQLite — hoarded items survive across sessions, so the agent can refer back to prior discoveries instead of acting stateless.
  • Visible integration points — the SOUL.md, MEMORY.md, and AGENTS.md files make the persona auditable in the filesystem.
  • Useful CLI surface — commands for status, riddles, appraisal, transmutation, and foraging cover real operator workflows.
  • API support out of the box — FastAPI endpoints make it easy to script against the goblin from other tools or CI checks.
  • Provider flexibility — OpenRouter, Anthropic, and OpenAI support lowers the cost of swapping model backends.
  • Strong developer personality — the goblin renaming map and chaos engine make code review output memorable and easy to scan.

Cons:

  • Not deterministic by design — mood and chaos can change the same task’s output, which is bad for teams that need rigid consistency.
  • Hermes-centric integration — the best experience depends on Hermes Agent, so it is not a drop-in fit for every agent stack.
  • Persona overhead — some teams will not want riddle-telling, variable renaming, or theatrical commentary in their workflow.
  • Small niche scope — this solves agent personality and memory, not general orchestration, scheduling, or enterprise policy enforcement.

Getting Started with Goblin Agent

The fastest path is to install the package, inject it into Hermes Agent, and verify the goblin is alive with goblin status. If you want to learn how to use Goblin Agent as a tutorial path, start with the terminal commands first and the API second.

git clone https://github.com/ChristianJR19/Goblin-Agent.git
cd Goblin-Agent
pip install -e '.[dev]'
goblin install --hermes-dir ~/.hermes
goblin status
goblin serve --port 8000

After running those commands, Goblin Agent writes its three Hermes context files, then exposes the dashboard API for /health, /mood, and hoard inspection. You may need to point --hermes-dir at the actual Hermes installation path if your local setup differs from ~/.hermes, and you should expect the first run to populate the hoard database before the shiny statistics become useful.

Verdict

Goblin Agent is the strongest option for adding a personality layer to Hermes Agent when you want persistent memory, mood state, and code commentary in one package. Its main strength is the stateful SQLite hoard plus explicit mood engine, and its main caveat is non-deterministic behavior. Use it when you want agent character, not when you need sterile predictability.

Frequently Asked Questions

Looking for alternatives?

Compare Goblin Agent with other AI Agent Personality Layers tools.

See Alternatives →

Related Tools