Skip to content

docs(python-cli): add Igbo quickstart guide and discovery links (#13905) - #13906

Merged
kodjima33 merged 3 commits into
BasedHardware:mainfrom
Abhist17:docs/cli-quickstart-ig
Sep 28, 2026
Merged

kodjima33 merged 3 commits into
BasedHardware:mainfrom
Abhist17:docs/cli-quickstart-ig

Conversation

@Abhist17

@Abhist17 Abhist17 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #13905

What changed and why

Adds an idiomatic Igbo (ig) quickstart guide for omi-cli (sdks/python-cli/examples/quickstart.ig.md) and updates discovery links in sdks/python-cli/README.md and sdks/python-cli/examples/README.md. Same structure as the merged es/ja/ru/tr/bg guides; commands, flags and program messages stay in English, only prose is translated.

Content covered:

  • Disambiguation: omi-cli on PyPI vs omi command on $PATH.
  • Isolated installation via pipx (recommended) and virtual environment pip.
  • Authentication: interactive omi auth login, browser OAuth (Google default, --provider apple), developer API key with omi_dev_* prefix, OMI_API_KEY documented as applying only when the active profile has no stored key, offline auth status vs live auth whoami, auth refresh qualified as OAuth-only (API-key profiles get "Nothing to refresh", exit 1), and auth logout / unset OMI_API_KEY.
  • Core command coverage with exact CLI options: memories, conversations, action items, goals (including goal progress <id> <value>).
  • Global --json placement rule, --limit/--offset pagination, clean file redirection.
  • Exit-code table (0–5) mirroring omi_cli/errors.py; row 1 scoped to omi-cli's own validation errors and Click parse errors (unknown flag, missing argument) attributed to exit 2.
  • Bash/Zsh and PowerShell automation examples with $? / $LASTEXITCODE checks.
  • Local Desktop API (omi local status, search-screen, port 47778, OMI_LOCAL_API_URL / OMI_LOCAL_TOKEN, omi local configure).
  • Profiles (--profile > OMI_PROFILE > default) and ~/.omi/config.toml.
  • Security guidelines: never commit keys, chmod 700 ~/.omi, session cleanup.

Product invariants affected

none

How it was verified

  • Every omi … line in the guide (34 commands) was checked mechanically against the CLI installed from this checkout (pip install -e sdks/python-cli): each subcommand path must resolve via omi <path> --help and every flag on the line must appear in that help text. 0 problems. The same checker passes the merged guides and fails on an injected unknown flag / unknown command.
  • Exit-code claims probed on the installed CLI: omi --nope → exit 2 (Click usage error); omi_cli/errors.py constants 0–5 match the table; omi auth refresh on an API-key profile raises UsageError("Nothing to refresh") → exit 1 (omi_cli/commands/auth.py); OMI_API_KEY is applied only when profile.api_key is unset (omi_cli/main.py, get_profile).
  • git diff --check clean; docs-only, no runtime change.
  • Could not exercise a live Omi account; the guide's read-only examples mirror the English README.

Tests

No test change: documentation-only addition with no code path to cover.

Failure class (fixes)

Failure-Class: none

Bounty Payout Destination (PayPal): [email protected]

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

You’re at about 95% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact [email protected].

Re-trigger cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @Abhist17 — nice addition, and the verification notes in the description are unusually thorough.

I checked the guide against the CLI source at this PR's head and the technical content lines up:

  • sdks/python-cli/examples/quickstart.ig.md — every distinct command form in the guide matches the implementation: the exit-code table mirrors omi_cli/errors.py exactly (0–5, including the subtleties that Click's own parse errors exit 2 while omi-cli's own validation exits 1, and that auth refresh on an API-key profile exits 1 with "Nothing to refresh"); --browser/--api-key mutual exclusion, the omi_dev_* key prefix, OMI_API_KEY applying only when the active profile has no stored key, --json as a global-before-subcommand flag, --limit/--offset on the list verbs, goal progress <id> <value>, action-item list --open, conversation get --include-transcript, local search-screen --days/--app, local configure --url/--token, OMI_LOCAL_API_URL/OMI_LOCAL_TOKEN, and the --profile > OMI_PROFILE > default precedence with ~/.omi/config.toml storage all check out. Port 47778 matches the Desktop local API server. All links point to official Omi properties.
  • sdks/python-cli/README.md — the Igbo entry is correctly appended to the localized-guides line and the target file exists.
  • sdks/python-cli/examples/README.md — the new bullet matches the existing list format.

Two non-blocking notes:

  1. Since this is agent-facing documentation, I also re-checked it for behavioral drift: it follows the same structure as the merged es/ja/ru/tr/bg/mn guides, keeps commands and program messages in English, and introduces no new instructions to tools or agents — safe from that angle.
  2. Pre-existing gap, not for this PR: quickstart.kok.md and quickstart.sa.md exist in examples/ but aren't in either discovery list — could be a nice tiny follow-up for anyone.

The one thing automation can't verify is idiomatic Igbo quality, so I've added the docs-accuracy label just to invite a fluent-speaker spot check — the technical content itself is verified. Leaving for human maintainer sign-off before merge.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level added positive-signal Automation verified a genuine fix/quality contribution docs-accuracy Documentation or committed reports need accuracy fixes docs-tooling Layer: Documentation, examples, dev tools labels Sep 14, 2026

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks — approving, not merging. Same shared template as sibling language guides in this batch; several of those were confirmed to overgeneralize --offset pagination to omi goal list (which doesn't support it, only --limit/--include-inactive) — please double-check this guide for the same claim and scope it if present.

@Abhist17
Abhist17 force-pushed the docs/cli-quickstart-ig branch from a7de6aa to e993cf4 Compare September 15, 2026 15:11
@Abhist17

Copy link
Copy Markdown
Contributor Author

Checking in since this passed review yesterday — anything else needed before it goes in?

@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up on @kodjima33's approval question, and an answer to @Abhist17's ping.

Rebase check: the push after approval was a content-preserving rebase onto main — I diffed all three PR files between the approved commit (a7de6aaf) and the current head (e993cf4): sdks/python-cli/examples/quickstart.ig.md and sdks/python-cli/README.md are byte-identical; sdks/python-cli/examples/README.md differs only by two bullets main added in the meantime (conversations_markdown.md, quickstart.ca.md). The approval still covers this content.

To kodjima33's question — yes, the same overgeneralization is present, but only in the framing sentence:

  • sdks/python-cli/examples/quickstart.ig.md line 182 says "Iwu list na-akwado --limit na --offset" ("the list command supports --limit and --offset") as a blanket claim about all list verbs. omi goal list supports only --limit and --include-inactive (omi_cli/commands/goal.py — list_goals has no --offset option), so omi goal list --offset 50 would fail with Click's unknown-option exit 2.
  • Every concrete example in the guide correctly uses memory list / conversation list (both do support --offset), so no example is wrong — scoping that one sentence (e.g. "the list commands support --limit; memory, conversation and action-item additionally support --offset") would fully resolve it. One-line fix; same class of issue as the sibling guides, just milder.

I also want to correct my earlier automated comment on this PR: it said "--limit/--offset on the list verbs" all check out — that was imprecise for the same reason. The rest of that verification holds; I re-confirmed at the new head that the exit-code table matches omi_cli/errors.py exactly (0–5, Click parse errors exit 2, auth refresh on an API-key profile exits 1 with "Nothing to refresh"), goal progress <id> <value>, goal create --type/--target/--unit validation, conversation get --include-transcript, local configure --url/--token and search-screen --days/--app, OMI_LOCAL_API_URL/OMI_LOCAL_TOKEN, and the --profile > OMI_PROFILE > default precedence.

On the other two files: sdks/python-cli/README.md appends the Igbo link to the localized-guides line correctly; sdks/python-cli/examples/README.md matches the existing bullet format.

Agent-facing note: this is explicitly agent-oriented documentation (the intro addresses autonomous AI agents). It introduces no new instructions to tools or agents beyond what the English and merged sibling guides already say, and keeps commands/program messages in English, so behavioral drift risk is low — the pagination sentence above is the one place an agent could be misled into a command form that fails (harmlessly, with exit 2).

For @Abhist17: from automation's side nothing else is blocking — the docs-accuracy label now tracks just that one sentence plus the Igbo-language spot check automation can't do. A fluent maintainer should glance at the prose; the technical content is verified against the CLI source at this head.


by AI on behalf of David

…dHardware#13905)

Rebuilt on current main; the primary API-key example now leads with
OMI_API_KEY, with the existing shell-history caveat kept alongside
the inline --api-key form.
@Abhist17
Abhist17 force-pushed the docs/cli-quickstart-ig branch from e993cf4 to f9d718f Compare September 17, 2026 07:47
@Git-on-my-level

Copy link
Copy Markdown
Member

Rebase check on today's push (e993cf4 → f9d718f6): the branch was rebased onto a newer main and squashed, so I re-diffed this PR's three files between the two heads.

  • sdks/python-cli/examples/quickstart.ig.md — one substantive delta, and it's a good one: a new note warning against passing --api-key as a command-line argument on shared servers (recommending interactive entry or OMI_API_KEY instead), with the example moved below it. Verified against omi_cli/commands/auth.py: --api-key exists, is mutually exclusive with --browser, and the env-var path is real. Everything else in the guide is byte-identical to the last-reviewed head.
  • sdks/python-cli/examples/README.md and sdks/python-cli/README.md — changed only by main-side additions picked up in the rebase (the fr/de/pt/it/yue/doi/ne/ky and other new sibling guides); the Igbo entries are intact and correctly placed in both.

Also re-verified against the CLI source at the new head: the exit-code table still mirrors omi_cli/errors.py exactly (0–5), and goal list still supports only --limit/--include-inactive while the memory/conversation/action-item lists support --offset.

Still outstanding from the earlier review: the pagination sentence at line 186 (“Iwu list na-akwado --limit na --offset”) is still the blanket version — the one scoping @kodjima33's approval asked for. Every concrete example in the guide is already correct, so it remains a one-line wording fix. That plus a fluent-speaker glance at the Igbo prose is everything left from automation's side; nothing else blocking.

Agent-facing note: this guide explicitly addresses autonomous agents. The new shared-server warning nudges agent readers toward OMI_API_KEY over argv keys — accurate and safety-positive. The only behavioral imprecision left is the --offset sentence, which could lead an agent to try omi goal list --offset 50 (fails harmlessly with exit 2).


by AI on behalf of David

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Igbo quickstart, new file (no existing Igbo doc on main); commands verified accurate. This is the winner of the Igbo content vs. #13986 (which duplicates already-merged Hausa/Yoruba content). Approve-only, translation unverifiable.

@Abhist17

Copy link
Copy Markdown
Contributor Author

Merged current main into the branch (6456fe72) to clear the README conflicts — diff against main is now exactly quickstart.ig.md + the two link lines. Thanks for the approval.

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Current head is a trivial merge-sync (re-sync README links) on top of the previously-verified Igbo guide; content unchanged and accurate. Approve-only (UNKNOWN merge state).

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Docs-correctness gate passed: verified exit-code table, auth refresh 'Nothing to refresh'->exit 1, and OMI_API_KEY precedence against current sdks/python-cli source; Igbo prose mirrors already-merged es/ja/ru/tr/bg guide structure. Attempting merge (docs bypass CI-pending).

@kodjima33
kodjima33 merged commit cb9364d into BasedHardware:main Sep 28, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-accuracy Documentation or committed reports need accuracy fixes docs-tooling Layer: Documentation, examples, dev tools positive-signal Automation verified a genuine fix/quality contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bounty proposal] Igbo quickstart for omi-cli ($25 proposed)

3 participants