Skip to content

v0.3.0 · private AI

Choose a tag to compare

@harnessagent-dev harnessagent-dev released this 30 Nov 18:53
· 2 commits to main since this release
b2eb94d

Private AI. Same contract, nothing redeployed.

  • Ask AI models that run in a TEE (Phala confidential AI). Prompts are end-to-end encrypted to the attested enclave key and answers come back encrypted, so the gateway in between cannot read either.
  • Every answer's signed receipt is checked: keyset digest, ed25519 signature, request and response hashes, verified TEE upstream.
  • Paid from a Harness pouch: credit is bought with a pouch payment to the gateway (memo = sha256 of the agent's token). No wallet or private key on the server.
  • MCP: harness_ask, harness_ai_topup, harness_ai_credit. CLI: harness token.
  • Gateway: one-file Cloudflare Worker, gateway/worker.js.
  • Tests: E2EE against the spec's official vectors (10), gateway plus a real encrypted call to the enclave (15), MCP (8).

Details and what is and is not proven: docs/private-ai.md