Run the Hermes Agent connector quickstart In this tutorial, you will start the repository's deterministic Hermes product path and route one signed cap:hermesagent:qualification:models action from aipctl, through product-neutral aipd, to the standalone aip-host-hermes-agent process. The provider is a controlled local fixture. You do not need a Hermes Agent deployment, model provider, or credential, and the procedure does not call an external service. This is a learning exercise, not a production deployment or qualification run. What you will verify By the end, you will have observed: • source-derived local images and connector release identities; • registry admission before the Hermes host starts; • one healthy, tenant-bound host with endpoint ID qualification; • one signed, low-risk models read returning the deterministic fixture model; • the same durable action state through a second aipd replica; • cleanup limited to the named tutorial Compose project. You will not test chat, streaming, a provider mutation, approval, operator execution, delegation, MCP, restart, failover, an external model, or a production security boundary. Prerequisites You need: • a clean aip-core checkout at the reviewed source revision; • Docker Engine, Docker Compose v2, and BuildKit; • enough CPU, memory, and disk for the source-owned fleet images; • TCP port 18443 free on loopback; • a POSIX-compatible shell and lsof. Run every command from the aip-core repository root. Image preparation builds the gateway, control plane, fixtures, and all product hosts, so the first run can take substantially longer than a single native binary. The Compose project name is fixed as aip-connector-fleet-qualification. Do not continue if another investigation or retained qualification run owns that project or its volumes. 1. Verify the source boundary Set and verify the reviewed revision: export AIPSOURCEREVISION=97be86e9efedf07ecf1783b03800f683f107fb04 test "$(git rev-parse HEAD)" = "$AIPSOURCEREVISION" test -z "$(git status --porcelain)" Both checks must exit with status 0. Use a separate clean checkout if you have local work; do not hide or discard changes to satisfy the preflight. Confirm that Docker and Compose are available: docker info >/dev/null docker compose version Confirm that the fixed edge port is unused: if ! command -v lsof >/dev/null; then echo "lsof is required for the port preflight" >&2 exit 1 fi if lsof -nP -iTCP:18443 -sTCP:LISTEN | grep -q .; then echo "Port 18443 is already in use" >&2 exit 1 fi Expected result: the port check prints nothing and exits with status 0. Identify an existing listener before changing it; this tutorial does not authorize stopping an unrelated process. 2. Prepare source-derived images Run the repository preparation script: ./deploy/connector-fleet/prepare.sh test -s deploy/connector-fleet/.env.qualification Expected result: preparation ends with connector fleet preparation: PASS. The environment file has permissions 0600 and records the source digest, image tag, image IDs, connector release ID, and monotonic release revision selected by Compose. The preparation script builds every image in the products profile even though this tutorial starts only the Hermes path. The resulting identities are local fixture inputs, not a production admission package or provider credential. Define a helper that always selects the source-owned file, environment, and profile: compose() { docker compose \ --profile products \ --env-file deploy/connector-fleet/.env.qualification \ -f deploy/connector-fleet/compose.yml \ "$@" } Inspect the fixed project before starting it: compose ps --all Stop here if the command reveals resources you need to retain. Do not run cleanup merely because the project already exists. 3. Start the Hermes path Start the Hermes host and the dependencies declared by the Compose graph: compose up --detach --wait --wait-timeout 300 hermes-acme-a Expected result: the command exits with status 0. The dependency graph starts PostgreSQL, identity and policy initialization, registry migration and grants, the Hermes admission chain, the lifecycle control plane, the TLS edge, two product-neutral gateway replicas, the controlled product upstream, and hermes-acme-a. Inspect one-shot and long-running services: compose ps --all The Hermes host, both gateways, control plane, edge, PostgreSQL, and product fixture should be running and healthy. Initialization, migration, grants, and admission jobs may be exited with status 0; that is their successful terminal state. Do not bypass a failed admission job or start the host outside its declared identity. Preserve the failed job's bounded logs and correct its source-owned input. 4. Read the Hermes model catalog Run aipctl inside the isolated network with the generated client identity and trust material: compose run --rm --no-deps \ --entrypoint /usr/local/bin/aipctl \ -e AIPCTLNATIVEPRINCIPALID=service:aipctl:qualification-acme \ -e AIPCTLNATIVETRUSTDOMAIN=fleet.test \ -e AIPCTLNATIVESIGNINGSEEDFILE=/fleet-state/secrets/client-acme-signing-seed.hex \ -e AIPCTLNATIVEPEERDIDFILE=/fleet-state/public/gateway.did \ -e AIPCTLNATIVETLSCAFILE=/caddy-data/caddy/pki/authorities/local/root.crt \ qualification action call \ https://aipd.fleet.test:8443 \ cap:hermesagent:qualification:models \ --action-id acthermesquickstart001 \ --input '{}' Expected result: the response identifies acthermesquickstart001, names cap:hermesagent:qualification:models, reports a completed action result, and contains the fixture model qualification-model. The provider fixture requires the connector-owned Bearer token for GET /v1/models. A completed result therefore demonstrates the configured credential path as well as signature verification, tenant routing, standalone host execution, and result persistence. It does not prove compatibility with a real Hermes or model-provider deployment. 5. Read the durable result through the second gateway Query the stored action through aipd-b without repeating the provider call: compose run --rm --no-deps \ --entrypoint /usr/local/bin/aipctl \ -e AIPCTLNATIVEPRINCIPALID=service:aipctl:qualification-acme \ -e AIPCTLNATIVETRUSTDOMAIN=fleet.test \ -e AIPCTLNATIVESIGNINGSEEDFILE=/fleet-state/secrets/client-acme-signing-seed.hex \ -e AIPCTLNATIVEPEERDIDFILE=/fleet-state/public/gateway.did \ -e AIPCTLNATIVETLSCAFILE=/caddy-data/caddy/pki/authorities/local/root.crt \ -e AIPCTLNATIVEBEARERTOKENFILE=/fleet-state/secrets/native-bearer-token \ qualification action status \ https://aipd-b.fleet.test:8443 \ acthermesquickstart001 \ --include-result \ --include-receipts Expected result: the lifecycle view contains the same action and capability, reports a terminal completed result, and includes the stored output. This demonstrates shared durable lookup; it is not a gateway failover test. 6. Verify the tutorial outcome Require the named product host and both gateway replicas to remain running: test "$(compose ps --status running --services | grep -cx 'hermes-acme-a')" -eq 1 test "$(compose ps --status running --services | grep -Ec '^aipd(-b)?$')" -eq 2 Repeat a non-mutating status lookup through the first gateway: compose run --rm --no-deps \ --entrypoint /usr/local/bin/aipctl \ -e AIPCTLNATIVEPRINCIPALID=service:aipctl:qualification-acme \ -e AIPCTLNATIVETRUSTDOMAIN=fleet.test \ -e AIPCTLNATIVESIGNINGSEEDFILE=/fleet-state/secrets/client-acme-signing-seed.hex \ -e AIPCTLNATIVEPEERDIDFILE=/fleet-state/public/gateway.did \ -e AIPCTLNATIVETLSCAFILE=/caddy-data/caddy/pki/authorities/local/root.crt \ -e AIPCTLNATIVEBEARERTOKENFILE=/fleet-state/secrets/native-bearer-token \ qualification action status \ https://aipd.fleet.test:8443 \ acthermesquickstart001 \ --include-result >/dev/null All commands must exit with status 0. You have now completed the tutorial's single learning outcome: one signed Hermes read crossed the admitted standalone-host boundary and remained durably observable. Diagnose before cleanup If any step fails, capture bounded state first: compose ps --all compose logs --no-color --tail 200 \ aipd aipd-b control-plane hermes-acme-a product-upstream | Symptom | Check | | Preparation cannot reach Docker | Repair the daemon, then repeat the source and project checks | | Port 18443 is occupied | Identify the owner; do not terminate it without confirming scope | | Admission exits nonzero | Read that job's bounded log; do not bypass the package or trust policy | | Hermes host is unhealthy | Check its identity, endpoint file, API-key file, database, and fixture | | Signed action is rejected | Keep the generated principal, key, peer DID, CA, and tenant unchanged | | Models read returns unauthorized | Verify the generated endpoint key path and fixture token without printing either value | | Second lookup fails | Preserve both gateway and PostgreSQL logs before changing shared state | This tutorial does not authorize regenerating identities, deleting the database, weakening TLS, editing fixture credentials, or replacing admission with manual host startup as a repair. Stop and remove the tutorial project Only after confirming that the fixed project contains no evidence or state you must retain, remove its containers, network, and volumes: compose down --volumes --remove-orphans --timeout 30 test -z "$(compose ps --all --quiet)" The first command permanently deletes the named project's PostgreSQL state, generated keys, and retained evidence. It does not prune unrelated containers, images, volumes, or build cache. Any broader cleanup requires a separate scope decision. What to do next • Read the Hermes Agent connector overview (../README.md) for the five families and four execution roles. • Use the fleet quickstart (../../../getting-started/connector-fleet-quickstart.md) to understand the cross-connector learning path. • Follow Deploy the connector fleet (../../../guides/deploy-connector-fleet.md) only after production admission material and identities exist. • Use connector fleet qualification (../../../testing/connector-fleet-qualification.md) for failure, restart, isolation, and evidence claims. • Read the historical Hermes Agent report (../../../testing/hermes-agent-isolated-live.md) before interpreting external-product evidence.