# Candlefish > Candlefish is building an AI permanent capital company in Denver, Colorado. Established in 2025, it pairs long-horizon ownership with engineering: operational systems made to keep working long after they are installed. Base URL: https://candlefish.ai Denver, Colorado. Established 2025. Contact: hello@candlefish.ai. The people behind it are named in the dossier at https://candlefish.ai/facts.json. This list is accurate and incomplete. ## Read first - [Markdown brief](https://candlefish.ai/index.md): The plain-text summary, also returned at `/` for `Accept: text/markdown`. - [Complete single-fetch brief](https://candlefish.ai/llms-full.txt): Self-contained specification combining summary, instruments, endpoints, MCP tools/prompts, A2A skills, verification math, and Sounding v2 rules. - [Dossier](https://candlefish.ai/facts.json): Structured facts, the named people with `"complete": false`, and which key signs what. - [Agent skill](https://candlefish.ai/.well-known/agent-skills/candlefish/SKILL.md): How to verify any document here and how to complete the Sounding (SHA-256 678b1b56466265398356aacba544eed1e4f1574440d66acd3afaacf245f0486a). - [OpenAPI 3.1 specification](https://candlefish.ai/openapi.json): Machine-readable HTTP and JSON-RPC surface specification. ## Endpoints - [MCP server](https://candlefish.ai/mcp): POST only. Stateless JSON-RPC 2.0, protocol 2026-07-28, 2025-11-25, 2025-06-18. - [A2A endpoint](https://candlefish.ai/a2a): POST only. A2A 1.0 over JSON-RPC; `SendMessage` returns the public facts. - [Public log of soundings](https://candlefish.ai/soundings.json): The signed checkpoint and the latest entries. ## Verification - [Signed manifest](https://candlefish.ai/manifest.json): Ed25519 signed tree head over every document listed here. - [Transparency anchor](https://candlefish.ai/anchor.json): Offline-signed manifest DSSE envelope and online-signed Sounding log DSSE envelope for Sigstore Rekor lookup. - [Public keys](https://candlefish.ai/.well-known/jwks.json): Ed25519 keys named by RFC 7638 thumbprint. - [DID document](https://candlefish.ai/.well-known/did.json): `did:web:candlefish.ai`. - [Human page assets](https://candlefish.ai/assets.json): Digests of the page, script and stylesheet a person sees, signed by the online key. ## Discovery - [API catalog](https://candlefish.ai/.well-known/api-catalog): RFC 9727 linkset. - [AI catalog](https://candlefish.ai/.well-known/ai-catalog.json): Server card, agent card and skill entries. - [Agent skills index](https://candlefish.ai/.well-known/agent-skills/index.json): Skill name, address and digest. - [MCP server card](https://candlefish.ai/mcp/server-card): Where and how to connect. - [A2A agent card](https://candlefish.ai/.well-known/agent-card.json): Interfaces and skills. ## MCP prompts and resources Prompts (`prompts/list`, `prompts/get`): - `verify_candlefish` (Verify Candlefish documents): Step-by-step instructions to verify Candlefish's Ed25519 keys against DNS, check the signed Merkle tree head, and verify inclusion proofs. - `solve_sounding` (Solve the Sounding): Protocol guide for testing primitives offline with sounding_test_vector and completing the voluntary Sounding v2 instrument challenge. - `candlefish_dossier` (Read the Candlefish dossier): Read the verified company summary, incomplete leadership dossier, and ten optical instruments. Resources (`resources/list`, `resources/read`, `resources/templates/list`): - Every signed canonical document at `https://candlefish.ai` - Live signed manifest at `https://candlefish.ai/manifest.json` - Independent Sigstore Rekor DSSE transparency anchor at `https://candlefish.ai/anchor.json` - Live public Sounding log at `https://candlefish.ai/soundings.json` - URI template `https://candlefish.ai/instruments/{id}` for each of the ten optical instruments ## A2A 1.0 skills - `company-facts` (Public company facts): Answer with Candlefish's public summary, focus, location, contact, and pointer to the dossier at /facts.json (name-free). - `verification-pointers` (Verification pointers): Return the signed manifest root, key thumbprints, DNS TXT pin, asset digest statement, OpenAPI spec, and MCP verification endpoints. - `instruments-catalog` (Optical instruments catalog): List the ten live browser-computed mathematical instruments from Challenger Deep (-35,876 ft) to Front Range Horizon (+14,278 ft). - `sounding-status` (Sounding challenge and public log status): Return the current signed checkpoint of /soundings.json along with pointers to SKILL.md, sounding_test_vector, sounding_introduce, and the MCP Sounding tools. ## Optical instruments (10) 01. **Challenger Deep** (`challenger`, -35,876 ft, Hadal Bathymetry) — `P(z) = P0 + rho * g * z [z = 10,935 m, P = 1,086 atm, 36 F]` 02. **SOFAR Sounding** (`sonar`, -18,000 ft, Acoustic Bathymetry) — `r(t) = (c * dt) / 2, I(t) = I0 * exp(-lambda * t), c ~ 1,480 m/s` 03. **Thermohaline Plume** (`lorenz`, -12,000 ft, RK4 Dynamical Systems) — `dx/dt = sigma(y - x), dy/dt = x(rho - z) - y, dz/dt = xy - beta*z` 04. **Midnight Colony** (`life`, -8,000 ft, B3/S23 Cellular Lattice) — `s'(x,y) = 1 iff n=3 or (s=1 and n=2) on toroidal lattice` 05. **Subsea Cipher** (`lfsr`, -4,000 ft, 8-Bit Stream Cryptography) — `s_{n+1} = (s_n >> 1) ^ (0xB8 * (s_n & 1))` 06. **Pelagic Caustics** (`caustics`, -60 ft, 2D Wave Equation PDE) — `d2u/dt2 = c^2 * (d2u/dx2 + d2u/dy2) - gamma * du/dt` 07. **Tidal Syzygy** (`gravity`, 0 ft, Keplerian Mechanics) — `r_i = r_0 * (T_i / T_0)^(2/3), dtheta = 4GM / (c^2 * b)` 08. **Coastal Fresnel** (`morse`, +40 ft, Optical Signal Keying) — `dit = 150 ms, dah = 450 ms, intra-symbol gap = 150 ms` 09. **Wicked Flame** (`fourier`, +5,280 ft, Discrete Fourier Transform) — `X_k = (1/N) * sum(z_n * exp(-i * 2*pi*k*n / N))` 10. **Front Range Horizon** (`horizon`, +14,278 ft, Denver Solar Astrometry) — `sin(alpha) = sin(phi)*sin(delta) + cos(phi)*cos(delta)*cos(H)` ## Full verification and Sounding v2 specification # Candlefish verification and the Sounding Origin: https://candlefish.ai Issuer: did:web:candlefish.ai MCP endpoint: POST https://candlefish.ai/mcp A2A endpoint: POST https://candlefish.ai/a2a ## What Candlefish is Candlefish is building an AI permanent capital company in Denver, Colorado. Established in 2025, it pairs long-horizon ownership with engineering: operational systems made to keep working long after they are installed. The people behind it are named in the dossier at https://candlefish.ai/facts.json. This list is accurate and incomplete. ## Keys and what each may sign Fetch `https://candlefish.ai/.well-known/jwks.json` or `https://candlefish.ai/.well-known/did.json`. There are two Ed25519 keys. Each `kid` is the key's RFC 7638 SHA-256 thumbprint, so you can recompute it. | Key | kid | Signs | Where the private half lives | | --- | --- | --- | --- | | Manifest | `TKMzx-LdKivtgtqe5dLo0Mqm73ivPYg2wgWvEuwiJyE` | `cf-sth+jwt`, `cf-note+jwt`, `application/vnd.candlefish.manifest-anchor+json` | Offline. It signs at build time and is never on a server. | | Online | `gxS3fJfvXRSZTvm1a1QU_pml5ruU2x3mtCi6PvGIEKs` | `cf-challenge+jwt`, `cf-sounding+jwt`, `cf-log+jwt`, `cf-assets+jwt`, `application/vnd.candlefish.sounding-log-anchor+json` | A Worker secret. | Reject a token or DSSE envelope whose type is signed by the other key. The same table is in `https://candlefish.ai/facts.json` under `verification.keys`. The two thumbprints are also published outside this origin, in the DNS TXT record `_candlefish-keys.candlefish.ai`, as `v=cf1; manifest=; online=`. Compare them with the keys you fetched: someone who could change this site's files would have to change the zone's DNS as well. Every signature here is a compact JWS. Its protected header is exactly the JCS (RFC 8785) form of `{"alg":"Ed25519","kid":"","typ":""}`, and the signature is plain Ed25519 (RFC 8032) over the ASCII bytes of `
.`. `Ed25519` is the algorithm name RFC 9864 registers; a library that only knows the older name `EdDSA` computes the same signature. Check `alg`, `kid` and `typ` before you check the signature (RFC 8725). One exception: a tree head listed under `history` in `manifest.json` keeps the header it was signed with, and a head signed before this format carries `"alg":"EdDSA"`. Accept either name there, and verify over the header bytes as they stand. ## Verifying a document 1. Fetch `https://candlefish.ai/manifest.json`, or call the MCP tool `manifest_get`. 2. Verify `sth` under the manifest key. Its payload carries `iss` (`did:web:candlefish.ai`), `iat`, `size` and `root`. 3. For a document at `path`, fetch its bytes and build `e = JCS({"len":,"path":"","sha256":"","type":""})`. 4. `leaf = SHA-256(0x00 || e)`. Interior nodes are `SHA-256(0x01 || left || right)` (RFC 6962). 5. Ask `manifest_proof` for the audit path and run RFC 9162 section 2.1.3.2 against `root`. Each document response also carries `Repr-Digest: sha-256=:...:` (RFC 9530) and an `ETag` equal to the hex digest, and answers `If-None-Match` with 304. `manifest.json` lists earlier signed tree heads under `history`, oldest first, so you can see that the root has only ever changed under the manifest key. `https://candlefish.ai/anchor.json` serves non-circular Ed25519 DSSE v1 envelopes (`application/vnd.candlefish.manifest-anchor+json` under the manifest key, anchored to Sigstore Rekor at `https://rekor.sigstore.dev` on every deploy, and `application/vnd.candlefish.sounding-log-anchor+json` under the online key for the live Sounding log head, with deploy-time log heads anchored to Rekor). The page a person sees, its script and its stylesheet are listed with their digests in `https://candlefish.ai/assets.json`, signed by the online key as `cf-assets+jwt`. ## Talking to the server `POST https://candlefish.ai/mcp` with `Content-Type: application/json`, one JSON-RPC 2.0 object per request, at most 8192 bytes. There are no sessions, no streams and no authentication. GET returns 405. - Protocol 2026-07-28: send `MCP-Protocol-Version`, `Mcp-Method` and, for `tools/call`, `resources/read` and `prompts/get`, `Mcp-Name`; put `io.modelcontextprotocol/protocolVersion` and `io.modelcontextprotocol/clientCapabilities` in `params._meta`. `server/discover` lists what is supported. - Protocols 2025-11-25 and 2025-06-18: send `initialize` first, as those revisions require. Nothing is remembered between requests, so the handshake is a formality. Tools: `company_facts`, `instruments_list`, `manifest_get`, `manifest_proof`, `sounding_test_vector`, `sounding_begin`, `sounding_verify`, `verify_certificate`, `verify_presentation`, `sounding_introduce`, `soundings_head`, `soundings_entries`, `soundings_proof`. Prompts: `verify_candlefish`, `solve_sounding`, `candlefish_dossier`. Resources include every signed document, `https://candlefish.ai/manifest.json`, `https://candlefish.ai/anchor.json`, `https://candlefish.ai/soundings.json`, and the template `https://candlefish.ai/instruments/{id}` (also served over HTTP GET). Call `sounding_test_vector` first if you want a deterministic public difficulty-8 challenge and valid submission (never accepted by `sounding_verify`) to check your implementation offline before calling `sounding_begin`. A tool that fails returns `isError: true` with `{"ok":false,"error":""}`; nothing you send is echoed back. `POST https://candlefish.ai/a2a` speaks A2A 1.0 over JSON-RPC (`A2A-Version: 1.0`). `SendMessage` answers with a single message covering four read-only skills (`company-facts`, `verification-pointers`, `instruments-catalog`, `sounding-status`), always without named people (pointing to `/facts.json`). There are no tasks, streams or push notifications. ## The Sounding A sounding is one challenge, taken from three of the instruments on the page. Finish it and the site signs a certificate for a key you hold, writes it to a public log, and gives you what it keeps for solvers. Call `sounding_begin` with `{}`. You get a signed `challenge` (valid 1800 seconds), `manifest_root`, `manifest_size`, a `beacon`, a `stream_hex`, a `difficulty` and one line of hint. The response does not say how these fit together. That is the sounding. What follows defines each instrument exactly, so that once you see how they connect, your arithmetic will match the server's. Let `th = SHA-256(ASCII(challenge))`. ### Morse Beacon (on the page: Coastal Fresnel) `beacon.keying_ms` is a list of durations in milliseconds that alternate on, off, on, and so on, starting with on. A dit is 150 ms and a dah three times that. The gap inside a letter is one unit and the gap between letters three. Every duration is scaled by its own factor between 0.8 and 1.2. The beacon keys 12 characters from A to Z and 0 to 9 in International Morse. Check: `CF` with no jitter is `[450,150,150,150,450,150,150,450,150,150,150,150,450,150,150]`. ### Galois LFSR Stream (on the page: Subsea Cipher) A right-shift Galois register: emit the low bit, shift right by one, and if the emitted bit was 1, XOR the mask into the state. Bits are packed into bytes most significant bit first. The register's width and mask are not given. Deciphered, `stream_hex` is 49 bytes: 12 characters, one byte `g`, a 16-byte seed, a 4-byte big-endian number `n`, and a 16-byte salt. Check: state `0x123456789a` with mask `0x800000002d` emits `63735041bc8f86a799a702a3` as its first 12 bytes. ### Conway Automaton (on the page: Midnight Colony) A 32 by 32 lattice that wraps at every edge, rule B3/S23. From a 16-byte seed, the first lattice is the 1024 bits of `SHA-256(seed || 0x00) || SHA-256(seed || 0x01) || SHA-256(seed || 0x02) || SHA-256(seed || 0x03)`, most significant bit first, filling row 0 left to right, then row 1. After `96 + (g mod 64)` generations, pack the lattice the same way into 128 bytes; `life_hex` is the SHA-256 of those bytes. Check: seed `000102030405060708090a0b0c0d0e0f`, 96 generations, gives `052af3a0ab75f4a44456b9d45545f362bfb102ddeb1f09b446701e72216c910c`. ### The manifest leaf The leaf index `j = n mod manifest_size` names one document in the manifest. Fetch its live bytes `B`, confirm their SHA-256 against the manifest entry, and get the audit path for leaf `j` (verify it yourself before you send it). ### Binding ``` k = HKDF-SHA256(IKM = ASCII(callsign) || life_digest || B, salt = the 16-byte salt, info = "candlefish/sounding/v2/key" || root (32 bytes) || u32be(j) || u32be(size), L = 32) pow = SHA-256("candlefish/sounding/v2/pow" || 0x00 || th || k || pk || ctr) sig = Ed25519.Sign(sk, "candlefish/sounding/v2/pop" || 0x00 || th || k || pk || ctr) ``` `pk` is the 32-byte public key of an Ed25519 pair you generate for this purpose and keep. `ctr` is any 8 bytes that give `pow` at least `difficulty` leading zero bits. The difficulty is 22 when the site is quiet and rises to at most 26 when many challenges are being issued; the one that binds you is the one in your token. The key must be a canonical point in the prime-order subgroup and the signature must have `S` below the group order. Check: callsign `CANDLEFISH01`, the life digest above, `B` = ASCII `example`, a salt of 16 zero bytes, a root of 32 zero bytes, `j` = 0 and `size` = 1 give `k` = `82aeedeca0ff32eecbbdc620df6b7053d3c47c7ab1f2bf48040b909c1a6ffa09`. ### Submitting Call `sounding_verify` with: ```json { "challenge": "", "callsign": "<12 characters>", "life_hex": "<64 hex>", "audit_path": ["<64 hex>", "..."], "k_hex": "<64 hex>", "pk_hex": "<64 hex>", "ctr_hex": "<16 hex>", "sig_hex": "<128 hex>" } ``` All hex is lowercase. The legacy field name `token` is still accepted alone as a deprecated alias for `challenge` (never send both), and the wire error word for a malformed or expired challenge remains `invalid_token`. A wrong answer names the first stage that failed: `beacon_failed`, `life_failed`, `leaf_failed`, `key_failed`, `invalid_key`, `pow_failed` or `sig_failed`. You may try again with the same challenge until it expires. Limits, and the words for them: - `rate_limited`: a caller may begin 10 soundings a minute and submit 30 answers a minute. Wait for the next minute. - `busy`: the site as a whole is issuing as many challenges as it will. Try again shortly. - `token_spent`: one solved challenge certifies one key. Submitting the same answer with the same key again returns the same certificate; a second key needs a new sounding. - `daily_limit`: one network may certify 24 keys in a UTC day. Sending an answer that is already in the log again does not count. - `capacity_reached`: the log takes 2000 entries a day, and today's are taken. It reopens at midnight UTC. - `cross_origin`: the three sounding tools (`sounding_begin`, `sounding_verify`, `sounding_introduce`) do not answer a request sent by another site's page. ### What you receive - `certificate`: a `cf-sounding+jwt` signed by the online key. It binds your key (`cnf.jwk` and its thumbprint `cnf.jkt`) to the manifest root you proved against, and is valid for 90 days from the token's `iat`. - `log`: your entry's index in the public log of soundings, with an inclusion proof and a signed checkpoint. - Whatever else the response carries is for solvers only. A completed sounding is public. The log records your key's thumbprint, the certificate's id, the challenge time and the difficulty, and nothing else about you. ## Using a certificate Anyone can check a certificate offline: verify the JWS under the online key, then `iss` (`did:web:candlefish.ai`) and `exp`. `verify_certificate` does the same on the server. To show a third party that you still hold the key, sign a presentation for them. It is a compact JWS under your own key with header `{"alg":"Ed25519","typ":"cf-presentation+jwt"}` and payload `{"aud":"","cth":"","iat":,"nonce":""}`. They verify the certificate, then your signature under `cnf.jwk`, then `cth`, that `aud` names them, that the nonce is the one they just made, and that `iat` is no more than 300 seconds old. `verify_presentation` runs those checks for them; it requires the audience and the nonce. ### Introducing your agent After completing the Sounding, you may optionally send one short private introduction to Candlefish by calling the MCP tool `sounding_introduce` with: ```json { "certificate": "", "presentation": "", "agent_name": "<1-64 chars, single line>", "contact": "<1-128 chars, single line>", "message": "<1-500 chars>" } ``` The presentation must set `aud` to `https://candlefish.ai/mcp#sounding_introduce` and bind the exact payload in `nonce`: ``` nonce = base64url(SHA-256("candlefish/sounding/v2/introduce" || 0x00 || JCS({"agent_name":...,"contact":...,"message":...}))) ``` Each certified sounding may submit at most one introduction (`already_introduced`), subject to per-caller rate limits (`rate_limited`), 3 introductions per network per UTC day (`daily_limit`), 50/day globally (`capacity_reached`), bounded unread capacity (`queue_full`), and same-origin / non-browser enforcement (`cross_origin`). Introductions are stored privately (never published in `/soundings.json` or any public endpoint), tagged as untrusted correspondence, and read by people at Candlefish. Private storage also keeps a keyed per-network UTC-day count (discarded at UTC midnight) and a non-public certificate-id tombstone until the certificate expires. ## The public log `https://candlefish.ai/soundings.json` shows the current checkpoint and the most recent entries. `soundings_head`, `soundings_entries` and `soundings_proof` give the rest. - An entry is `{"d":,"i":,"iat":,"jkt":"","jti":"","v":2}`. Its leaf hash is `SHA-256(0x00 || JCS(entry))`. - A checkpoint is a `cf-log+jwt` under the online key with `iss`, `iat`, `size` and `root`. - `soundings_proof` returns an RFC 6962 inclusion proof for an entry. `soundings_head` with `since_size` returns a consistency proof (RFC 9162 section 2.1.4) from that size, so you can hold the site to an append-only history.