惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
N
Netflix TechBlog - Medium
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
L
LangChain Blog
aimingoo的专栏
aimingoo的专栏
GbyAI
GbyAI
B
Blog
F
Fortinet All Blogs
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
G
Google Developers Blog
A
About on SuperTechFans
C
Check Point Blog
Microsoft Security Blog
Microsoft Security Blog
MyScale Blog
MyScale Blog
B
Blog RSS Feed

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal).
GitHub - awebai/aweb-team-coord-worktrees: An aweb team t...
juanre · 2026-05-29 · via Show HN

Aweb team template: coordinator + developer/reviewer

A minimal Aweb team template with one long-lived coordinator and two repo-isolated coding agents:

  • coordinator — local coordinator responsibility, home under agents/home/coordinator/, work points at the project repo root
  • developer — local developer responsibility, home under agents/home/developer/, work points at agents/worktrees/developer/
  • reviewer — local reviewer responsibility, home under agents/home/reviewer/, work points at agents/worktrees/reviewer/

This template is source input for the aw agents CLI. It does not contain final per-human aliases, DIDs, global addresses, certificates, or private keys. Those are generated per human under ignored .aw/ state.

Install aw

npm install -g @awebai/aw
aw version

Bootstrap

Run from the root of the work repo where the agents should operate:

cd /path/to/your/project
aw agents bootstrap https://github.com/awebai/aweb-team-coord-worktrees.git \
  --username <username> \
  --identity-prefix <your-name>

Bootstrap creates an agents/ directory inside the project repo. If agents/ already exists, bootstrap fails before any side effects. Choose another name only when your repo already uses agents/ for something else:

aw agents bootstrap https://github.com/awebai/aweb-team-coord-worktrees.git \
  --username <username> \
  --identity-prefix <your-name> \
  --agents-dir aweb-agents

If you want hosted onboarding prompts, omit --username. The naming policy in team.yaml allocates per-human aliases automatically. Use --identity-prefix or set AWEB_IDENTITY_PREFIX so each human gets distinct team aliases and any global agents you add later get unique public names.

Preview first:

aw agents bootstrap https://github.com/awebai/aweb-team-coord-worktrees.git \
  --username <username> \
  --identity-prefix <your-name> \
  --dry-run

Legacy compatibility

The old out-of-repo bootstrap mode still exists for compatibility. It is selected only when you pass --work-directory or --work-repo-url:

aw agents bootstrap https://github.com/awebai/aweb-team-coord-worktrees.git \
  --username <username> \
  --work-directory /path/to/your/repo

Do not combine --agents-dir with legacy work flags. Legacy mode is for old scripts and does not use this template's project-local agents/home/ plus agents/worktrees/ layout.

Default in-repo output

After bootstrap you should have:

your-project/
├─ agents/
│  ├─ docs/
│  ├─ roles/
│  ├─ team.yaml
│  ├─ home/
│  │  ├─ coordinator/
│  │  │  ├─ .aw/
│  │  │  ├─ AGENTS.md
│  │  │  └─ work -> ../../..
│  │  ├─ developer/
│  │  │  ├─ .aw/
│  │  │  ├─ AGENTS.md
│  │  │  └─ work -> ../../worktrees/developer
│  │  └─ reviewer/
│  │     ├─ .aw/
│  │     ├─ AGENTS.md
│  │     └─ work -> ../../worktrees/reviewer
│  └─ worktrees/
│     ├─ developer/
│     └─ reviewer/
├─ .gitignore               # bootstrap adds scoped ignores for .aw/ and worktrees/
└─ ...

Start the coordinator first:

cd agents/home/coordinator
claude

Then start the worktree agents when there is implementation or review work:

cd agents/home/developer
claude

cd agents/home/reviewer
claude

Related skills and templates

If your coding agent supports aweb skills (for example through @awebai/pi), load these when useful:

  • aweb-bootstrap — choose the right team source, work-directory/work-repo-url shape, worktree-agent policy, and rerun safety.
  • aweb-coordination — day-to-day work loop, claims, handoffs, and shared state.
  • aweb-messaging — mail/chat response policy and wake-up events.
  • aweb-team-membership — invites, active team, certificates, hosted vs BYOT, and addressability.
  • aweb-identity — identity, custody, did:key/did:aw, key rotation, and inbound mode.

Other maintained templates:

Team model

The coordinator is the stable, long-lived team surface for intake and routing. The developer and reviewer are local worktree agents for code changes. Code edits should happen through each agent's work/ symlink:

  • agents/home/developer/work -> agents/worktrees/developer
  • agents/home/reviewer/work -> agents/worktrees/reviewer

The coordinator should:

  1. clarify goals and acceptance criteria;
  2. route implementation work to the allocated alias for the developer responsibility;
  3. route review to the allocated alias for the reviewer responsibility;
  4. decide whether to request amendments, merge, or escalate.

Structure

team.yaml                    # identity-free roles, responsibilities, work bindings, and naming policy

docs/team.md                 # shared team operating instructions

roles/coordinator.md         # coordinator role playbook
roles/developer.md           # developer role playbook
roles/reviewer.md            # reviewer role playbook

home/coordinator/AGENTS.md   # coordinator home template
home/developer/AGENTS.md     # developer home template
home/reviewer/AGENTS.md      # reviewer home template

Included team

Responsibility Identity scope Role name Work binding
Coordinator local coordinator repo root
Developer local developer git worktree
Reviewer local reviewer git worktree

Default naming policy:

  • Local team aliases use <identity-prefix>-<classic-name>, for example juan-alice, juan-bob, juan-charlie.
  • Global team aliases, for agents added later with aw agents add --global, use <identity-prefix>-<classic-name>.
  • Global namespace addresses, for agents added later with aw agents add --global, use <identity-prefix>-<responsibility>.

For example, if Juan bootstraps with --identity-prefix juan, the default coordinator/developer/reviewer aliases are juan-alice, juan-bob, and juan-charlie. If Juan later adds a public global support responsibility, its namespace address can be juan-support. If Maria provisions the same committed layout later with --identity-prefix maria, she receives maria-alice, maria-bob, and maria-charlie with distinct DIDs, certificates, aliases, and any future global addresses without changing committed team.yaml.

Second human on the same repo

Human A commits the generated layout:

git add agents .gitignore
git commit -m "Add aweb agents layout"

Human B clones the same repo and joins the same team with an invite:

git clone <repo-url>
cd <repo>
aw agents provision --invite-token "$AWEB_INVITE_TOKEN" --identity-prefix maria

Human B's private keys, DIDs, certificates, and local .aw/ state are generated locally under agents/home/*/.aw/ and are ignored by git. The committed agents/team.yaml, roles, docs, and home templates stay identity-free.

BYOT example

Bring Your Own Team (BYOT, including your own namespace/domain controller):

aw agents bootstrap https://github.com/awebai/aweb-team-coord-worktrees.git \
  --aweb-url http://localhost:8000 \
  --registry http://localhost:8010 \
  --namespace example.com \
  --team coord-worktrees \
  --identity-prefix <your-name>

If you do not yet have a local controller key for the namespace:

aw id namespace prepare-controller --domain example.com

Real-time awakenings for mail/chat (recommended)

By default, agents do not automatically wake up when they receive aweb mail/chat. Without a wake-up path, ask them to check:

aw mail inbox
aw chat pending

Solutions:

  • Claude Code: install the channel plugin from inside claude:

    /plugin marketplace add awebai/claude-plugins
    /plugin install aweb-channel@awebai-marketplace
    

    then restart with:

    claude --dangerously-load-development-channels plugin:aweb-channel@awebai-marketplace
  • Codex:

  • Pi:

    pi install npm:@awebai/pi@latest

License

This template is open source under the MIT License.