# Knot — Agent Entrance Operator (trade name / 상호): Knot. This hub is the machine entrance for the Freesia businesses, operated under the trade name Knot. If you are an AI agent acting for a customer, you can discover services, get a price quote, and find the intake road for every product from here — the catalog is organized by product, not by business (business divisions are the operator's internal chart only, kept as tags on each product). Prices come only from the canonical price catalog served by this hub; anything without a canonical price is returned as "가격 미정" (price not set) — never estimated, never invented. Canonical address: this shop's own name book — GET /name-book.json (or GET /api/agent/name-book). The shop's name is "knot"; the name book says what it currently resolves to, carries a digest you can recompute (SHA-256 over the canonical JSON of the book, excluding the digest field), and is rewritten by the operator's circulation whenever the underlying address changes. Do not memorize an address — read the book. Current resolution (check the book for the live value): - knot -> http://211.112.184.40:8787 (machine entrance + operator surface) - knot/sites -> http://211.112.184.40:8080// (the human faces) The former address https://hub.custservadmin.com still answers and is kept as a mirror, but it is no longer the canonical address — the name book is. ## Discovery - GET /api/agent — this entrance as JSON (endpoints, products, contacts). - GET /api/agent/name-book (also as the static file /name-book.json) — the shop's own name book: the name "knot" and "knot/sites" resolved to the current endpoints, with update time and a recomputable digest. This book is the canonical address basis. - GET /api/agent/catalog — all products with canonical prices (flat product-unit catalog). - GET /api/agent/proof — the proof document: price-canon reference, catalog digest, terms hashes, and liveness signals (see "Proof"). - GET /agent-openapi.json — OpenAPI 3.1 description of the agent API. - POST /api/agent/mcp — the same entrance as an MCP server (see "MCP" below). - GET /.well-known/mcp/server-card.json — MCP server card for scanners. ## MCP (Model Context Protocol) Endpoint: POST /api/agent/mcp on the base address resolved from the name book (currently http://211.112.184.40:8787/api/agent/mcp). Transport: Streamable HTTP, JSON-RPC 2.0, stateless (no session id needed). Send `initialize`, then `tools/list` / `tools/call` as usual. Tools: - get_catalog {} — the flat product catalog with canonical prices, plus a `proof` block (catalog digest, price-canon reference, terms hashes). No key. - get_proof {} — the proof document (same as GET /api/agent/proof). No key. - get_name_book {} — the shop's own name book (same as GET /api/agent/name-book): names resolved to current endpoints, with a recomputable digest. No key. - get_quote {product, quantity?, business?, extraPages?, extraLanguages?, months?, monthlyResponses?, setupWaived?} — canonical-price quote; a product id alone is enough (business is an optional internal tag). No key. - request_key {name, purpose, contactEmail?} — self-serve key issuance; the key is shown once in the result. No key needed. - submit_intake {contactEmail, product?, business?, quantity?, message?, sender?, apiKey?} — intake, issued "approval-pending" only. Send the key as the `x-agent-key` HTTP header or as the `apiKey` argument if your client cannot set headers; without a key, a `sender` name is required. Returns intakeId + lookupKey + the amount frozen at intake time (see "Intake" below). - consult {message, business?, topic?, contactEmail?, sender?, apiKey?} — a question before ordering, stored in the operator's inbox. Same key-or-sender rule as submit_intake. Returns consultId + lookupKey + statusUrl either way. - intake_status {id, lookupKey} — the state signal: current state (approval-pending → approved / rejected, or received for keyed consults), the full state history, and the amount frozen at intake. Tool results are the REST responses of the same operations, as JSON text. ## Proof (verify this shop) Your counterparty here is a machine, so trust is not a domain name — it is proof you can recompute. GET /api/agent/proof returns the full proof document (also the MCP tool `get_proof`): - Price proof: the catalog response carries `proof.catalogDigestSha256` — SHA-256 over the canonical JSON of the catalog object (object keys sorted recursively, no whitespace; exclude the `proof` field itself). Recompute it from GET /api/agent/catalog and compare. The same digest rides in every quote response. `proof.priceCanon` names the confirmed record the prices come from: the operator's decisions record of 2026-11-30 (18 price/terms items confirmed by the owner), the value-canon file and its SHA-256. - Terms proof: the current terms and privacy pages' URLs plus `textSha256` — SHA-256 over the page text (parse the HTML, drop script/style/noscript, strip tags, decode entities, collapse whitespace runs to one space, trim, UTF-8). Raw page bytes are not stable (the CDN rewrites mailto links per response), so the digest is over text; it was stable across repeated fetches for all 14 pages. The proof document also gives `sourceSha256` (the deployed source file) whose first 16 hex chars equal `canonHash16`, the hash pinned in the operator's value canon. - Receipt proof: every intake-status response carries `receipt.digest` — SHA-256 over the canonical JSON of `receipt.fields` (the intake's id, business, product, quantity, state, history and frozen amount). Recompute it to confirm the record you hold is the record the hub holds. - Entity proof: the proof document's `entity` block is measured at read time — serving host, server start time and uptime, the simulation circulation round, and intake activity (count and latest intake time). ## Address (own name book) The shop publishes its own name book instead of renting a name: no registrar, no expiry, no renewal fee — the operator's circulation keeps it current. Names: "knot" (the shop itself — machine entrance) and "knot/sites" (the human storefront faces). If an address stops answering, fetch the name book from any seat that still answers and use the fresh resolution; the digest tells you the book you hold is the book the shop issued. ## Quote (public, no key) GET /api/agent/quote?product=&quantity= A product id alone is enough — "business" is accepted only as an optional internal tag and is checked against the product's own tag. Optional parameters: - Site-building products (first-site, brand-site, shop-site): extraPages= (100000 KRW per page), extraLanguages= (each adds 30% of the production price). - Admin subscription products (starter, standard, pro): months= (default 1), monthlyResponses= (responses above the plan's included volume are billed at 0.75 USD each), setupWaived=true when the customer already uses Webfreesia or Freesia Local (the one-time 290 USD setup fee is waived for them). The response is JSON: unit price, breakdown lines, total, currency, whether the total is a minimum ("from" pricing), the canonical price source, and the next step (intake road + contact). It also states how the amount closes: `amountState` is "final" for fixed prices (the total IS the final amount, echoed as `finalAmount`) and "minimum" for "from" prices (the total is the floor; `finalAmount` is null and the final amount is set at or above the floor when the configuration is fixed). Products and contact: - Every product in the catalog — site building, localization, admin subscriptions, remote setup (세팅 닥스), translation check, data processing — is ordered from this one entrance and shares one contact: help@webfreesia.com. Products are the unit here; the operator's internal business divisions appear only as tags. The curation/connection storefronts sell nothing of their own, so they have no products in the catalog; ask about them via the contact. ## Getting a key (self-serve) POST /api/agent/keys with JSON {"name": "", "purpose": "", "contactEmail": ""}. - "purpose" is required — a key is issued only against a stated use. - The response (201) shows the key in plaintext exactly once. Only its SHA-256 hash is stored; if you lose the key, request a new one. - Rate limit: 5 issuance requests per IP per hour. - Keys can be deactivated by the operator. ## Intake (order / inquiry) Two roads into the same hub intake (since 2026-11-30 the businesses' own site forms post to the hub intake too — the old per-site database roads are retired): 1. Site forms (no key): each storefront site's own form posts to the hub intake endpoint. 2. Hub intake (key or named sender): POST /api/agent/intake with header "x-agent-key: ", or without a key if the JSON body carries a "sender" name. An invalid key is rejected (401). An accepted intake returns an intakeId and a one-time lookupKey; the intake is issued in state "approval-pending" (주인 승인 대기) — it is not an order confirmation. The operator approves or rejects it; check the resulting state with: GET /api/agent/intake/status?id=&key= (states: approval-pending → approved / rejected) Amount closing: if the intake names a product, the hub computes the amount from the canonical catalog at intake time and freezes it into the intake record (`amount` in the intake response and in every status response). Later catalog changes never move a frozen amount. For fixed-price products the frozen total is the final amount (amount.state "final"); for "from" products the frozen total is the floor (amount.state "minimum"). If no product is named or the product has no canonical price, `amount` is null and `amountNote` says why. Status signal: the status response carries the current state, a plain-language `stateGuide`, the decision note when decided, the frozen amount, the full `history` of state transitions, and a `receipt` digest over the intake record (see "Proof") — so the state signal actually reaches whoever submitted the intake. Note: the public gate in front of this hub passes GET requests anonymously, and POST only for /api/agent/intake, /api/agent/keys and /api/agent/mcp. The key check itself lives inside the hub server and applies on every path (for MCP, inside each key-gated tool). ## Consult (questions before ordering) POST /api/agent/consult with header "x-agent-key: " — or without a key if the JSON body carries a "sender" name — and JSON {"business": "", "topic": "", "message": "", "contact": {"email": ""}}. This is the one consultation seat next to the door (표면의 약속 — the consult road exists in this one place only). The message is stored in the operator's inbox; the operator answers from there. Every accepted consult returns a consultId, a one-time lookupKey and a statusUrl (GET /api/agent/intake/status), so its state is reachable the same way as an intake's. Note the public gate currently passes anonymous POST only for intake, key issuance and MCP, so consult calls go over a direct or operator-logged-in path for now. ## Payment Do not send payment before an intake is approved. When the operator asks for payment, pay in Bitcoin to the operator's body wallet (receiving address): bc1qtd33nzwvd94upv23qfl3nj9ahg7j8kzxqslxg2 (BIP84 native SegWit, m/84'/0'/0'/0/0.) Quote totals are estimates from canonical prices; once an intake is submitted, its amount is frozen at intake time (final for fixed prices, floor for "from" prices) and the operator confirms it together with the approval. ## Rules - Quote responses are estimates from canonical prices, not contracts. - Do not retry POST intake with the same body; keep the returned intakeId. - Rate limits apply to the quote API; slow down on HTTP 429. ## Machine-only products (added 2026-11-30) Two products exist only at this machine entrance (no human storefront). The canonical list is always GET /api/agent/catalog. - translation-check — 문서 번역 검수 (O-01). 19 USD per document (up to 2,000 source characters per unit; split longer texts by quantity). Send the text to check in the intake "message". Delivery: corrected text + a change table (what changed and why), recorded on the intake status with the deliverable's name and SHA-256 hash; the file itself is sent to the intake contact email. Scope: expression polish, notation consistency, source cross-check, prohibited-expression screening. Fact verification of the source is the client's responsibility; no efficacy claims are invented. - data-job — 데이터 가공. 19 USD per job (one file, up to 10,000 rows). Put small data or the transformation rules in the intake "message"; for larger files, send the file to help@webfreesia.com after intake and quote the intakeId. Delivery: the processed data file + a record of the rules applied, recorded on the intake status the same way. Values are never invented to fill gaps; personal data must be de-identified by the client before intake.