Skip to content

Shadowsong27/agentic-beacon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

298 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Agentic Beacon

πŸ“– Read the full documentation β†’

License: MIT Python Version GitHub Stars PRs Welcome Documentation

The package manager for AI coding agents. Centrally manage and distribute contexts, knowledge, and skills across your team β€” with native support for Claude Code and OpenCode.

Git for AI Prompts. DRY for AI Agents.

Beacon also handles agent config wiring β€” it bootstraps and maintains your agent's config files (opencode.json, CLAUDE.md) so synced artifacts are picked up without hand-editing. See Agent Config Wiring for details.

Quickstart

Installation

uv tool install agentic-beacon

Air-gapped? Download the wheel from the Releases page and run uv tool install ./agentic-beacon-*.whl. To upgrade an existing install, pass --reinstall: uv tool install ./agentic-beacon-*.whl --reinstall.

First-time Setup

Starting fresh (no warehouse exists yet)

# 1. Create your team warehouse β€” a git repo that holds shared agent artifacts
abc warehouse init my-org-warehouse
cd my-org-warehouse
# add contexts, knowledge, skills β€” then push to git

# 2. Connect a project to the warehouse
cd ~/my-project
abc warehouse connect --path ~/my-org-warehouse

# 3. Pick artifacts and sync
abc adopt   # interactive TUI β€” browse and select contexts, skills, agents
abc sync    # creates per-file symlinks, wires contexts into Claude Code / OpenCode

Joining a team that already has a warehouse

git clone git@github.com:your-org/warehouse.git ~/my-org-warehouse

cd ~/my-project
abc warehouse connect --path ~/my-org-warehouse
abc adopt
abc sync

Day-to-day Workflow

abc adopt                               β€” pick up new artifacts from the warehouse
abc sync                                β€” repair symlinks after beacon.yaml changes

code with agent                         β€” agent reads symlinked contexts, knowledge, and skills

abc warehouse status                    β€” see warehouse edits you've made this session
abc warehouse contribute -m "…" --push  β€” commit and push back to the warehouse
teammates git pull                      β€” they get the update immediately, no resync needed

abc sync is only needed when your beacon.yaml changes or symlinks drift β€” not on every warehouse pull.

Interactive Artifact Adoption

abc adopt opens an interactive TUI to browse warehouse artifacts. Press Space to select, Enter to confirm. beacon.yaml is updated with your selections; knowledge files referenced inside contexts and skills are pulled in automatically on the next abc sync.

abc adopt TUI

Key Action
Space Toggle selection
Enter Confirm and write to beacon.yaml
a / n Select all / Select none
t Toggle show-all (view already-adopted artifacts)
Esc / q Cancel

The Problem

When a team adopts AI coding agents, each project accumulates its own AGENTS.md or CLAUDE.md. Standards diverge. A pattern discovered in one repo never reaches the others. When guidelines change, someone copy-pastes updates into 15 repos and misses three.

This is Context Drift β€” the same DRY problem that version control solved for code, except it hasn't been solved for agentic engineering artifacts yet.

How It Works

There are two moving parts:

Warehouse β€” a single git repository owned by your team. It holds the shared source of truth: contexts, knowledge, skills, and agent definitions. Cloned locally on every developer's machine; commit it like any other repo.

Beacon β€” a per-project connector. Running abc warehouse connect creates .agentic-beacon/ in your project with a beacon.yaml that declares which contexts, skills, and agents this project needs.

Warehouse clone (local git repo)              Your project / global
────────────────────────────                  ────────────────────────────────
contexts/    ── abc sync (symlink) ──►  .agentic-beacon/artifacts/contexts/
                                        opencode.json / AGENTS.md (wired)
skills/      ── abc sync (symlink) ──►  .agentic-beacon/artifacts/skills/
                                        .opencode/skills/<name>/  (wired)
                                        .claude/skills/<name>/    (wired)
knowledge/   ── auto-derived      ──►  .agentic-beacon/artifacts/knowledge/
             (from markdown links            (symlinked on demand)
              in contexts & skills)
agents/      ── abc sync (symlink) ──►  .claude/agents/<name>.md
                                         .opencode/agents/<name>.md

Everything is a per-file symlink into the warehouse clone β€” one physical file per artifact per machine, no duplicate copies. Edits made through any symlink (project artifacts or project-local agent files) land directly in the warehouse working tree. Commit with abc warehouse contribute and teammates get it through their existing symlinks on the next git pull β€” no per-project resync.

Knowledge is auto-derived. There is no knowledge: key in beacon.yaml. abc sync scans markdown links inside adopted contexts and skills, resolves warehouse knowledge references, and symlinks them transitively. Add a reference β€” it appears. Remove the last one β€” the symlink is pruned.

Frontmatter dependencies. Skills declare requires: in YAML frontmatter; agents declare dependencies in agents/agents.yaml. abc sync validates all declared dependencies are adopted and errors early if any are missing.

Platform support: macOS and Linux only.

Artifact Types

Tool-agnostic Tool-specific
Project-scoped πŸ“„ Contexts Β· 🧠 Knowledge ⚑ Skills Β· πŸ€– Agents
Global β€” β€”
  • Contexts β€” boot instructions and coding standards; wired into opencode.json / AGENTS.md automatically on sync.
  • Knowledge β€” atomic decisions, lessons, and facts; auto-derived from markdown links in contexts and skills.
  • Skills β€” reusable workflows wired as slash commands into each tool's live directories.
  • Agents β€” sub-agent definitions declared per-project in beacon.yaml and symlinked into project-local .claude/agents/ and .opencode/agents/; edits flow back to the warehouse through the symlink.

See Artifact Types for the full design rationale.

When to Use Agentic Beacon

Use it when… Skip it when…
You have multiple projects that should share the same agent instructions You have a single project with no plans to standardize across repos
Your team keeps rewriting the same contexts and skills from scratch in each repo You need a one-off codebase bundle to feed into a chat session
Knowledge from one coding session should compound across the whole team You need production observability for LLM calls in a deployed app
You want agent edits from any session to flow back into a shared, version-controlled source Your team has no shared git workflow or a central warehouse makes no sense for your setup
You're running multiple AI tools (Claude Code, OpenCode) and want one source of truth for all of them

Documentation

πŸ“š Full documentation site: shadowsong27.github.io/agentic-beacon

Concepts

  • How It Works β€” Warehouse + beacon mental model and sync flow
  • Philosophy β€” Why this exists, why markdown not RAG, why lightweight (Design)
  • Artifact Types β€” Scope and tool-specificity axes; how they drive command design

Guides

Reference

Examples (examples/)

  • Beacon Configs β€” Example beacon.yaml configurations for common project setups

If you find Agentic Beacon useful, consider giving it a star β€” it helps others discover the project.

Last Updated: 2026-05-05

About

Template repository for teams to establish standardized agentic coding practices with centralized context, knowledge, and skills management

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors