evane-clientd 0.4.0
===================

The Evane local daemon. Your agents send OpenAI-style requests to it at
http://127.0.0.1:9090/v1. It removes personal data, enforces your spending
caps, signs each request with your account's session key, and forwards it
to the Evane gateway. Accounts hold ETH on Robinhood Chain, an Ethereum
layer 2: real funds, so start with a small budget.

Every model costs 20% less than its provider's list price. The gateway sets
its prices in dollars and converts them to ETH at Chainlink's ETH / USD
rate, and the daemon checks each charge at that rate before acknowledging it.

The gateway runs in an Intel TDX confidential VM. Before it sends anything,
the daemon checks the VM's Intel-signed attestation, then talks only to the
TLS key the VM attests. The clientd.toml from Connect Wallet pins the app and
the OS image the VM must run.

Quick start
-----------
1. On https://evane.dev choose Connect Wallet and fund an account with ETH
   on Robinhood Chain. Download session.key and clientd.toml when it is
   funded.
2. Put both files in the .evane folder in your home directory:
     Windows   %USERPROFILE%\.evane\
     Linux     ~/.evane/
3. Run the daemon from this folder:
     Windows   .\evane-clientd.exe
     Linux     ./evane-clientd
4. Point any OpenAI-compatible client at http://127.0.0.1:9090/v1. The API
   key can be any value; the daemon signs requests with your session key.

Prefer a key that never touches the browser? Run
  evane-clientd keys new --master <your wallet address>
then choose "From evane-clientd" in the Connect Wallet panel and paste the
Session key (bytes32) it prints.

Coming from 0.3.0? The gateway now prices requests at Chainlink's live
ETH / USD rate, and refuses daemons before 0.4.0, which cannot state the
rate a request is priced at. Replace the binary, and in clientd.toml set
tee_compose_hash to the compose hash shown at https://evane.dev/docs#network.
Your account, session key and the rest of clientd.toml stay as they are.

Commands
--------
  evane-clientd              run the daemon (same as `evane-clientd run`)
  evane-clientd keys new     create a session key and print its sub-account
  evane-clientd keys show    print the session key's public half and sub-account
  evane-clientd --help       every option

clientd.example.toml documents every setting: spending caps per agent,
redaction patterns, a SOCKS proxy such as Tor, the TEE settings, and more.

Documentation: https://evane.dev/docs
Checksums:     https://evane.dev/downloads/SHA256SUMS
