Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Client Architecture

  • foks agent running in the background

    • holds state, including secret key material for the "active" profile
    • listening on a UNIX socket
      • macOS: ${HOME}/Library/Caches/foks/foks.sock
      • Linux: ${XDG_RUNTIME_DIR:-${HOME}/.config}/foks/foks.sock
  • foks commands run in the foreground

    • communicates with agent using UNIX socket
    • ❓ protocol over that UNIX socket
    • HTTP protocol proposed ⇒ #180

Generated 2025-08-10 05:59:36
d932e5d 2025-08-10 05:59:10 +0000