Skip to content

Demo: run a Directory agent skill as a discoverable agent

This walkthrough takes an agent skill stored in the AGNTCY Agent Directory (DIR), turns it into a running A2A agent with agentbridge register --record, and finds it again by skill through runtime discovery: the registry of running workloads that dirctl daemon keeps next to Directory's registry of records.

It complements the Agent Directory Discovery Demo, which publishes agent cards as Directory records and forms a group from them. This demo keeps Directory for what is built once (the skill record) and runtime discovery for what runs (the agent instance), so stopping an agent removes it from discovery.

The agents use a stand-in harness, fake-harness (examples/agentbridge-container), which answers without a model and prints the skills it was given, so nothing here spends tokens.

What this demo shows

  • An agent built from a Directory record

    register --record <ref> pulls an agent-skill record from a Directory node, writes its skills into a harness that starts without your own configuration, and serves it over A2A inside the SHADI sandbox.

  • Skills from the record and the command line, nothing else

    The card advertises the record's skills and domains plus --skill / --domain in its OASF discovery extension, checked against the OASF schema server before the listener starts. No skill is added automatically.

  • Announced while it runs

    --dir-announce registers the running instance with runtime discovery and withdraws it when it stops. Containers are announced by their labels.

  • Found by skill

    dirctl runtime list --skill … lists running agents, with the record each was built from.

  • What fails, and how

    Invalid skills, unreachable servers, records that can't run, and sandbox settings, each stopping before the agent is served.

Prerequisites

  1. Build the CLIs

    cargo build -p agntcy-shadi-cli -p agntcy-agentbridge-cli
    
  2. Build dirctl with runtime discovery (dirctl daemon + dirctl runtime list)

    git clone https://github.com/agntcy/dir.git ../dir
    (cd ../dir/cli && go build -o "$HOME/go/bin/dirctl-dev" .)
    

dirctl runtime list and process discovery in dirctl daemon ship with Directory 1.8.0. The JSON output used here (agntcy/dir#2366) and the clean-up of stale descriptors (agntcy/dir#2373) are on main but not in a release yet, so build dirctl from main as above.

Runtime discovery is local for now

The runtime discovery API is served by dirctl daemon, which runs Directory's API server together with dir-runtime on your machine. A Directory deployed on Kubernetes (such as the public one) doesn't run dir-runtime yet (agntcy/dir#2309), so dirctl runtime list against it answers Unimplemented. Everything below uses a local dirctl daemon.

Build dirctl outside /tmp

The SHADI sandbox refuses to run programs through the /tmp symlink, so a dirctl there fails inside shadictl with Operation not permitted. Use a path under $HOME (as above) or /private/tmp/….

1. Shared environment (every terminal)

source docs/content/demos/demo-env-runtime.sh

In fish, start a shell that inherits it with bash -c 'source docs/content/demos/demo-env-runtime.sh && exec fish', or use bass (bass source …).

demo-env-runtime.sh sets:

  • DID auth (SHADI_SLIM_AUTH=did, SLIM_HUMAN_SEED), and SLIM_MEMBER_DIDS with the avatar DID agentbridge delegate signs as. It restricts SLIM sessions only: an --a2a-listen listener checks just the DID proof on a message, so it runs a task from any self-signed did:key (shadi#500). Keep unicast listeners on loopback, as here, or set SHADI_MEMBER_HUMAN_DIDS to require a binding from a listed human.
  • SHADI_TMP_DIR, the demo's working state, as a real path: each run's harness configuration (agentbridge-record/), the registry of local listeners (agentbridge-local/) and the harnesses' work directory (work/). Agent terminals grant it to the sandbox with --allow "$SHADI_TMP_DIR", and every terminal must use the same one.
  • DIRCTL and SHADI_DIRCTL_BINARY: the dirctl you run and the one agentbridge runs inside the sandbox; DIRECTORY_CLIENT_SERVER_ADDRESS points dirctl at the local daemon.
  • PATH and AGENTBRIDGE_PROFILES_DIR for the stand-in harness and its profile.

It also creates, private to you, the paths the agent terminals grant to the sandbox and a fresh install may not have yet (~/.dir, ~/.config/dirctl, ~/.agntcy/dir-runtime/workloads.d): shadictl refuses a grant on a path that doesn't exist.

SHADI_DIRCTL_BINARY picks the dirctl agentbridge runs inside the sandbox, where an older one (e.g. from Homebrew) can come first on PATH.

Start a local Agent Directory node with runtime discovery

Terminal D (daemon):

source docs/content/demos/demo-env-runtime.sh
DIRECTORY_DAEMON_RUNTIME_ENABLED=true "$DIRCTL" daemon start

The daemon serves Directory on localhost:8888 and discovers workloads in two runtimes: Docker containers, and host processes that write a descriptor to ~/.agntcy/dir-runtime/workloads.d. If pushes fail with 403 Forbidden on macOS, see the port 5000 note.

2. Import an agent skill into Directory

Terminal C (client):

The sample code-review skill from Directory's test data, imported with OASF 1.1.0 classes chosen by the static enricher (no LLM needed). 1.1.0 is the OASF version agentbridge advertises, so the record's classes join the agent's card.

cat > "$SHADI_TMP_DIR/import-code-review.yaml" <<EOF
type: agent-skill
file_path: $PWD/../dir/tests/e2e/shared/testdata/code-review
schema_version: "1.1.0"
enricher:
  static:
    skills: [{ name: software_engineering/code_debugging/error_handling }]
    domains: [{ name: technology/software_engineering }]
EOF
"$DIRCTL" import --config "$SHADI_TMP_DIR/import-code-review.yaml"
"$DIRCTL" info code-review --output json
=== Import Summary ===
Total records:   1
Imported:        1
Skipped:         0
Failed:          0
{
  "cid":  "baeareigguj5xuzfovhcms2zbgqi56daruq3niucq3iva4iyb7ltwdbu3w4",
  "annotations":  { "name": "code-review", "oasf-version": "1.1.0", "version": "1.0.0" },
  "schemaVersion":  "1.1.0",
  ...
}

3. Run the skill as an agent

Terminal R (record agent):

source docs/content/demos/demo-env-runtime.sh
target/debug/shadictl --net-block \
  --net-allow 127.0.0.1:19960 --net-allow schema.oasf.outshift.com:443 \
  --net-allow localhost:8888 --read ~/.dir --read ~/.config/dirctl \
  --read "$SHADI_DIRCTL_BINARY" \
  --allow "$SHADI_TMP_DIR" --write ~/.agntcy/dir-runtime/workloads.d \
  -- target/debug/agentbridge register --tool fake-harness-isolated \
     --a2a-listen 127.0.0.1:19960 --a2a-binding http+json \
     --record code-review --record-server localhost:8888 --dir-announce
[agentbridge] running DIR record code-review 1.0.0 (baeareigguj5x…) from localhost:8888; signature: unsigned
[agentbridge] 'code-review' resolved to baeareigguj5x…; pass --record baeareigguj5x… to run exactly this record
[agentbridge] provisioned agent skill 'code-review' into …/agentbridge-record/Xp3kQ9ab/skills/code-review
Registered fake-harness-isolated adapter from profile (agent id: code-review-fake-harness-isolated, from the --record's name and the profile; dir: …)
[agentbridge] announced to dir-runtime as code-review-fake-harness-isolated-<DID suffix>-21162 (…/workloads.d/code-review-fake-harness-isolated-<DID suffix>-21162.json)
Starting A2A HTTP+JSON listener on 127.0.0.1:19960 ...
[agentbridge] ready — A2A HTTP+JSON on http://127.0.0.1:19960

What happened before the listener started:

  1. dirctl info resolved code-review to a CID on the Directory node, dirctl pull fetched the record, and dirctl verify checked its signature. An unsigned record runs, logged as unsigned; a signature that doesn't verify stops register. A valid signature only shows that someone signed the record, so it is logged as "identity not checked" unless you name the signer with --record-oidc-issuer and --record-oidc-subject (matched exactly): then only a record signed by that identity runs. The record pull returns must also be the CID's: its CID is recomputed and compared. A name resolves to the highest version; pin the CID it prints to run exactly that record.
  2. Every agent skill in the record (its core/language_model/agentskills modules) was written into a fresh configuration directory for this run. The harness's profile points it there (isolation and provision.skills in examples/agentbridge-container/profiles/fake-harness-isolated.json), so it doesn't see your own skills or settings. The directory is removed when register stops by itself: on SIGTERM to agentbridge, or on an error. Ctrl-C at shadictl kills agentbridge outright (SIGKILL), which leaves the directory under $SHADI_TMP_DIR/agentbridge-record; stop it with kill <agentbridge PID> instead, or remove that run's directory after.
  3. The card was built with the record's version, skills and domains, and checked against the OASF schema server.
  4. --dir-announce wrote a process descriptor for runtime discovery, labelled with the record's CID (org.agntcy/agent-record).
  5. The agent was named code-review-fake-harness-isolated: the record's name, then the profile, so the same record on two harnesses gets two names. The name is the agent's card and workload name, its SLIM name and what delegate --to takes, and the agent's DID is derived from it, so two records on one profile are two identities. --name <NAME> sets it instead (ASCII letters, digits, - and _); without --record, the agent is named after the profile.

The sandbox flags grant exactly that: the listener and the OASF server (--net-allow), the Directory node and dirctl's own files for --record (--net-allow localhost:8888 --read ~/.dir --read ~/.config/dirctl), the dirctl binary itself (--read "$SHADI_DIRCTL_BINARY"; on Linux, Landlock only runs programs under a granted path, and ~/go/bin isn't one), the demo's working state (--allow "$SHADI_TMP_DIR"), and the descriptor directory (--write).

4. Find it by skill

Terminal C:

"$DIRCTL" runtime list --skill "software_engineering/*"
code-review-fake-harness-isolated-<DID suffix>-21162
  runtime:  process
  host:     my-laptop
  agent:    code-review-fake-harness-isolated 1.0.0
  locators: http://127.0.0.1:19960
  skills:   software_engineering/code_debugging/error_handling
  domains:  technology/software_engineering
  authors:  AGNTCY Contributors
  record:   baeareigguj5xuzfovhcms2zbgqi56daruq3niucq3iva4iyb7ltwdbu3w4

Workloads are listed as announced; nothing here is verified.
  • The first line is the workload ID: for a process, the agent name, the end of its DID and its PID.
  • The version, skill and domain come from the record; authors is the record's author. The card itself names no owner yet.
  • --output raw prints only workload IDs; --output json prints the workloads as runtime discovery returns them, A2A card included. --label takes key=regex, so org.agntcy/agent-record=. keeps every workload built from a record:
"$DIRCTL" runtime list --label org.agntcy/agent-record=. --output raw
"$DIRCTL" runtime list --output json \
  | jq '.[0].services.a2a | {version, skills, extensions: .capabilities.extensions}'

The card's own A2A skills list is empty: OASF classes live only in the discovery extension (https://schema.oasf.outshift.com/1.1.0/objects/discovery).

agentbridge list shows the same agent from agentbridge's side. It lists running agents from two sources, merged: listeners on this host that aren't announced (their leases), and every agent the dir-runtime at --runtime (default localhost:8888) reports:

target/debug/agentbridge list
target/debug/agentbridge list --skill "software_engineering/*"   # only announced agents carry skills
code-review-fake-harness-isolated  did=did:key:z6Mk…  http+json://127.0.0.1:19960  [runtime (localhost:8888)]

Each line says where the agent's record is: local for a listener on this host that isn't announced (its lease), and runtime (<addr>) for an agent that dir-runtime reported. An announced listener writes no lease, so it is found only through dir-runtime, and agentbridge list --local (leases only) never shows it. Runtime discovery is optional: with no daemon running, agentbridge list lists the local listeners and ends with the following message:

No dir-runtime is running at localhost:8888, so agents announced with --dir-announce aren't listed (start one with `dirctl daemon start`).

agentbridge runs dirctl runtime list itself, with the dirctl that SHADI_DIRCTL_BINARY names, or else the first one on PATH; it needs 1.8.0 or later, and with an older one it says so and lists only local listeners.

5. Send it a task

Terminal C:

target/debug/agentbridge delegate --to code-review-fake-harness-isolated "Review: return a / b"
[agentbridge] 'code-review-fake-harness-isolated' (did:key:z6Mk…) was found through dir-runtime localhost:8888: its DID and address are what it announced about itself, and nothing checks that the DID answers there yet (agntcy/shadi#504)
Response from 'code-review-fake-harness-isolated' (488ms):
[fake-harness] received: Review: return a / b
[fake-harness] agent skill: code-review: Toolkit for performing structured code reviews. Covers identifying bugs, security issues, performance problems, and style violations. Use when asked to review code changes, pull requests, or individual files.

The harness answered with the skill it was given. --to takes an agent name or DID: a name that isn't a listener on this host is looked up at the dir-runtime (--runtime, default localhost:8888), which reports this announced agent with its DID and locator. A DID is looked up in its published DIR record first. Neither is verified: whatever dir-runtime reports is what the agent says about itself, and the DIR record's signature and DID aren't checked, so delegate marks both as unverified (shadi#504).

Press Ctrl-C in Terminal R: after the next scan, dirctl runtime list no longer shows the agent. Ctrl-C reaches shadictl, which kills agentbridge outright, so the descriptor is left behind until dirctl daemon sees the process is gone and removes it, and the run's configuration directory under $SHADI_TMP_DIR/agentbridge-record stays too. SIGTERM sent to agentbridge itself (kill <agentbridge PID>) withdraws the announcement at once and removes that directory.

6. With a real harness

The bundled profiles under crates/agentbridge/profiles/ drive real coding CLIs. For a record, prefer the isolated ones:

  • claude-code-isolated, codex-isolated, copilot-isolated, cursor-agent-isolated, goose-isolated, opencode-isolated

    They run the same CLIs as their plain profiles with a fresh HOME and configuration directory per run, holding only the record's skills. The harness doesn't see your own skills (including user-level ones in ~/.agents/skills or ~/.claude/skills), settings, MCP servers or login. It starts from an empty environment too: only the basics (PATH, locale, terminal, user, temp, TLS trust and proxy settings) and the variables its profile names reach it: its tool's credentials (table below), plus the endpoint and model settings next to them (ANTHROPIC_BASE_URL, ANTHROPIC_MODEL, OPENAI_BASE_URL, …; the full list is pass_env in each profile). Not your other tokens, keys or agent sockets. Files the sandbox grants stay readable by absolute path. A fresh HOME keeps out your configuration, not the rest of the host, so every isolated profile refuses to run outside shadictl.

  • claude-code, codex, goose, opencode, copilot, cursor-agent

    These work too, with a warning: the record's skills go into the working directory (.claude/skills, .agents/skills, .goose/skills, .opencode/skills, .github/skills, .cursor/skills; an existing skill of the same name is never replaced, and they are removed when register stops), and the harness also reads your own configuration and login. Whoever can send it a task can try to make it reveal or use them.

An isolated profile's fresh HOME also means the harness doesn't see your login, so give it a credential it reads from its environment:

Harness Install Credential Model API
claude-code-isolated Claude Code (claude) ANTHROPIC_API_KEY, or CLAUDE_CODE_OAUTH_TOKEN from claude setup-token api.anthropic.com:443
codex-isolated Codex CLI (codex) CODEX_API_KEY api.openai.com:443
copilot-isolated GitHub Copilot CLI (copilot) COPILOT_GITHUB_TOKEN: a fine-grained PAT with the Copilot Requests permission (classic PATs aren't accepted), or gh auth token's OAuth token; COPILOT_GH_HOST for a *.ghe.com account api.github.com:443 and the Copilot API hosts, e.g. api.githubcopilot.com:443, api.individual.githubcopilot.com:443, api.business.githubcopilot.com:443, api.enterprise.githubcopilot.com:443
cursor-agent-isolated Cursor CLI (cursor-agent) CURSOR_API_KEY from the Cursor dashboard (Integrations) api2.cursor.sh:443 and Cursor's other API hosts, e.g. api3.cursor.sh:443, repo42.cursor.sh:443
goose-isolated goose (brew install block-goose-cli) GOOSE_PROVIDER and GOOSE_MODEL (passed as --provider / --model) and that provider's key: one of ANTHROPIC_API_KEY, OPENAI_API_KEY (with OPENAI_HOST, OPENAI_BASE_PATH), GOOGLE_API_KEY, OPENROUTER_API_KEY, GROQ_API_KEY The provider's API, e.g. api.anthropic.com:443
opencode-isolated opencode (brew install opencode) The provider's key: one of ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, OPENROUTER_API_KEY, GROQ_API_KEY; the model via OPENCODE_ARGS="--model anthropic/<model>" The provider's API, plus models.dev:443

opencode doesn't run inside the SHADI sandbox yet

opencode 2.x starts a local server on a random port for every run, and shadictl --net-block only allows the ports it is given, so the task fails with Failed to start server. This applies to the plain opencode profile too. opencode-isolated provisions skills correctly; running it needs the sandbox to allow the harness its own loopback server (shadi#496).

Terminal R, claude-code-isolated:

source docs/content/demos/demo-env-runtime.sh
export ANTHROPIC_API_KEY=…            # or CLAUDE_CODE_OAUTH_TOKEN=…
target/debug/shadictl --net-block \
  --net-allow 127.0.0.1:19970 --net-allow schema.oasf.outshift.com:443 \
  --net-allow localhost:8888 --net-allow api.anthropic.com:443 \
  --read ~/.dir --read ~/.config/dirctl --read "$SHADI_DIRCTL_BINARY" \
  --read ~/.local/bin --read ~/.local/share/claude \
  --allow "$SHADI_TMP_DIR" --write ~/.agntcy/dir-runtime/workloads.d \
  -- target/debug/agentbridge register --tool claude-code-isolated \
     --command "$SHADI_TMP_DIR/work" \
     --a2a-listen 127.0.0.1:19970 --a2a-binding http+json \
     --record code-review --record-server localhost:8888 --dir-announce

Terminal R, codex-isolated:

source docs/content/demos/demo-env-runtime.sh
export CODEX_API_KEY=…
target/debug/shadictl --net-block \
  --net-allow 127.0.0.1:19971 --net-allow schema.oasf.outshift.com:443 \
  --net-allow localhost:8888 --net-allow api.openai.com:443 \
  --read ~/.dir --read ~/.config/dirctl --read "$SHADI_DIRCTL_BINARY" \
  --allow "$SHADI_TMP_DIR" --write ~/.agntcy/dir-runtime/workloads.d \
  -- target/debug/agentbridge register --tool codex-isolated \
     --command "$SHADI_TMP_DIR/work" \
     --a2a-listen 127.0.0.1:19971 --a2a-binding http+json \
     --record code-review --record-server localhost:8888 --dir-announce

Terminal C:

target/debug/agentbridge delegate --to code-review-claude-code-isolated \
  "Review this function: def div(a, b): return a / b"

Both agents run the same record, so each is named after its harness: code-review-claude-code-isolated and code-review-codex-isolated.

  • --command is the harness's working directory: the files it may read and change for a task. Here it is an empty directory; point it at a checkout to review real code, and allow that path too.
  • The extra sandbox access is the harness's own: its model API, and for claude its install under ~/.local (Homebrew installs, like codex, are readable already).
  • Without a credential, the task comes back with the harness's own error (Not logged in · Please run /login, or 401 Unauthorized), which shows everything up to the model call works.

The harness can read its credential

Whatever credential you pass, the harness and the tools it runs can read it, and a task's reply goes back to whoever sent it. An isolated profile passes only its tool's credential variables; a plain profile still inherits agentbridge's whole environment. Use a key you can revoke, ideally with a spending limit. SLIM_MEMBER_DIDS limits who can send over SLIM; on unicast only the DID proof is checked (shadi#500), so bind to loopback or set SHADI_MEMBER_HUMAN_DIDS. Keeping the credential out of the harness is shadi#486; SHADI's own secrets (such as SLIM_HUMAN_SEED) are kept out of its environment by shadi#487.

The sandbox also has to let the harness read its own installation: --read /opt/homebrew for a Homebrew copilot, --read ~/.local/bin --read ~/.local/share/cursor-agent for cursor-agent. cursor-agent keeps per-project state under its data directory only while that path is short, so cursor-agent-isolated refuses a config root longer than 67 characters: keep $SHADI_TMP_DIR short (the demo's /private/tmp/shadi-runtime-demo fits).

Plain profiles and the keychain

The plain copilot and cursor-agent use your own login, which they keep in the keychain or their own configuration. They run a --record as plain profiles (above), and as agents from flags (step 7's command with --tool <name>): the sandbox then has to allow the harness's configuration and wherever its login is stored. For a login kept in the macOS keychain, that means --allow ~/Library/Keychains, which exposes every keychain item, SHADI's own included (shadi#320).

7. An agent from the command line

Terminal F:

source docs/content/demos/demo-env-runtime.sh
target/debug/shadictl --net-block \
  --net-allow 127.0.0.1:19950 --net-allow schema.oasf.outshift.com:443 \
  --allow "$SHADI_TMP_DIR" --write ~/.agntcy/dir-runtime/workloads.d \
  -- target/debug/agentbridge register --tool fake-harness \
     --a2a-listen 127.0.0.1:19950 --a2a-binding http+json \
     --skill software_engineering/code_debugging/error_handling \
     --domain technology/networking/network_security \
     --version 1.0.0 --dir-announce

Terminal C:

"$DIRCTL" runtime list --domain "technology/*"

For a gRPC or SLIM listener, which don't serve the card themselves, add a card listener and allow its port: --a2a-binding grpc --card-listen 127.0.0.1:19952.

8. A group of running agents

Agents announced to runtime discovery can form a SLIM group like the Agent Directory Discovery Demo does with Directory records: the running:<skill> member source finds them through dirctl runtime list instead of a record search. This step uses that demo's environment and SLIM setup, not demo-env-runtime.sh: in each terminal source docs/content/demos/demo-env-dir.sh (it sets SLIM_ENDPOINT and the mTLS material) and start the node with shadictl slim start-node. That script clears SLIM_MEMBER_DIDS and doesn't pick a dirctl, so after sourcing it, put the moderator's DID (from /slim whoami, as that demo shows) in each agent's SLIM_MEMBER_DIDS, and point SHADI_DIRCTL_BINARY at the dirctl built in the prerequisites. Then announce each agent with a skill and a SLIM endpoint:

source docs/content/demos/demo-env-dir.sh
export SLIM_MEMBER_DIDS="did:key:z6MkwE1Y6L4KLgaQMACssnKN9LSEGTJpgdJxATgvRJAgkF76"   # the moderator
target/debug/shadictl --net-block \
  --net-allow "$SLIM_ENDPOINT" --net-allow schema.oasf.outshift.com:443 \
  --net-allow 127.0.0.1:19953 \
  --read "$SHADI_TMP_DIR" --allow "$SHADI_TMP_DIR/agentbridge-local" \
  --write ~/.agntcy/dir-runtime/workloads.d \
  -- target/debug/agentbridge register --tool codex \
     --command "$(pwd)" --slim-endpoint "$SLIM_ENDPOINT" \
     --skill ai_ml_engineering/agent_orchestration/multi_agent_coordination \
     --card-listen 127.0.0.1:19953 --dir-announce

--read "$SHADI_TMP_DIR" keeps the mTLS material read-only for the harness; only the lease directory is writable.

SLIM doesn't serve the agent card, so --dir-announce adds a card listener for dir-runtime to read. The sandbox only allows listed ports, so give it a fixed one (--card-listen, with the same --net-allow), a different port for each agent.

Then the moderator resolves the group from running agents:

source docs/content/demos/demo-env-dir.sh
export SHADI_DIRCTL_BINARY="$HOME/go/bin/dirctl-dev"
target/debug/shadictl slim create-group \
  --members "running:ai_ml_engineering/agent_orchestration/multi_agent_coordination" \
  --runtime localhost:8888 \
  agntcy/shadi/runtime-room

running: trusts what the agents say about themselves: any workload the runtime reports with a matching skill gets its DID into the group's trust set. Use it only on a runtime whose workloads you trust.

and continues as in that demo's steps 6–7 (/slim join, /slim invite, /slim invite-from running:…). Only agents that announced their DID (--dir-announce) become members; containers don't carry one yet.

9. Containers

docker compose -f examples/agentbridge-container/compose.yaml up -d --build
"$DIRCTL" runtime list --runtime docker
docker compose -f examples/agentbridge-container/compose.yaml down

Each container runs agentbridge register inside shadictl with the discovery labels org.agntcy/discover=true and org.agntcy/agent-type=a2a. The card is served on plain HTTP (--card-listen, port 8081) for discovery; --advertise-url puts the published A2A port in the card. Delegating to a container needs a certificate your machine trusts; see the example's README.

10. What doesn't work, and how it fails

Each of these stops before any listener starts. Use the shadictl prefix from step 3 unless noted.

Case Command Result
Invalid skill register … --skill software_engineering/not_a_skill skills or domains are not in OASF 1.1.0: skills[0]: Unknown "name" value; no class is defined for not_a_skill.
Domain without a skill register … --domain technology/software_engineering --domain needs at least one --skill: the OASF discovery object requires skills
OASF server blocked Step 7 without --net-allow schema.oasf.outshift.com:443 could not reach the OASF server …, naming the --net-allow to add, or --skip-oasf-validation
Announce without a listener agentbridge register --tool fake-harness --dir-announce --dir-announce needs an A2A listener: pass --slim-endpoint or --a2a-listen
Unknown record register … --record no-such-skill … could not find record 'no-such-skill' on localhost:8888: … no record found with name "no-such-skill"
dirctl blocked by the sandbox Step 3 without --read ~/.dir --read ~/.config/dirctl dirctl info code-review failed: panic: mkdir …/.dir: file exists, with the flags to add
dirctl under /tmp SHADI_DIRCTL_BINARY=/tmp/dirctl … could not run dirctl (/tmp/dirctl): Operation not permitted …
A record without an agent skill An A2A-card record (dirctl import --type=a2a) as --record record '…' has no agent skill (core/language_model/agentskills module); only agent-skill records can be run
$SHADI_TMP_DIR not allowed Step 3 without --allow "$SHADI_TMP_DIR" could not create …/agentbridge-record: Operation not permitted … Under shadictl, allow its parent with --allow
A harness that isn't isolated register --tool claude-code … --record code-review … Starts, with warning: profile 'claude-code' isn't isolated. The harness also reads your own configuration …; the skill goes into <workdir>/.claude/skills
A harness with nowhere to put skills A profile in AGENTBRIDGE_PROFILES_DIR without provision.skills, with --record code-review profile '…' can't run a DIR record: it has no provision.skills section, so there is nowhere to put the record's skills
A record in another OASF version A record imported with schema_version: "1.0.0" Starts, but warning: record … uses OASF 1.0.0, the card OASF 1.1.0; its skills and domains are not advertised

An agent without any skill (no --skill, no --record) starts, but its card has no discovery extension, so --skill filters don't find it.

Notes and limitations

  • Everything listed is a claim. Runtime discovery shows what each workload announces; nothing verifies it yet. Card signatures will name the agent and its owner verifiably (shadi#482), and a challenge will show that a running instance holds its key (agntcy/dir-runtime#94).
  • Isolated harnesses don't see your login. A real harness started with --record gets a fresh configuration, so it needs a credential it can read (step 6).
  • Stale announcements clean themselves up. Ctrl-C or SIGTERM to shadictl (or a crash) ends the agent without withdrawing its announcement; dirctl daemon removes the descriptor once the process is gone, and its started_at keeps a reused PID from reviving it.
  • One OASF version per card. A record's classes join the card only when the record uses the card's OASF version (--oasf-schema-version, 1.1.0).

Next steps

  • agentbridge list --live: keep only running agents a trusted human vouches for and that answer a challenge for their DID (shadi#347, shadi#437).
  • Card signatures and a challenge before sending (shadi#482, shadi#437).