Vespid quickstart
Vespid quickstart is the smallest useful workflow for understanding the project: run one local service contract, one local gateway runtime, and inspect the full enforcement path over ordinary HTTP.
What you need
Section titled “What you need”- Node.js and npm
- the public repo: https://github.com/vespid-ai/vespid
- a terminal that can run
curl
Install and run
Section titled “Install and run”git clone https://github.com/vespid-ai/vespid.gitcd vespidnpm installnpm run demo:httpnpm run demo:http builds the project, starts a local appointment service, starts the gateway runtime, and prints both local URLs.
What the demo gives you
Section titled “What the demo gives you”The demo is not just “hello world.” It shows this path end to end:
discover -> capabilities -> searchSlots -> createBookingDraft-> confirmBooking awaiting_auth -> grant -> resume same task-> awaiting_approval -> approve -> booking_confirmation artifact -> audit evidenceThe important invariant is that grant issuance resumes the original task by taskId. It must not create a second consequential task.
The shortest useful HTTP flow
Section titled “The shortest useful HTTP flow”Once the local URLs are printed, the shortest useful inspection path is:
POST /gateway/discoverwith the appointment service URLGET /gateway/capabilitiesPOST /gateway/invokeforsearchSlotsPOST /gateway/invokeforcreateBookingDraftPOST /gateway/invokeforconfirmBookingand observeawaiting_authPOST /gateway/grantswith the capability and draft/task bindingPOST /gateway/invokewith the originaltaskIdto resumePOST /gateway/approvals/{approvalId}/approveGET /gateway/tasks/{taskId}GET /gateway/artifacts/{artifactId}andGET /gateway/audit
Verify the project after the demo
Section titled “Verify the project after the demo”Run the full test suite if you want proof that the behavior is not just manual demo wiring:
npm testThe tests cover manifest validation, HTTP discovery, draft creation, task resume, approval rejection, and fail-closed handling for invalid grants.
Common mistakes
Section titled “Common mistakes”Treating the gateway like a thin proxy
Section titled “Treating the gateway like a thin proxy”The gateway is the point of the prototype. If you skip it and call the demo service directly, you are no longer exercising the authorization, approval, artifact, or audit model that vespid is trying to prove.
Adding adapters before the HTTP contract is credible
Section titled “Adding adapters before the HTTP contract is credible”The current v0.1 posture is deliberate: ordinary HTTP first, adapters later. If the HTTP contract is weak, generating more surfaces from it only spreads the ambiguity further.
Related reading
Section titled “Related reading”- Open the project page: vespid
- Then read: Contract and gateway model
- Then read: Why ordinary HTTP comes before adapters