The pieces
Hermai has three pieces:- The CLI (hermai-cli, open source) runs on your machine. Contributors use it to inspect a site, write a schema, and push that schema to the registry.
-
The registry (
api.hermai.ai) stores and serves schemas that contributors have pushed. Callers query it at runtime to get endpoint names, parameters, URL templates, and response shapes. -
Hosted fetch (
POST /v1/fetch) executes a registered endpoint through Hermai and returns the result. Use it when you want Hermai to run the request.
What the CLI does
The CLI ships deterministic commands. Each subcommand does one job and emits JSON the next step can consume:hermai detectclassifies the site’s platform (Shopify, WordPress, Next.js, etc.) and detects anti-bot systems.hermai wellknownprobesrobots.txt, sitemaps, RSS feeds, and GraphQL endpoints.hermai probe --body | hermai extractpulls embedded data from a page. It recognizes 13 SSR/hydration patterns (__NEXT_DATA__,ytInitialData,__APOLLO_STATE__,SIGI_STATE, and more).hermai interceptlaunches a browser and captures real XHR traffic for dynamic features such as search, cart, and filters.hermai introspectfetches a GraphQL schema.hermai session bootstrapwarms a browser session for anti-bot sites.
hermai registry push. No LLM key or managed service is required.
What the platform does
The platform exposes both lookup and hosted execution:GET /v1/catalog/{domain}returns all endpoints and actions for a domain. This is the main runtime lookup endpoint. It requires an intent describing why you need it.GET /v1/schemasbrowses and searches the full registry.POST /v1/fetchexecutes a registered endpoint through Hermai. It requires an API key.POST /v1/schemaspushes a new schema. The registry validates it against the intent taxonomy and publishes it immediately.
Why this split?
Discovery is expensive (browser + LLM + time). Lookup is cheap (database read). By separating them:- Contributors do discovery once, locally, on their own machine
- Later callers reuse the schema instead of repeating discovery
- The registry keeps discovery separate from runtime execution
- No vendor lock-in because the CLI is open source (AGPL-3.0) and works offline