Skip to main content

Install

The package installs the okra binary. For one-off usage:

Authenticate

Upload a PDF

Ask a question

Extract structured data

Read markdown

Machine and agent output

When stdout is not a TTY, most okra commands automatically emit a structured JSON envelope. You can also force this in an interactive terminal with --json:
The envelope returns a uniform success/failure shape with ok, result, cost, citations, and next_actions. See the CLI Reference for the full envelope contract, stable error codes, and agent stop-gate rules.

What’s next

Extract

Structured extraction flags and examples.

Chat

Ask questions against a processed document.

Collections

Query across multiple documents.

Reference

Auth, environment variables, and global flags.