# 🧠 Personal Agent OS A git-backed external brain for Hermes β€” projects, knowledge, automation patterns, and agent config, all in one compounding repository. ## Why This Exists Scattered notes don't compound. This repo is: - **A project hub** β€” every active project has a home with goals, decisions, and next actions - **A knowledge base** β€” high-signal finds from X, tools, research, and experiments preserved with structured metadata - **A context layer** β€” Hermes reads from it, writes to it, and gets smarter over time ## How It Works ``` You / Telegram Hermes Gitea β”‚ β”‚ β”‚ │─ "Find me everything on β”‚ β”‚ β”‚ wakeAgent gates" ─────────→│── search_files ─────────────→│ β”‚ │←─ gate designs + notes ─────│ │←─ 3 patterns found ─────────│ β”‚ β”‚ β”‚ β”‚ │─ daily brief fires ─────────→│── fetches data ─────────────→│ β”‚ │── saves to kb/daily-briefs/ ─→│ │←─ formatted brief ──────────│ β”‚ ``` ## Directory Layout ``` personal-agent-os/ β”œβ”€β”€ _meta/ # Root-level meta β”‚ └── decision-log.md # Key decisions, rationale, dates β”‚ β”œβ”€β”€ projects/ # Active projects β”‚ β”œβ”€β”€ hermes-persistent-os/ # The OS project itself β”‚ β”œβ”€β”€ compliance-tracker/ # (create when ready) β”‚ β”œβ”€β”€ local-business-automation/ # (create when ready) β”‚ └── ... β”‚ β”œβ”€β”€ knowledge-base/ # Cross-cutting knowledge β”‚ β”œβ”€β”€ automation-blueprints/ # Reusable pattern docs β”‚ β”‚ └── hermes/ # Hermes-specific patterns (migrated from hermes-automation/) β”‚ β”œβ”€β”€ ai-agent-patterns/ # General agent design patterns β”‚ β”œβ”€β”€ hermes-integrations/ # Platform-specific setup notes β”‚ β”œβ”€β”€ x-threads/ # Curated X threads and discussions β”‚ β”œβ”€β”€ tool-evaluations/ # 6-part evaluations of tools β”‚ β”œβ”€β”€ local-entrepreneurship/ # Local business patterns (Phoenix, etc.) β”‚ └── daily-briefs/ # (auto-populated by cron) β”‚ β”œβ”€β”€ archive/ # Completed/closed projects β”‚ β”œβ”€β”€ templates/ # Consistent formats β”‚ β”œβ”€β”€ project-readme-template.md β”‚ β”œβ”€β”€ kb-entry-template.md β”‚ └── experiment-log-template.md β”‚ └── agent-config/ # Hermes runtime reference material └── .gitkeep ``` ## Conventions ### Creating a New Project 1. Copy `templates/project-readme-template.md` into `projects//README.md` 2. Fill in Overview, Status, Goals, Architecture 3. Create `tasks.md` with Now / Next / Backlog sections ### Adding a Knowledge Entry 1. Copy `templates/kb-entry-template.md` into the relevant `knowledge-base/` subfolder 2. Fill the YAML frontmatter (title, date, source, tags, related_projects, status) 3. Write Summary, Key Insights, Mechanics, Actionable Ideas, Open Questions ### Naming - Lowercase with hyphens for directories and files - Dates in `YYYY-MM-DD` format - Tags as comma-separated, lowercase ## How This Stays Alive (Living/Cron Workflows) This repo is designed to be written to by Hermes cron jobs. | Cron Job | What It Writes | Frequency | Status | |----------|---------------|-----------|--------| | daily-brief | Delivers to Telegram. Will also save to `knowledge-base/daily-briefs/` | Daily at 15:00 UTC | βœ… Live | | weekly tag index | Scans all KB entries, rebuilds `_meta/tag-index.md` | Weekly (Sun) | πŸ”² Planned | | opportunity scan | Saves entries to `knowledge-base/x-threads/` | Daily | ⏸️ Paused | | email triage | Summary to Telegram + entry to `knowledge-base/hermes-integrations/` | Every 15m | πŸ”² Planned | ### Writing Rules for Cron Jobs - Always use the `kb-entry-template.md` format when saving to `knowledge-base/` - Tag entries with the originating cron job name + relevant project - Use `write_file` to append or create; never overwrite another entry - Silent delivery on no-change ticks (masterclass pattern) ## Agent Hooks Hermes reads from this repo for context: - `projects//README.md` β€” project status and goals - `projects//tasks.md` β€” next actions - `knowledge-base/**/*.md` β€” structured knowledge retrieval via search_files - `_meta/decision-log.md` β€” why things were done a certain way - `agent-config/` β€” reference configs and setup snippets ## Getting Started 1. Browse `projects/hermes-persistent-os/` for the current automation roadmap 2. Read `knowledge-base/automation-blueprints/hermes/` for running patterns 3. Use `templates/` when adding new content 4. Check `_meta/decision-log.md` for architectural reasoning