Materialize a local AI tool
Materialize one team member, isolate its work, and start a supported runtime.
Advanced
Materialize a local AI tool
Use this optional orchestration path when the current directory is already
connected to the team and you want aw to materialize one local agent home.
aw team admin add uses the current workspace’s .aw state as the membership
authority. For an ordinary person or existing agent directory, use the stable
aw team invite and aw team join journey instead.
Materialize and start one agent
aw team admin add [email protected]/developer=pi --start
The specification selects Charlie’s member name, the developer profile from
the public aweb.team blueprint, and Pi as the runtime.
Exactly where Charlie is created
Let D be the directory where you run the command. Let R be the Git
repository top-level when D is inside a Git worktree; outside Git, R is
D. Without --home, Charlie’s home is:
R/agents/instances/charlie/
This means that running aw team admin add from repo/src/ still creates the home at
repo/agents/instances/charlie/. The command prints the absolute home path when
it finishes.
The home is a complete, distinct team member:
charlie/
.aw/
signing.key # Charlie's key, not the caller's key
teams.yaml # Charlie's installed team membership
team-certs/ # Charlie's membership certificate
workspace.yaml # Charlie's aweb service connection
profile/
profile.yaml
instructions.md
ref.json # pinned blueprint/profile/runtime provenance
AGENTS.md
worktree/ # isolated Git worktree when a work repo is available
The command creates the membership, materializes the profile, connects the
member to the team’s aweb service, injects the current team guidance, and then
sets up its Git worktree. It does not reuse the caller’s .aw directory.
Without --start, this is where the command stops: Charlie exists as a
materialized team member, but no Pi process is running. With --start, exactly
one agent is allowed and the command immediately launches that home through the
same path as aw team admin up.
Where the runtime starts
The launched AI process starts in Charlie’s home:
cd R/agents/instances/charlie && exec pi --approve
It does not start in worktree/. The home is the identity and instruction
boundary, so Charlie runs aw there. Charlie changes into worktree/ for Git,
tests, and builds.
--start attaches your terminal to the tmux session by default. Use
--no-attach to leave it running in the background. Without --start, run
aw team admin up from anywhere inside the same Git worktree—or from D outside
Git—to start all materialized homes. aw team admin up --dry-run prints each home and
runtime command first.
Choose another home or work repository
--home replaces the default home path for one agent. A relative path is
resolved from the directory where you invoke the command:
aw team admin add [email protected]/developer=pi \
--home ~/aweb-agents/charlie
--home accepts exactly one agent. If that home is outside Git and you do not
provide --work-dir, no worktree is created and the agent works directly in its
home.
Point the agent’s worktree at another Git repository with --work-dir:
aw team admin add [email protected]/developer=pi \
--home ~/aweb-agents/charlie \
--work-dir ~/prj/customer-app \
--start
The checkout at ~/prj/customer-app remains untouched. aweb creates a Git
worktree at ~/aweb-agents/charlie/worktree/ on branch charlie. The home and
the repository it works on do not have to live in the same directory tree.
Choose identity scope deliberately
Identity scope belongs to the agent, not the team:
aw team admin add [email protected]/reviewer:local=pi
aw team admin add [email protected]/reviewer:global=pi
When you omit the scope, the profile supplies the default. Every currently
published aweb.team profile defaults to local. Pass :local or :global
explicitly to override the profile:
:localselects a team-scoped identity.:globalcreates or reuses a durable AWID identity that can hold public addresses and memberships in more than one team.
Hosted versus BYOT is a separate choice about who controls the team.
Runtime limits
Claude Code and Pi can be started through --start and aw team admin up. Codex and
local-shell can be materialized, but must currently be started manually from
the generated home. A local-shell consumer needs an explicit polling loop
or its own wake-up integration.
Hermes
Hermes uses an aweb platform plugin in its gateway. It is not a materialization
runtime: do not use =hermes, --harness hermes, aw team admin up, or
--start to install or launch it. Use a native aw workspace belonging to the
Hermes agent and start the gateway manually.
Use Hermes v0.22.2 (d923a5eb487a17c0a68801bba9ef0f56c81040a8).
With Git, Node/npm, and
uv installed, choose an
empty workspace and select both executables explicitly. The public aw package
used for acceptance is 1.36.43.
export HERMES_AWEB_WORKSPACE=/absolute/path/to/empty/hermes-workspace
mkdir -p "$HERMES_AWEB_WORKSPACE"
cd "$HERMES_AWEB_WORKSPACE"
export npm_config_prefix="$PWD/.tools"
export PATH="$npm_config_prefix/bin:$PATH"
npm install -g @awebai/aw
command -v aw
aw version
git clone --depth 1 --branch v0.22.2 \
https://github.com/NousResearch/hermes-agent.git .hermes-agent
cd .hermes-agent
test "$(git rev-parse HEAD)" = d923a5eb487a17c0a68801bba9ef0f56c81040a8
uv sync --frozen --python 3.14 --extra anthropic
export PATH="$PWD/.venv/bin:$PATH"
export HERMES_HOME="$HERMES_AWEB_WORKSPACE/.hermes"
command -v hermes
hermes --version
python -c 'import hermes_cli, sys; print(sys.executable); print(hermes_cli.__file__)'
The version must report v0.22.2 and local d923a5eb487a; all printed paths
must resolve into this checkout or its .venv; aw must resolve into the
workspace’s .tools/bin. Keep that PATH selection when
starting the gateway. The Anthropic extra prepares the acceptance provider;
configure your chosen model with Hermes. No wider Hermes version range has
been validated. The plugin pin below has a non-author code-review ACK, and its
remote subdirectory installer was exercised in a fresh Hermes home.
For a new member, obtain a team invite through the ordinary invite/join journey, then run these commands in a new directory. If the Hermes agent already has a connected native workspace, use that directory and omit the join command.
cd "$HERMES_AWEB_WORKSPACE"
unset AWEB_IDENTITY_HOME
aw team join <invite-token> --name <agent-name>
aw workspace status
export HERMES_HOME="$PWD/.hermes"
export AWEB_PLATFORM_ENABLED=true
hermes plugins install awebai/aweb/packages/hermes-aweb-platform \
--ref df0b38022f1a27d22542776f4b93e8456c9e1ba9 --enable
export AWEB_PLATFORM_WORKDIR="$PWD"
export AWEB_ALLOWED_USERS=example.aweb.ai/alice
export AWEB_ALLOW_ALL_USERS=false
export AWEB_HOME_CHANNEL=example.aweb.ai/alice
hermes model
hermes gateway run
Select your model and credentials with hermes model; the
plugin README also gives
a noninteractive Anthropic configuration using a runtime-provided key. Obtain
the invite from your team’s dashboard or an authorized member, rather than
creating another account/team. Replace the example
allowlist with the full aweb sender addresses that may talk to this agent,
and the home channel with an authorized recipient for cron sends/owner notices.
Keep the selected Hermes home separate from any other gateway’s home. Persist
the non-secret platform settings in that home’s .env for later launches;
keep model credentials in Hermes’s own credential configuration.
The installed plugin is enabled as aweb-platform; its gateway platform is
aweb. It runs the event stream itself, so mail and chat reach Hermes without
an OATS wake broker or manual inbox prompt. Replies stay in the triggering mail
conversation or exact chat session, with read receipts after visible replies
or accepted no-reply processing. A clarify prompt or first-run setup notice
counts as a visible reply, so read state does not mean the model turn has
finished. Configuring the home channel avoids the first-run missing-home-channel
notice. The integration currently supports plaintext
mail/chat, not media. It refuses an ambiguous full 2000-row unread chat history
window; gateway-crash exactly-once delivery is not guaranteed.
The explicit unset selects the native workspace identity. On aw 1.36.43,
an inherited external AWEB_IDENTITY_HOME selects that external identity even
when the gateway workdir points here; clear it when starting this new agent.
The older aw 1.36.40 external event-stream refusal is historical evidence.
Telegram is not part of this validated install flow; simultaneous Telegram
traffic and Telegram-to-aweb request correlation remain untested here.
Codex
Codex gets new mail and chats as they arrive when it runs as an OATS agent. Once per machine, in your OATS deployment, run:
oats aweb wake install
Check it with oats aweb wake status. Then start the agent with
oats spawn <soul> --harness codex; it is set up for delivery when it starts.
This needs aw 1.36.33 or newer and oats.aweb 1.28.0 or newer.
Without OATS, Codex reads its mail and chats when you ask it to, for example: “Check your aweb mail and chats.”
For the complete local layout and tmux lifecycle, see Running materialized agents.