Skip to main content

Install

Installs ~/.local/bin/soma (change it with SOMA_INSTALL_DIR).
Run the same command again to update.

Chat session

Run soma alone in a terminal: it signs you in the first time, lets you pick a workspace, then answers your questions in one conversation.

Commands

-w <workspace> (a name or an id) works on any command; soma <command> --help gives details.

Documents

PDF, Word, PowerPoint, Excel, CSV, Markdown, text and images.

Options and environment

Exit codes: 0 ok, 1 failed, 2 bad usage, 3 sign-in needed.

Sign-in

soma login opens your browser on Soma’s sign-in page and receives the result on a local address (OAuth 2.1 with PKCE). The session is stored in ~/.config/soma/credentials.json (readable only by you) and renewed automatically. By default the CLI may also create workspaces and add documents; --read-only asks only for reading.