Agents of the Alley – Claude Code Agents를 위한 컨텍스트 엔지니어링 OS

hackernews | | 📦 오픈소스
#ai 모델 #anthropic #claude #메모리 관리
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

Agents of the Alley는 여러 Claude Code 에이전트 간의 모순과 토큰 낭비를 막기 위해 설계된 컨텍스트 엔지니어링 OS로, 4개의 컨텍스트 레이어와 지식 그래프를 통해 22개의 에이전트를 안정적으로 운영하는 방법을 제공합니다. 이 템플릿은 각 에이전트의 정의를 55줄로 제한하고 파일을 진실의 원천으로 삼아 데이터베이스 종속을 없애며, Git을 메모리로 활용하여 일관된 시스템을 구축하도록 돕습니다. 개발자는 이 오픈소스 리포지토리를 클론해 에이전트를 맞춤 설정하고, 쌍방향 링크와 크로스 레퍼런스를 통해 고아 파일 없이 체계적인 멀티 에이전트 시스템을 구현할 수 있습니다.

본문

The context-engineering OS for multi-agent Claude Code projects. Template + discipline that runs Penguin Alley's PA·co (22 agents, 8 departments, production SaaS) — distilled for your team. You've built 3 Claude Code agents. They contradict each other. Your CLAUDE.md is 800 lines. Agent A thinks the product uses Postgres; Agent B ships with MongoDB. Your memory/ is a graveyard. Your tokens are gone. Multi-agent systems don't fail because agents are dumb. They fail because nobody designed the brain. 4 context layers, one knowledge graph, zero contradictions: Layer 1 — Identity (CLAUDE.md + agents/*.md) — never changes mid-session Layer 2 — State (state/ + products/*/STATE.md) — rewritten per session Layer 3 — Relevant (pgvector or SQLite RAG) — fetched on demand Layer 4 — Archive (everything else) — searchable, never loaded Every agent reads the same layers in the same order. Every insight lives in ONE canonical file, gets embedded in RAG, and is cross-referenced. Contradictions surface instantly; token bloat is impossible. This is the pattern that keeps PA·co (22 agents, 8 departments, multiple live SaaS products, 3rd of 91 at AgentX 2026) coherent. We've run on it for months. Now it's yours. agents-of-the-alley/ ├── CLAUDE.md # Root identity — the 4-layer contract ├── agents/ # 5 sample agents (Planner, Builder, Reviewer, Researcher, Deployer) │ └── *.md # ≤55-line definitions — no bloat ├── .claude/ │ └── skills/ │ ├── brainstorming-visual.md # HTML mockup A/B/C before building │ └── writing-skills.md # TDD for creating new skills ├── playbooks/ │ ├── context-engineering.md # The 4-layer discipline │ ├── agent-teams.md # Multi-agent debate pattern │ └── knowledge-graph.md # EO-006: canonical file + RAG + cross-ref ├── wiki/ │ └── topics/ # Cross-referenced knowledge (bidirectional links) ├── memory/ # Session-surviving context (feedback, references, projects) │ └── MEMORY.md # Index, ≤200 lines (auto-truncated) ├── examples/ │ └── simple-multi-agent/ # Runnable pattern: 3 agents + shared context └── wiki/topics/INDEX.md # Knowledge graph entrypoint # 1. Clone as template git clone https://github.com/PenguinAlleyApps/agents-of-the-alley.git my-project cd my-project # 2. Point Claude Code at it # (Claude Code auto-loads CLAUDE.md + agents/*.md from root) # 3. Customize the 5 sample agents for your domain # Each agent file has: Identity + Context Loading + Output + Refinement Questions # 4. Write your first knowledge graph entry # wiki/topics/your-topic.md → cross-ref in agents that need it # 5. Verify the discipline grep -rh "→ Wiki:\|→ Agents:\|→ Playbooks:" agents/ playbooks/ # Every file should have bidirectional links. Zero orphans. The top Claude Code repositories (affaan-m/everything-claude-code, anthropics/skills, obra/superpowers) give you frameworks and plugins. None give you the operating discipline that keeps multi-agent systems from devolving into contradiction soup. Agents of the Alley is the missing methodology layer. You bring the agents; we bring the rules that make them not fight each other. - PA·co — 22 agents, 8 departments, Windows + RTX 4090 + Claude Code + pgvector. - Compliora — AI Decision Audit Trail SaaS (Starter $29 / Pro $99 / Team $199 USD). Built by PA·co agents following this exact pattern. - Penguin Alley consulting — production multi-agent systems for regulated SMBs. Want yours listed? Open a PR editing this section. - Files are the source of truth. No database locks you in. Git is your agents' memory. - Markdown is the language. Every agent reads the same format. LLMs parse markdown better than XML. - Cross-references are mandatory. Every insight lives in one canonical file + RAG + is linked bidirectionally. Triple-write or it didn't happen. - Size limits are discipline. CLAUDE.md ≤150 lines. Agent files ≤55. Overflow = compress or split. - Agents specialize, don't generalize. One agent per role. A "do everything" agent is a failed agent. - Consulting: need help implementing at scale? penguinalley.com/es/consulting - Issues: bug reports, pattern proposals, questions welcome. Please include your Claude Code version + OS. - PRs: small improvements welcome (docs, examples). For new core patterns, open a Discussion first. - Spanish community: docs nativos en español, no traducidos. Vea docs/es/ . Apache 2.0. Patent grant included. Attribution required (keep the "Built by PA·co — A Penguin Alley system" footer in derivative repos). - MVP: template repo with 5 agents + 2 skills + core playbooks (v0.1) - CLI: paco-kit doctor — detect contradictions across layers - CLI: paco-kit ingest — repomix + pgvector pipeline - CLI: paco-kit graph — visualize knowledge graph - Bilingual docs: full ES + EN parity - Demo video: "22 agents, one shared brain" (5 min walkthrough) - Python SDK (alongside current markdown-only approach) English: Philosophy · Quickstart · What's inside Español: docs/es/README.md (en desarrollo) Built by PA·co — A Penguin Alley system. Made in Monterrey, México. 🐧 If this saved you time, consider our consulting for production multi-agent deployment.

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →