Inspiration
What it does
How we built it
Challenges we ran into
Accomplishments that we're proud of
What we learned
What's next for Agentify Kit: open agentic websites for small businesses
Links
- Live site (open agentic website): https://quietstack-labs.github.io/agentify-kit/
- Agent manifest: https://quietstack-labs.github.io/agentify-kit/agent-manifest.json
- Network definition: https://quietstack-labs.github.io/agentify-kit/larkspur_studio.network.json
- Runtime: https://quietstack-labs.github.io/agentify-kit/agentify/agentify.js
- Peer-network URL (callable by other sites): https://quietstack-labs.github.io/agentify-kit/larkspur_studio
- Inspector (community tool): https://quietstack-labs.github.io/agentify-kit/inspect.html
- Kit docs and starter generator (community tool): https://quietstack-labs.github.io/agentify-kit/kit.html
- Source (MIT): https://github.com/quietstack-labs/agentify-kit
- Video: https://youtu.be/lI9IkIzeLTg
Inspiration
Most small businesses, such as print shops, bakeries, salons and repair studios, run on a static website with a contact form. When a customer's AI agent visits, it can read the text but can't price a job, see a free slot or place a request. A hosted agent backend costs money and needs maintenance, which these businesses can't afford. Many "AI chat" widgets also let a model make up prices.
The Open Agentic Web spec offers a better shape for this: publish agents as public data, run them in the visitor's browser, and keep the business logic on the site. We wanted to show that this can be a complete, everyday product for a real small business, and to package it so any small-business developer can reuse it in an afternoon.
What it does
Larkspur Print Studio is a fictional small-batch print shop and a fully working open agentic website. Its five-agent network (studio_concierge → catalog_guide, quote_builder, scheduler, trust_inspector, plus a partner network) can:
- Recommend products, then scroll to and highlight the right product card on the page.
- Price jobs with the studio's own code. Setup, volume tiers, paper, double-sided printing, rush and design help all come from
studio.js, the same rules the manual quote builder uses. The model never does the arithmetic. - Operate the page. It fills the quote builder (a write: the visitor sees the destination and arguments first) and sends a print request (irreversible: always confirmed). It also returns a receipt bound to the request id and argument digest, then checks that the request really reached the studio's book.
- Book consultations and pickups from the live calendar.
- Call another agentic website. Swift Courier, a delivery partner, is published on a second origin. After a consent card that names the origin, the exact request and which private fields will go with it, the runtime loads the courier's network into this browser and runs it on the caller's model. Only
delivery_postcodecrosses; name and email are withheld by the network'sallowrule. - Check other agentic sites before anyone trusts them. The trust inspector reads a site's manifest, networks and links.json, validates them against the spec, and lists the agents, the sites they call and their actions.
Everything works without an API key, using a deterministic in-browser demo model that calls the same tools through the same runtime. Visitors can switch to their own OpenAI-compatible router (OpenRouter, Mozilla Otari, OpenAI, Groq or local Ollama). The key stays in their browser and is sent only to that router.
The visitor's name, email and postcode are private context (sly_data). They never appear in a prompt. Only the site's booking code reads them.
The reusable part: Agentify Kit
agentify/: a dependency-free ES-module runtime and a<agentify-panel>web component with chat, consent and confirmation cards, an activity log, BYOK settings and private details. Add it withmountAgentify({ manifest, network }).- A site action API with JSON Schema input, effect classes (read, write, irreversible), runtime-owned confirmation, receipts, outcome verification and unknown-outcome handling.
- Demo playbooks, so any site can offer a free, deterministic demo of its agents to customers, judges and CI.
agentify-bridge/v1: an origin-checked postMessage bridge that shares read-only actions (catalog, quotes, slots) with partner sites, so this network stays useful when another site loads it.- Inspector (web page plus
node tools/inspect.mjs <url>), a CLI validator, and a starter generator that emits conforming manifest and network files for a new business.
How we built it
Plain HTML, CSS and JavaScript ES modules, with no framework and no build step, hosted on GitHub Pages. The network is authored once (tools/build-networks.py) and published as both resolved .network.json and .hocon. The runtime follows the MVP profile 0.3 rules:
- It validates the network before any model call: duplicate or missing agent references, invalid front agent, unresolved HOCON and unsupported coded tools.
- It runs the agent loop with streaming, tool calls, delegation, error propagation and bounded history.
- It loads peers by URL: site base →
agent-manifest.json→ exact network name → definition → validate → run locally. - It asks for consent before every third-party contact. Redirects to a new origin are treated as new destinations.
- Private context is deny-by-default across sites.
- It enforces limits on composition depth, invocations, remote calls, concurrency, steps and wall time. Cycles stop with a visible error, while calling the same agent again is allowed.
- It has an MCP Streamable HTTP client with consent before discovery and before each call.
- An observable activity log shows the router, agents, calls, consent decisions, private-context boundaries and receipts. Keys are never logged.
There are 48 automated tests (node --test) covering artifact conformance, every MVP interoperability check in section 6, pricing and calendar rules, the streaming router, the bridge and Markdown safety. They also check that the official Tidewhistle reference example passes our validator. CI runs them before each Pages deploy.
Challenges we ran into
- Demo mode without cheating. We wanted judges to try everything without a key, without a fake UI path. The answer was a scripted router behind the same interface as an LLM. It reads the request and chooses tool calls, and every price, slot and reference still comes from site code through the real runtime. The courier's demo agent even reads its rate card from its own published instructions.
- A second origin on a zero-server budget. Every GitHub Pages project under one account shares an origin. So the partner network is served from
raw.githubusercontent.com, a genuinely different origin with open CORS. It is allow-listed inpeer_policy, and the visitor approves it on each contact. - Honest outcomes. A write that times out is reported as "unknown", never retried, and the visitor is told to check the page. A successful write is verified against the request book before the agent says "done".
Accomplishments we're proud of
- A complete product, not a proof of concept: a believable shop, a manual flow and an agent flow that share one set of rules, plus phone layout and dark mode.
- Every MVP interoperability check is demonstrated in the browser and in tests.
- The kit is genuinely reusable: the generator plus
registerActionsgets a new business a conforming site quickly.
What we learned
The spec's split between public agent data, browser execution and pluggable inference fits small businesses unusually well. The owner pays nothing for inference by default, the customer can bring their own model, and the business logic stays in code the owner controls.
What's next
Cross-site writes through the owner's own window (the bridge extension), signed manifests, a WebLLM/Gemini Nano free-model option, and more starter templates (salon, bakery, repair shop).
Built With
- css3
- github
- github-actions
- html5
- javascript
- json-schema
- model-context-protocol
- neuro-san-hocon
- node-test
- open-agentic-web-spec
- openai-compatible-api
- web-components