2.0 KiB
2.0 KiB
Central AI Hub — AI Agent Runbook
Writing Style: ASD-STE100 Simplified Technical English (
ste-writing).
Phase 1 — Prove the Paperclip Round Trip
This phase has no Hub code. It proves the missing link: a job that leaves and a result that returns.
Steps
- Create a Paperclip agent API key for this project. DONE.
- Paperclip board:
http://192.168.20.13:3100. - Agent:
Hub, id108c6220-c9e1-4b62-9e0a-6a763e0d28fd. - Key name:
hub-service. - The key is stored in
/home/sam/.config/environment.d/10-secrets.confasPAPERCLIP_API_KEY. Never commit it. - Verification:
GET /api/agents/mewith the key returns200and the nameHub. - Note:
POST /api/agents/{id}/keysis board-only. A run JWT gets403 Board access required. Mint keys with the local board key.
- Paperclip board:
- File one job with
curl. Use the issue-create endpoint. - Confirm the job appears in the Paperclip board.
- Wait for the agent to close the job.
- Send the result to Jervis
POST /announceso the house speaks it. - Record the result in this file.
Commands
export PAPERCLIP_API_KEY=<from secrets>
curl -s -X POST http://192.168.20.13:3100/api/issues \
-H "Authorization: Bearer $PAPERCLIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"round-trip test","description":"prove the return path"}'
# Speak the result.
curl -s -X POST http://192.168.20.13:8501/announce \
-H "Content-Type: application/json" \
-d '{"text":"Round trip works."}'
Definition of Done
- The job appears in Paperclip.
- The job closes.
- The house speaks the result.
- This file records the result.
After Phase 1
Follow the build order in AGENTS.md. Do not start a destination before the
round trip works.
Health Checks
curl -s http://192.168.20.13:3100/health # Paperclip
curl -s http://192.168.20.13:8501/health # Jervis
curl -s -o /dev/null -w '%{http_code}\n' http://192.168.20.30:8123/ # HA