whiskers.git / crates / whiskers-gateway

For agents, on top of README.md, which they read first.

Notes for agents

  • The system prompt is not the whole prompt. Measured 2026-10-04: through a gateway that wraps a coding assistant a persona prompt still answered "How can I help you with some coding today?" at 3,873 input tokens, because Claude Code's own layer sits underneath. Do not rely on system alone to keep the conversation on topic; the guard on the way out is what holds the line.
  • No TLS feature on ureq. The gateway is plain http on a private network. Turning TLS on pulls a C crypto backend into the Android build.
  • The x-api-key header is a placeholder. The gateway ignores it. A real key never belongs in this crate.