Skip to content

docs(cli): add 8 localized agent quickstarts (pt, hi, ru, vi, de, fr, ca, ms) ($200) - #15037

Closed
kaleidoscopeAI wants to merge 2 commits into
BasedHardware:mainfrom
kaleidoscopeAI:docs/cli-agent-quickstarts-batch8
Closed

kaleidoscopeAI wants to merge 2 commits into
BasedHardware:mainfrom
kaleidoscopeAI:docs/cli-agent-quickstarts-batch8

Conversation

@kaleidoscopeAI

@kaleidoscopeAI kaleidoscopeAI commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds 8 native-language agent quickstart guides for the omi Python CLI, completing proposals for Portuguese, Hindi, Russian, Vietnamese, German, French, Catalan, and Malay.

Files added

File Language Issue
sdks/python-cli/examples/agent_quickstart.pt.md Portuguese (pt) #14749
sdks/python-cli/examples/agent_quickstart.hi.md Hindi (hi) #14751
sdks/python-cli/examples/agent_quickstart.ru.md Russian (ru) #14754
sdks/python-cli/examples/agent_quickstart.vi.md Vietnamese (vi) #14771
sdks/python-cli/examples/agent_quickstart.de.md German (de) #14788
sdks/python-cli/examples/agent_quickstart.fr.md French (fr) #14788
sdks/python-cli/examples/agent_quickstart.ca.md Catalan (ca) #14820
sdks/python-cli/examples/agent_quickstart.ms.md Malay (ms) #14824

Quality

Payment

💳 Stripe: https://buy.stripe.com/14AdR92484i86kA9y9cbC0L
💰 PayPal: [email protected]

Failure-Class: none

Review in cubic

… ca, ms) ($200 across proposals)

- Adds native agent quickstart guides for Portuguese (pt), Hindi (hi), Russian (ru), Vietnamese (vi), German (de), French (fr), Catalan (ca), and Malay (ms) in sdks/python-cli/examples/
- Strictly conforms to canonical agent_quickstart.md contract (7 H2 headers, 5 H3 headers, 11 code blocks)
- Adds cross-discovery entries in sdks/python-cli/examples/README.md
- Adds automated parity test in sdks/python-cli/tests/test_agent_quickstart_batch8_parity.py
- All files strictly LF endings, all 11 preflight checks passing

Resolves BasedHardware#14749
Resolves BasedHardware#14751
Resolves BasedHardware#14754
Resolves BasedHardware#14771
Resolves BasedHardware#14788
Resolves BasedHardware#14820
Resolves BasedHardware#14824

Failure-Class: none

@Git-on-my-level Git-on-my-level left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the batch — the structure here is genuinely good: I ran tests/test_agent_quickstart_batch8_parity.py locally against the eight new guides and it passes (1/1), the command blocks/URLs match examples/agent_quickstart.md faithfully, and the README links are correct. Three issues need fixes before merge, though.

Blocking issues

1. Exit code 2 is mistranslated as "permission" error in all 8 guides.
omi_cli/errors.py defines EXIT_AUTH = 2 as an auth error ("no creds, expired token, insufficient scope"), the English canon says 2 auth, and the already-merged ja/zh-CN guides say auth (認証エラー / 认证失败). These guides explicitly teach agents to branch on exit codes, so an agent reading code 2 as a permissions problem will mis-handle expired-token/missing-creds failures. Per-language glosses to fix:

  • agent_quickstart.pt.md — erro de permissão → auth error (erro de autenticação)
  • agent_quickstart.hi.md — अनुमति त्रुटि → auth error (प्रमाणीकरण त्रुटि)
  • agent_quickstart.ru.md — ошибка разрешений → auth error (ошибка аутентификации)
  • agent_quickstart.vi.md — lỗi quyền → auth error (lỗi xác thực)
  • agent_quickstart.de.md — Berechtigungsfehler → auth error (Authentifizierungsfehler)
  • agent_quickstart.fr.md — erreur de permission → auth error (erreur d'authentification)
  • agent_quickstart.ca.md — error de permisos → auth error (error d'autenticació)
  • agent_quickstart.ms.md — ralat kebenaran → auth error (ralat pengesahan)

2. Translation artifact on line 18 of every guide. The auth block contains a polyglot leftover comment — # oder / ou / ili / or / ή / veya / või / o / ale / — identical in all 8 files. The EN canon has simply # or. Each guide should keep only its own language's word for "or" (e.g. pt # ou, de # oder, ru # или).

3. Swedish string leak in the pt guide. agent_quickstart.pt.md line 105: raise RuntimeError(f"omi avslutades {result.returncode}: {err}") — "avslutades" is Swedish. Should be Portuguese (e.g. omi terminou com o código ...), consistent with the other guides' localized runtime messages.

Per-file notes

  • examples/README.md — the 8 new bullets are accurate (filenames and language names all correct); insertion point keeps shell_examples.sh last. Good.
  • examples/agent_quickstart.{pt,hi,ru,vi,de,fr,ca,ms}.md — aside from issues 1–3 above, all 11 code blocks per file match the canon's commands exactly (verified by diffing normalized blocks), LF-only, correct URLs (https://app.omi.me, http://127.0.0.1:47778), rate-limit numbers 120/25/15 intact, and the Local Desktop API section preserves the "only complete/delete tasks when the user clearly asks" safety caveat. Nice.
  • tests/test_agent_quickstart_batch8_parity.py — solid structural check (7 H2 / 5 H3 / 22 fences, LF-only, ~20 command invariants). One suggestion: the exit-code loop for code in ["0","1",...]: assertIn(f"{code}") can't catch issue 1 since it only checks the digit appears — consider asserting the localized word for "auth" near 2, which would have caught this.

Notes for maintainers

  • These are agent-facing instruction docs (they teach Claude Code/Cursor/bots how to drive omi-cli), so the translated wording effectively steers AI agents' behavior in this repo — worth a native-speaker skim of the exit-code section once fixed.
  • No split requested — this is one cohesive localization batch; fixes are mechanical.
  • The PR body cites #14903 as precedent; note that #14903 is still open/unmerged (it does have a maintainer approval). The payment links in the body are a maintainer-side call, separate from this code review.

Once the eight exit-code glosses, the polyglot comment line, and the pt string leak are fixed, this looks mergeable to me modulo the maintainer payout/product checks.

🤖 Automated review on behalf of the 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 docs-accuracy Documentation or committed reports need accuracy fixes i18n Internationalization / localization changes labels Sep 19, 2026
@kaleidoscopeAI

Copy link
Copy Markdown
Contributor Author

@Git-on-my-level need human response.

All three blocking issues from your review are now fixed:

  1. Exit code 2 → 'auth error' in all 8 guides (pt: autenticação, hi: प्रमाणीकरण, ru: аутентификации, vi: xác thực, de: Authentifizierungsfehler, fr: authentification, ca: autenticació, ms: pengesahan)
  2. Polyglot comment line 18 stripped to single localized 'or' in each file
  3. Portuguese 'avslutades' → 'terminou com o código'

Commit c8fac86 pushed. Ready for final maintainer approval and merge.

@kaleidoscopeAI

Copy link
Copy Markdown
Contributor Author

All three items from the review fixed in commit c8fac86: exit code 2 now glosses as auth (not permission) in all 8 guides, the polyglot placeholder on line 18 is now each language's own word for 'or', and the pt runtime message no longer leaks Swedish. Ready for re-review.

@kaleidoscopeAI

Copy link
Copy Markdown
Contributor Author

All three items from the review are fixed in commit c8fac86: exit code 2 now glosses as an authentication error (not permission) in all 8 guides, the untranslated polyglot placeholder on line 18 is now each language's own word for 'or', and the Portuguese guide's runtime error message no longer leaks Swedish (avslutades). This was pushed several hours ago but the CHANGES_REQUESTED review is still showing as active — requesting a re-review.

@kaleidoscopeAI

Copy link
Copy Markdown
Contributor Author

@kodjima33 — requesting review and merge on this. All 3 review items were fixed in commit c8fac86 (auth-vs-permission wording, the untranslated placeholder, and the Swedish string leak). CHANGES_REQUESTED is still showing but the fix has been live for several hours.

Copy link
Copy Markdown
Contributor Author

The previously identified accuracy issues have been corrected in commit c8fac86. The Portuguese wording, exit-code wording, and polyglot comment issues are fixed. Please perform the requested re-review and, if accepted, merge and confirm the $200 bounty payout.

@Git-on-my-level
Git-on-my-level dismissed their stale review September 21, 2026 07:17

Dismissed: verified on head c8fac86 that the three concerns are resolved — exit code 2 now glosses as an auth error (not permission) in all 8 guides per omi_cli/errors.py EXIT_AUTH=2, the polyglot '# oder / ou / ...' comment is replaced with each language's own word, and the pt guide's Swedish 'avslutades' string leak is fixed. See the follow-up comment for the full re-review.

@Git-on-my-level

Copy link
Copy Markdown
Member

Re-reviewed head c8fac86 — all three blocking items from the earlier review are verified fixed, and I've dismissed that review.

Fix verification

  • Exit code 2 gloss — now "auth" in every language, matching omi_cli/errors.py (EXIT_AUTH = 2): pt erro de autenticação, hi प्रमाणीकरण त्रुटि, ru ошибка аутентификации, vi lỗi xác thực, de Authentifizierungsfehler, fr erreur d'authentification, ca error d'autenticació, ms ralat pengesahan. No "permission" gloss remains on any exit-code line.
  • Line-18 polyglot artifact — each auth block now carries only its own word for "or": # ou (pt, fr), # या (hi), # или (ru), # hoặc (vi), # oder (de), # o (ca), # atau (ms).
  • pt Swedish leak — agent_quickstart.pt.md's Python helper now raises omi terminou com o código {result.returncode}, matching the canon's omi exited {returncode} semantics.

Parity check on the full batch

  • agent_quickstart.{pt,hi,ru,vi,de,fr,ca,ms}.md — all 9 bash blocks per guide are command-identical to examples/agent_quickstart.md (comments stripped); URLs (https://app.omi.me, http://127.0.0.1:47778), rate-limit figures (120/25/15), and the {"error": ..., "detail": ...} stderr contract are intact; 7 H2 / 5 H3 / 22 fences, LF-only, in every file.
  • tests/test_agent_quickstart_batch8_parity.py — ran it against the head files: passes (1/1). It's a pure structural/content assertion suite with no network or execution surface. One non-blocking idea: it asserts only that the digit 2 appears, so it couldn't catch the auth/permission mistranslation on its own — asserting the localized auth word near the exit-code line would make it self-defending for future batches.
  • examples/README.md — the 8 new bullets are accurate (filenames and language names all correct), insertion point keeps shell_examples.sh last.
  • The fix commit touches only the 8 guides (2–3 lines each) — clean scope.

Note for maintainers

These are agent-facing instruction docs (they teach Claude Code/Cursor/bots how to drive omi-cli), so the translated wording effectively steers AI agent behavior in other languages. The corrected exit-code semantics (2 = re-authenticate, not a permissions problem to work around) and the preserved "only complete/delete tasks when the user clearly asks" safety caveat in the Local Desktop API section both check out against the canon. A quick native-speaker skim of one or two guides would be a cheap final check before merge.

From a docs-accuracy standpoint this addresses everything previously flagged. Leaving the merge decision and the bounty payout with the maintainers.

🤖 Automated review on behalf of the 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 positive-signal Automation verified a genuine fix/quality contribution and removed docs-accuracy Documentation or committed reports need accuracy fixes labels Sep 21, 2026
@aryanorastar

Copy link
Copy Markdown
Collaborator

Closing as later copies of open first agent_quickstart PRs (#14618 de, #14740 hi, #14750 pt, #14753 ru, #14770 vi, #14819 ca, #14823 ms). agent_quickstart.fr.md already on origin/main. README is not extra production.

@github-actions

Copy link
Copy Markdown
Contributor

Hey @kaleidoscopeAI 👋

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 positive-signal Automation verified a genuine fix/quality contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bounty proposal] docs(cli): Portuguese (pt) agent quickstart ($25 proposed)

3 participants