All AGH global, workspace, agent, skill, database, log, socket, memory, and extension paths.
Audience
Operators running durable agent work
Focus
Configuration guidance shaped for scanability, day-two clarity, and operator context.
AGH uses one global home directory plus optional workspace-local .agh/ directories. The global
home defaults to ~/.agh and can be changed with AGH_HOME.
Global catalog database for sessions, workspace registrations, observability summaries, extension records, automation state, and network records. SQLite may create agh.db-wal and agh.db-shm sidecars.
$AGH_HOME/daemon.sock
Unix domain socket
Default CLI and UDS API socket. [daemon].socket can point elsewhere.
$AGH_HOME/daemon.lock
Lock file
Daemon process lock.
$AGH_HOME/daemon.json
JSON
Discovery file containing daemon PID, HTTP port, start time, and optional network diagnostics.
$AGH_HOME/logs/agh.log
log file
Structured daemon log file path from the home layout.
Agent available when the workspace has that additional root registered.
Agent discovery order is workspace root, additional roots in registered order, then global home.
First name wins. AGH does not use .agents/<name>/AGENT.md as a current runtime path; that appears
only in draft RFC material.
Managed provenance metadata for marketplace skills.
$HOME/.agents/skills/<name>/SKILL.md
User AgentSkills convention
Additional user-level skill source resolved from HOME.
<workspace>/.agh/skills/<name>/SKILL.md
Workspace
Workspace-local skill.
<workspace>/.agh/skills/<name>/mcp.json
Workspace skill sidecar
Optional skill MCP sidecar.
<additional-root>/.agh/skills/<name>/SKILL.md
Additional root
Skill available when the workspace has that additional root registered.
Skill filesystem precedence is bundled, marketplace, user, additional root, then workspace.
Enabled extensions can also register runtime-owned skills into the live registry. Those overlays do
not come from a filesystem path, so they are documented in Skills Overview
rather than in this file-path table.
Optional dotenv file loaded before home path resolution when config is loaded with a workspace root.
<workspace>/.agh/config.toml
Workspace TOML overlay. Loaded after global config.
<workspace>/.agh/mcp.json
Workspace MCP sidecar. Loaded after workspace TOML.
<workspace>/.agh/agents/
Workspace agent definitions.
<workspace>/.agh/skills/
Workspace skill definitions.
<workspace>/.agh/memory/
Workspace-scoped memory files.
AGH only loads the .agh/config.toml for the resolved primary workspace root. Additional roots are
resource discovery roots for agents and skills; they do not contribute config overlays.