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

推荐订阅源

C
Check Point Blog
aimingoo的专栏
aimingoo的专栏
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
IT之家
IT之家
V
Visual Studio Blog
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 聂微东
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
大猫的无限游戏
大猫的无限游戏
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
D
Docker
MyScale Blog
MyScale Blog
小众软件
小众软件
云风的 BLOG
云风的 BLOG
美团技术团队
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 【当耐特】

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - awebai/aweb-team-coord-worktrees: An aweb team t...
juanre · 2026-05-29 · via Hacker News: 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.