Skip to content

docs(cli): add Tajik quickstart guide - #14248

Closed
cuentapraces07-ops wants to merge 1 commit into
BasedHardware:mainfrom
cuentapraces07-ops:bounty-14237-tajik
Closed

cuentapraces07-ops wants to merge 1 commit into
BasedHardware:mainfrom
cuentapraces07-ops:bounty-14237-tajik

Conversation

@cuentapraces07-ops

@cuentapraces07-ops cuentapraces07-ops commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #14237

Summary

Adds sdks/python-cli/examples/quickstart.tg.md, a complete Tajik quickstart for omi-cli.

It covers:

  • pipx and virtualenv installation;
  • browser/API-key authentication and safe credential handling;
  • memory, conversation (including transcript), action-item, and goal commands;
  • JSON output and pagination;
  • named profiles and configuration;
  • the Omi Desktop local API;
  • stable exit codes and retry/error behavior.

The command names, flags, defaults, and exit-code meanings are aligned with the current CLI source and omi_cli/errors.py. This is an isolated docs-only change; no index or source files are modified.

Verification

  • python -m pytest -o addopts= -q — 434 passed, 2 skipped
  • git diff HEAD~1..HEAD --check — clean

Review in cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @cuentapraces07-ops — I verified this end to end against the CLI source at the PR head before commenting, and it holds up well. Credit where due:

Verified against sdks/python-cli/omi_cli/:

  • The exit-code table (0–5) matches errors.py exactly (EXIT_OK/EXIT_USAGE/EXIT_AUTH/EXIT_SERVER/EXIT_RATE_LIMITED/EXIT_NOT_FOUND), including the Retry-After guidance for code 4 that client.py's retry loop honors — and this guide covers codes 4/5, which some sibling quickstarts omit.
  • --json / --profile placement before the command group matches the root options in main.py; --limit/--offset/--include-transcript/--completed/--open match commands/memory.py, conversation.py, action_item.py, and goal.py.
  • The auth status (local state) vs auth whoami (server round-trip) distinction matches commands/auth.py, as do login --browser and the localhost-callback note.
  • config set api_base / local_api_url / local_token, ~/.omi/config.toml, and OMI_API_KEY all match config.py; the local … verbs (configure --url/--token, search-screen --days/--app, screenshot --output, recap --days-ago, sql, task search --include-completed, call --args-json) match commands/local.py.
  • Python ≥3.10 matches pyproject.toml.

The handling cautions are accurate and welcome: keeping API keys out of shell history, treating config.toml as secret, and the explicit callout that local task complete/local task delete mutate data — consistent with how the CLI actually behaves.

One merge-prep note: examples/README.md has no tg entry yet. Skipping it was a deliberate conflict-avoidance choice per the PR body, which makes sense while the race is open — please add the one-line index entry once a maintainer picks this one.

Heads-up: this is one of four open PRs adding sdks/python-cli/examples/quickstart.tg.md against #14237 (#14238, #14243, #14248, #14253), so a maintainer will need to pick which one lands for the bounty. Nothing blocking in the content itself — leaving for human maintainer review for that duplicate/bounty resolution.


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 i18n Internationalization / localization changes needs-maintainer-review Needs a human maintainer to sign off before merge labels Sep 16, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks for this — the guide itself is genuinely well made. I verified its command surface against the current CLI source: the exit-code table (0-5) matches the stable contract in omi_cli/errors.py, and auth login --browser, conversation get/list --include-transcript, action-item list --open, config set api_base/local_api_url/local_token, --profile, and the local subcommands (screenshot --output, recap --days-ago, task search --include-completed, sql, call --args-json) all exist and behave as described. No inaccuracies found.

Unfortunately this PR has been overtaken by events: #14238, which addresses the same bounty issue #14237, was merged earlier today (commit 1cbe294) and adds a Tajik quickstart at the exact same path — sdks/python-cli/examples/quickstart.tg.md — so this branch now conflicts with main. You opened this PR first, so this is purely a race decided by merge order, not a judgment on the work.

For the record, a few things your version handles notably well and the merged guide covers less deeply:

  • checking the exit code before consuming a saved JSON file, and the stdout/stderr split in --json mode
  • the auth status (local config only) vs auth whoami (server-verified credential) distinction
  • local sql and local call --args-json coverage
  • the note that omi auth logout does not revoke the key server-side

If you're interested, these would be welcome as follow-up improvements to the merged guide — this was careful, accurate work and we'd gladly take more of it.

Closing as superseded by #14238 with thanks.


AI-generated maintainer feedback sent on behalf of the Omi maintainers.


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 superseded Superseded by a newer change on main and removed needs-maintainer-review Needs a human maintainer to sign off before merge labels Sep 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hey @cuentapraces07-ops 👋

Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request.

After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our product principles and locked invariants

Before your next PR, please skim:

  • PRODUCT.md — product north star
  • Product invariants — locked rules (shared chat, memory tiers, agent control plane, integrations, brand)

If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing.

Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out.

Thank you for being part of the Omi community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n Internationalization / localization changes superseded Superseded by a newer change on main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposed $25 docs bounty: Tajik (tg) Python CLI quickstart

2 participants