Skip to content

docs: add comprehensive documentation#106

Merged
murrayju merged 2 commits intomainfrom
ox/add-repo-docs
Mar 16, 2026
Merged

docs: add comprehensive documentation#106
murrayju merged 2 commits intomainfrom
ox/add-repo-docs

Conversation

@murrayju
Copy link
Member

Summary

  • Add structured docs/ folder with 9 documentation pages covering all user-facing features
  • Trim README.md from 433 to 100 lines, replacing detailed sections with a documentation table linking to dedicated pages
  • Update AGENTS.md with instructions for keeping docs up to date when making user-facing changes

Documentation pages

Page Description
getting-started.md Installation, first run, config wizard, shell completions
usage.md Core invocation modes, agent modes, flag compatibility
workflow.md Recommended async PR workflow (submit → review → resume → merge)
sessions.md Session lifecycle, attach, resume, logs, cleanup
configuration.md Two-level config, all keys with types/defaults, .env files
sandbox-providers.md Docker, Cloud, mount mode, port forwarding, credential sync
agents.md Agent selection, models, authentication, CLI pass-through
tui.md All views, keyboard shortcuts, command palette, slash commands, 33 themes
cli-reference.md Complete reference for every command, subcommand, and flag

VHS tape files for screenshots

Includes 5 VHS .tape files under docs/tapes/ for generating GIF screenshots of the TUI (prompt screen, sessions list, slash commands, task start, theme picker). These require vhs + Chromium to run — see docs/tapes/README.md for instructions. Generated GIFs go in docs/assets/.

AGENTS.md update

Added a "Documentation" section listing which docs pages to update for different types of user-facing changes, so agents keep docs in sync with code.

Design decisions

  • No duplication: Each concept is explained in one place and cross-linked from others
  • Consistent terminology: Standardized on "agent mode" (matching the --agent-mode CLI flag)
  • Every page has "Next Steps": 3-4 links to related pages for discoverability
  • README stays useful: Quick start, installation, and feature list remain in README for GitHub visitors

Add structured docs/ folder with 9 documentation pages covering
getting started, usage, async PR workflow, session management,
configuration, sandbox providers, agents, TUI guide, and CLI
reference. Trim README to a high-level overview with links to
docs pages.

Include VHS tape files for generating TUI screenshots, and update
AGENTS.md with instructions for keeping docs up to date when
making user-facing changes.
Copilot AI review requested due to automatic review settings March 16, 2026 18:12
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Ox Agent seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a structured docs/ section to host comprehensive end-user documentation and reduces the main README.md to a shorter entry point that links into those docs, plus adds tooling (docs/tapes/) for generating TUI GIFs and guidance in AGENTS.md to keep docs updated alongside user-facing changes.

Changes:

  • Introduces multiple new documentation pages under docs/ (usage, workflow, sessions, configuration, providers, agents, TUI, CLI reference, getting started).
  • Adds VHS tape files + generator script for producing documentation GIFs into docs/assets/.
  • Updates README.md to be shorter and link to the new docs, and updates AGENTS.md with documentation update guidance.

Reviewed changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
docs/getting-started.md New installation + first-run + shell completions guide
docs/usage.md New guide for invocation modes, agent modes, and flag compatibility
docs/workflow.md New recommended async PR workflow documentation
docs/sessions.md New session lifecycle and management documentation
docs/configuration.md New config reference (files, keys, env vars)
docs/sandbox-providers.md New Docker/Cloud provider, mount mode, port forwarding documentation
docs/agents.md New agent selection/auth/model documentation
docs/tui.md New TUI views/shortcuts/slash commands/themes documentation
docs/cli-reference.md New CLI reference for commands/flags/options
docs/tapes/prompt-screen.tape VHS tape to capture prompt screen GIF
docs/tapes/sessions-list.tape VHS tape to capture sessions list GIF
docs/tapes/slash-commands.tape VHS tape to capture slash command popover GIF
docs/tapes/start-task.tape VHS tape to capture CLI follow-mode task start GIF
docs/tapes/theme-picker.tape VHS tape to capture theme picker GIF
docs/tapes/generate.sh Script to run all tapes and emit GIFs into docs/assets
docs/tapes/README.md Instructions/prereqs for generating GIF assets from tapes
docs/assets/.gitkeep Keeps docs/assets directory present in git
README.md Trims README content and adds table linking to new docs
AGENTS.md Adds “Documentation” section mapping code changes to doc pages to update

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +46 to +53
| Column | Description |
|--------|-------------|
| Status | Color-coded icon (running, completed, failed, stopped) |
| Provider | `D` for Docker, `C` for Cloud |
| Name | Session name (derived from the generated branch) |
| Status | Human-readable status text |
| CPU | Current CPU usage (Docker sessions only) |
| Memory | Current memory usage (Docker sessions only) |
Comment on lines +65 to +70
**Options:**

| Flag | Description |
|------|-------------|
| `-o, --output <format>` | Output format: `table` (default), `json` |


| Flag | Description |
|------|-------------|
| `-a, --all` | Remove all containers, including running |
docs/workflow.md Outdated
- PR links (once the agent creates one)
- Which agent and model are being used

Ox sends a **desktop notification** when an async session completes, so you don't need to keep checking.

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| `themeName` | `string` | `opencode` | TUI color theme. See [Themes](tui.md#themes) for the full list. |
Set TypingSpeed 40ms

# Show the basic command
Type `ox -f "Fix the failing unit tests in the auth module"`
docs/sessions.md Outdated
ox sessions -o tui
```

`ox session ps`, `ox session list`, and `ox session ls` are all aliases for `ox sessions`.

### `ox sessions`

List sessions. Aliases: `ox session ps`, `ox session list`, `ox session ls`.
docs/tui.md Outdated
Comment on lines +176 to +183
| aura | ayu | carbonfox | catppuccin-frappe |
| catppuccin-macchiato | catppuccin-mocha | cobalt2 | cursor |
| dracula | everforest | flexoki | github |
| gruvbox | kanagawa | lucent-orng | material |
| matrix | mercury | monokai | nightowl |
| nord | one-dark | opencode | orng |
| osaka-jade | palenight | rosepine | solarized |
| synthwave84 | tokyonight | vercel | vesper |
Comment on lines -76 to -82
### Recommended Terminal

While any terminal should work, we recommend [Ghostty](https://ghostty.org/) for the best TUI experience:

```bash
brew install --cask ghostty
```
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to keep this (in some form) in the main README. The default terminal's experience is unfortunately poor, and we need to make it clear that installing a better terminal is highly recommended.

docs/agents.md Outdated
Comment on lines +107 to +108
opencode: sonnet
codex: o3
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are not real models. Provide real values like

Suggested change
opencode: sonnet
codex: o3
opencode: anthropic/claude-sonnet-4-6
codex: gpt-5.4

- Rename duplicate 'Status' column to 'Icon' in sessions list table
- Add yaml to session info output formats in CLI reference
- Add --force flag to session clean in CLI reference
- Add best-effort caveat to desktop notifications
- Correct themeName default (truecolor-dependent: opencode or aura)
- Fix backtick-quoted Type command in start-task.tape
- Reword session listing commands as equivalent commands, not aliases
- Fix theme list: catppuccin-mocha -> catppuccin
- Restore recommended terminal section to README
- Use real model values in agentModels config example
@murrayju murrayju merged commit 543e8f2 into main Mar 16, 2026
1 of 2 checks passed
@murrayju murrayju deleted the ox/add-repo-docs branch March 16, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants