freshcrate
Skin:/
Home > AI Agents > agentic-stack

agentic-stack

One brain, many harnesses. Portable .agent/ folder (memory + skills + protocols) that plugs into Claude Code, Cursor, Windsurf, OpenCode, OpenClaw, Hermes, or DIY Python โ€” and keeps its knowledge when

Why this rank:Strong adoptionRelease freshnessHealthy release cadence

Description

One brain, many harnesses. Portable .agent/ folder (memory + skills + protocols) that plugs into Claude Code, Cursor, Windsurf, OpenCode, OpenClaw, Hermes, or DIY Python โ€” and keeps its knowledge when you switch.

README

agentic-stack

Keep one portable memory-and-skills layer across coding-agent harnesses, so switching tools doesn't reset how your agent works.

A portable .agent/ folder (memory + skills + protocols) that plugs into Claude Code, Cursor, Windsurf, OpenCode, OpenClaw, Hermes, Pi Coding Agent, or a DIY Python loop โ€” and keeps its knowledge when you switch.

agentic-stack demo

agentic-stack architecture

GitHub release License: Apache 2.0 Made by https://x.com/Av1dlive

Quickstart

macOS / Linux

# tap + install (one-time โ€” both lines required)
brew tap codejunkie99/agentic-stack https://github.com/codejunkie99/agentic-stack
brew install agentic-stack

# drop the brain into any project โ€” the onboarding wizard runs automatically
cd your-project
agentic-stack claude-code
# or: cursor | windsurf | opencode | openclaw | hermes | pi | standalone-python | antigravity

Windows (PowerShell)

# clone + run the native installer
git clone https://github.com/codejunkie99/agentic-stack.git
cd agentic-stack
.\install.ps1 claude-code C:\path\to\your-project

Already installed?

brew update && brew upgrade agentic-stack

Clone instead?

git clone https://github.com/codejunkie99/agentic-stack.git
cd agentic-stack && ./install.sh claude-code         # mac / linux / git-bash
# or on Windows PowerShell: .\install.ps1 claude-code
# adapters: claude-code | cursor | windsurf | opencode | openclaw | hermes | pi | standalone-python | antigravity

Onboarding wizard

After the adapter is installed, a terminal wizard populates .agent/memory/personal/PREFERENCES.md โ€” the first file your AI reads at the start of every session โ€” and writes a feature-toggle file at .agent/memory/.features.json.

Six preference questions (each skippable with Enter):

Question Default
What should I call you? (skip)
Primary language(s)? unspecified
Explanation style? concise
Test strategy? test-after
Commit message style? conventional commits
Code review depth? critical issues only

Plus one Optional features step (opt-in, off by default):

Feature Default
Enable FTS memory search [BETA] no

Flags:

agentic-stack claude-code --yes          # accept all defaults, beta off (CI/scripted)
agentic-stack claude-code --reconfigure  # re-run the wizard on an existing project

Edit .agent/memory/personal/PREFERENCES.md any time to refine your conventions, or .agent/memory/.features.json to flip feature toggles.

Review protocol (host-agent CLI)

The nightly auto_dream.py cycle only stages candidate lessons. It does not mark anything accepted or modify semantic memory. Your host agent does the review in-session:

# list pending candidates, sorted by priority
python3 .agent/tools/list_candidates.py

# accept with rationale (required)
python3 .agent/tools/graduate.py <id> --rationale "evidence holds, matches PREFERENCES"

# reject with reason (required); preserves decision history
python3 .agent/tools/reject.py <id> --reason "too specific to generalize"

# requeue a previously-rejected candidate
python3 .agent/tools/reopen.py <id>

Graduated lessons land in semantic/lessons.jsonl (source of truth) and are rendered to semantic/LESSONS.md. Rejected candidates retain full decision history so recurring churn is visible, not fresh.

See docs/architecture.md for the full lifecycle.


What this is

Every guide shows the folder structure. This repo gives you the folder structure plus the files that actually go inside: a working portable brain with five seed skills, four memory layers, enforced permissions, a nightly staging cycle, host-agent review tools, and adapters for eight harnesses.

  • Memory โ€” working/, episodic/, semantic/, personal/. Each layer has its own retention policy. Query-aware retrieval (salience ร— relevance); nightly compression into reviewable candidates.
  • Review protocol โ€” auto_dream.py stages candidate lessons mechanically. Your host agent reviews them via CLI tools (graduate.py, reject.py, reopen.py) and commits decisions with a required rationale. No unattended reasoning, no provider coupling.
  • Skills โ€” progressive disclosure. A lightweight manifest always loads; full SKILL.md files only load when triggers match the task. Every skill ships with a self-rewrite hook.
  • Protocols โ€” typed tool schemas, a permissions.md that the pre-tool-call hook enforces, and a delegation contract for sub-agents.

Releases & changelog

Per-version release notes live in CHANGELOG.md. The latest release, what broke, what's new, upgrade path, all there.

Memory search [BETA]

Opt-in FTS5 keyword search over all memory documents:

# enable during onboarding (or set manually in .agent/memory/.features.json)
python3 .agent/memory/memory_search.py "deploy failure"
python3 .agent/memory/memory_search.py --status
python3 .agent/memory/memory_search.py --rebuild

Falls back to ripgrep (rg) if installed, then to grep โ€” both restricted to .md / .jsonl so source files never pollute results. The index is stored at .agent/memory/.index/ and gitignored.

Repo layout

.agent/                         # the portable brain (same across harnesses)
โ”œโ”€โ”€ AGENTS.md                   # the map
โ”œโ”€โ”€ harness/                    # conductor + hooks (standalone path)
โ”‚   โ””โ”€โ”€ hooks/
โ”‚       โ”œโ”€โ”€ claude_code_post_tool.py  # rich PostToolUse logging (v0.8+)
โ”‚       โ”œโ”€โ”€ pre_tool_call.py    # permissions enforcement
โ”‚       โ”œโ”€โ”€ post_execution.py   # log_execution() entry point
โ”‚       โ””โ”€โ”€ on_failure.py       # failure write + repeated-failure rewrite flag
โ”œโ”€โ”€ memory/                     # working / episodic / semantic / personal
โ”‚   โ”œโ”€โ”€ auto_dream.py           # staging-only dream cycle
โ”‚   โ”œโ”€โ”€ cluster.py              # content clustering + pattern extraction
โ”‚   โ”œโ”€โ”€ promote.py              # stage candidates
โ”‚   โ”œโ”€โ”€ validate.py             # heuristic prefilter (length + exact duplicate)
โ”‚   โ”œโ”€โ”€ review_state.py         # candidate lifecycle + decision log
โ”‚   โ”œโ”€โ”€ render_lessons.py       # lessons.jsonl โ†’ LESSONS.md
โ”‚   โ””โ”€โ”€ memory_search.py        # [BETA] FTS5 search (opt-in)
โ”œโ”€โ”€ skills/                     # _index.md + _manifest.jsonl + SKILL.md files
โ”œโ”€โ”€ protocols/                  # permissions + tool schemas + delegation
โ”‚   โ””โ”€โ”€ hook_patterns.json      # user-owned high/medium-stakes regex (v0.8+)
โ””โ”€โ”€ tools/                      # host-agent CLI + memory_reflect + skill_loader
    โ”œโ”€โ”€ learn.py                # one-shot lesson teaching (stage + graduate)
    โ”œโ”€โ”€ recall.py               # surface lessons relevant to an intent
    โ”œโ”€โ”€ show.py                 # colorful brain-state dashboard
    โ”œโ”€โ”€ list_candidates.py
    โ”œโ”€โ”€ graduate.py
    โ”œโ”€โ”€ reject.py
    โ””โ”€โ”€ reopen.py

adapters/                       # one small shim per harness
โ”œโ”€โ”€ claude-code/   (CLAUDE.md + settings.json hooks)
โ”œโ”€โ”€ cursor/        (.cursor/rules/*.mdc)
โ”œโ”€โ”€ windsurf/      (.windsurfrules)
โ”œโ”€โ”€ opencode/      (AGENTS.md + opencode.json)
โ”œโ”€โ”€ openclaw/      (system-prompt include)
โ”œโ”€โ”€ hermes/        (AGENTS.md)
โ”œโ”€โ”€ pi/            (AGENTS.md + .pi/skills symlink)
โ”œโ”€โ”€ standalone-python/  (DIY conductor entrypoint)
โ””โ”€โ”€ antigravity/   (ANTIGRAVITY.md)

docs/                           # architecture, getting-started, per-harness
install.sh                      # mac / linux / git-bash installer
install.ps1                     # Windows PowerShell installer
CHANGELOG.md                    # per-version release notes (v0.1.0 onward)
onboard.py                      # onboarding wizard entry point
onboard_features.py             # .features.json read/write
onboard_ui.py                   # ANSI palette, banner, clack-style layout
onboard_widgets.py              # arrow-key prompts (text, select, confirm)
onboard_render.py               # answers โ†’ PREFERENCES.md content
onboard_write.py                # atomic file write with backup
test_claude_code_hook.py        # hook validation suite (54 checks)
verify_codex_fixes.py           # v0.8.0 regression checks (33 checks)

Supported harnesses

Harness Config file it reads Hook support
Claude Code CLAUDE.md + .claude/settings.json yes (PostToolUse, Stop)
Cursor .cursor/rules/*.mdc no (manual reflect calls)
Windsurf .windsurfrules no (manual reflect calls)
OpenCode AGENTS.md + opencode.json partial (permission rules)
OpenClaw system-prompt include varies by fork
Hermes Agent AGENTS.md (agentskills.io compatible) partial (own memory)
Pi Coding Agent AGENTS.md + .pi/skills/ no (extension system)
Standalone Python run.py (any LLM) yes (full control)
Antigravity ANTIGRAVITY.md yes (system context)

Seed skills

  • skillforge โ€” creates new skills from recurring patterns
  • memory-manager โ€” runs reflection cycles, surfaces candidate lessons
  • git-proxy โ€” all git ops, with safety constraints
  • debug-investigator โ€” reproduce โ†’ isolate โ†’ hypothesize โ†’ verify
  • deploy-checklist โ€” the fence between staging and production

How it compounds

  1. Skills log every action to episodic memory.
  2. auto_dream.py clusters recurring patterns into candidate lessons.
  3. The host agent reviews candidates with graduate.py / reject.py.
  4. Graduated lessons append to lessons.jsonl; LESSONS.md re-renders.
  5. Future sessions load query-relevant accepted lessons automatically.
  6. on_failure flags skills that fail 3+ times in 14 days for rewrite.
  7. git log .agent/memory/ becomes the agent's autobiography.

Run the staging cycle nightly

crontab -e
0 3 * * * python3 /path/to/project/.agent/memory/auto_dream.py >> /path/to/project/.agent/memory/dream.log 2>&1

auto_dream.py resolves its paths absolutely and performs only mechanical file operations (cluster, stage, prefilter, decay). No git commits, no network, no reasoning โ€” safe to run unattended.

License

Apache 2.0 โ€” see LICENSE.

Credits

Based on the article "The Agentic Stack" by @AV1DLIVE โ€” follow for updates and collabs. Coded using Minimax-M2.7 in the Claude Code harness; PR review by Macroscope and Codex. Patterns from Gstack, Claude Code's memory system, and conversations in the agent-engineering community. Built with the hypothesis that harness-agnosticism is the point.

Star History

Star History Chart

Release History

VersionChangesUrgencyDate
v0.19.1# agentic-stack v0.19.1 Patch release. Four correctness fixes in memory retrieval, project upgrade, and file I/O. No contract, CLI, or on-disk format changes. ## Fixes - **Recall returned superseded lessons** (#60). Supersession appends a new id and never edits the old row, so retrieval kept surfacing retired guidance beside its replacement. `superseded_by_map()` now lives in `render_lessons.py` and is shared with `recall.py`, so rendering and retrieval can't disagree about what is reHigh8/6/2026
v0.19.0# agentic-stack v0.19.0 v0.19.0 adds portable agentic loops and a bounded local meta-harness. ## Highlights - JSON contracts for L1 report loops and L2/L3 action loops. - Maker โ†’ deterministic verifier โ†’ independent checker feedback lifecycle. - Atomic resumable checkpoints, privacy-safe local events, policy gates, stagnation detection, finite budgets, and owned Git worktrees. - `loop init`, `validate`, `run`, `resume`, `status`, `stop`, `cleanup`, and `audit` commands through both `agentHigh7/18/2026
v0.18.0## Highlights - Adds `agentic-stack brain ...` as a first-class, optional bridge to the external [`codejunkie99/brain`](https://github.com/codejunkie99/brain) CLI/MCP memory system. - Installs `.agent/tools/brain_bridge.py` into projects so host agents can explicitly query or write cross-harness long-term memory. - Adds a `brain` seed skill with guidance for recall, durable notes, MCP setup, and secret avoidance. - Keeps Brain external: no Rust workspace vendoring and no hard Homebrew dependencHigh5/10/2026
v0.15.0## [0.15.0] โ€” 2026-05-06 Minor release. Adds a production dashboard TUI for installed agentic-stack projects, with the trust-console inspection surface folded into the same user-facing entrypoint. ### Added - **`agentic-stack dashboard` / `dash`.** Adds a terminal dashboard for project health, installed adapters, doctor checks, harness verification, memory, team brain, skills, managed instances, transfer, and local data exports. - **Trust-console parity.** The dashboard includes a per-harnHigh5/5/2026
v0.13.0Minor release. Adds an onboarding-style transfer wizard for moving a portable `.agent` brain into Codex, Cursor, Windsurf, or terminal-only projects with a generated curl/PowerShell import command. ### Added - **`agentic-stack transfer` wizard.** Adds an onboarding-style TUI that parses natural-language requests such as `move my memory into Codex`, previews the target adapter files, asks for confirmation, and either generates an import command, applies locally, or both. - **Portable transHigh5/2/2026
v0.12.0 Minor release. Adds the opt-in `tldraw` seed skill for live canvas diagrams and a skill-local snapshot store. The feature stays beta and off by default. ### Added - **`tldraw` seed skill โ€” live canvas diagrams.** Adds `.agent/skills/tldraw/SKILL.md` with MCP tool guidance, shape constraints, and a self-rewrite hook for diagram, sketch, wireframe, flowchart, whiteboard, and architecture visualization prompts. - **Skill-local snapshot store.** Adds `.agent/skills/tldraw/store.py` with `sHigh4/27/2026
v0.9.0### Added - **Harness manager: manifest-driven adapter system.** Each adapter now ships an `adapters/<name>/adapter.json` declaring its files, collision policy, optional skills directory mirror, and named post-install actions. Adding a new adapter is now a JSON-only PR โ€” no Python code, no test wiring, no class registration. Lives in the new `harness_manager/` Python package. - **`./install.sh add <adapter>`** โ€” append an adapter to an existing project without re-running the High4/24/2026
v0.8.0First release since v0.7.2. Brings the Antigravity harness, makes Claude Code's episodic memory actually useful, and consolidates per-version notes into [CHANGELOG.md](https://github.com/codejunkie99/agentic-stack/blob/master/CHANGELOG.md). ## Added - **Google Antigravity adapter** (`./install.sh antigravity`). Drops `ANTIGRAVITY.md` into the project root so Antigravity agents pick up the portable brain in `.agent/`. Brings the supported-harness count to 9. Thanks to @smartsastram (#9). - **RicHigh4/21/2026
v0.7.2First GitHub release since v0.6.0. Bundles the v0.7.0 and v0.7.1 tags (which were tagged but never released) plus the v0.7.2 docs fix. ## What's new in v0.7.2 - **README repositioning.** Leads with the actual buyer pain โ€” *switching coding-agent tools keeps resetting how your agent behaves* โ€” so the adapter list, wizard, and memory architecture read as proof instead of preamble. Follow/coded-using/article framing moved into the Credits section. ## Bundled from v0.7.1 - **Relicensed from MIT toHigh4/20/2026
v0.6.0## What's new - **Pi Coding Agent adapter** (`./install.sh pi`) โ€” symlinks `.pi/skills` to `.agent/skills` so pi sees the full brain with zero duplication. Safe to install alongside `hermes`/`opencode` (all three read `AGENTS.md`; the installer skips the overwrite if one already exists). - **Breaking: `openclient` adapter renamed to `openclaw`.** Installed file changed: `.openclient-system.md` โ†’ `.openclaw-system.md`. Existing OpenClient users: re-run `./install.sh openclaw`. ## Upgrade High4/17/2026
v0.5.0## Highlights - **Host-agent review protocol.** `auto_dream.py` now stages candidate lessons only. Reasoning moved to the host agent via CLI tools (`graduate.py`, `reject.py`, `reopen.py`, `list_candidates.py`). Graduation requires `--rationale`. Zero unattended reasoning, zero provider coupling. - **Structured `lessons.jsonl` as source of truth.** `LESSONS.md` is auto-rendered; hand-curated content above the sentinel is preserved; legacy bullets auto-migrate on first run. - **Proper single-linHigh4/17/2026
v0.4.0Interactive clack-style onboarding wizard that auto-fills PREFERENCES.md after install. Flags: --yes (CI/defaults), --reconfigure (re-run). brew update && brew upgrade agentic-stack to install.High4/16/2026
v0.3.0Bug fixes: cron-safe paths in auto_dream.py, Stop hook matcher, and deny glob syntax in settings.jsonHigh4/16/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

twitter-cliAccess Twitter timelines, bookmarks, and profiles from the terminal without requiring API keys, offering a simple CLI user experience.main@2026-09-10
openclaw-master-skillsDiscover and integrate a curated, weekly-updated set of 339+ advanced AI skills to enhance OpenClaw-powered personal assistants.main@2026-09-10
agent-search-cliEnable AI agents to search, crawl, and extract web data with IP rotation, CAPTCHA handling, and rate limit management via CLI and Python.main@2026-09-09
entonBuilds an autonomous AI robot with vision, voice, and decision-making capabilities using Python, PyTorch, and CUDA technology.main@2026-09-09
clawmetrySee your agent think. Real-time observability dashboard for OpenClaw AI agents.v0.12.836

More in AI Agents

llm-for-zoteroA simple Zotero plugin that brings your own LLM into the side panel.
CopilotKitThe Frontend Stack for Agents & Generative UI. React + Angular. Makers of the AG-UI Protocol
AIGC-Interview-Bookใ€ไธ‰ๅนด้ข่ฏ•ไบ”ๅนดๆจกๆ‹Ÿใ€‘AIGC็ฎ—ๆณ•ๅทฅ็จ‹ๅธˆ้ข่ฏ•็ง˜็ฑใ€‚ๆถต็›–AIGCใ€LLMๅคงๆจกๅž‹ใ€AI Agentใ€ไผ ็ปŸๆทฑๅบฆๅญฆไน ใ€่‡ชๅŠจ้ฉพ้ฉถใ€ๆœบๅ™จๅญฆไน ใ€่ฎก็ฎ—ๆœบ่ง†่ง‰ใ€่‡ช็„ถ่ฏญ่จ€ๅค„็†ใ€ๅผบๅŒ–ๅญฆไน ใ€ๅคงๆ•ฐๆฎๆŒ–ๆŽ˜ใ€ๅ…ท่บซๆ™บ่ƒฝใ€ๅ…ƒๅฎ‡ๅฎ™ใ€AGI็ญ‰AI่กŒไธš้ข่ฏ•็ฌ”่ฏ•ๅนฒ่ดง็ป้ชŒไธŽๆ ธๅฟƒ็Ÿฅ่ฏ†ใ€‚
a2a-sdkA2A Python SDK