Skip to content

docs(python-cli): add Arabic (ar) agent quickstart guide - #14768

Closed
1234adi1234 wants to merge 1 commit into
BasedHardware:mainfrom
1234adi1234:feat/agent-quickstart-ar
Closed

1234adi1234 wants to merge 1 commit into
BasedHardware:mainfrom
1234adi1234:feat/agent-quickstart-ar

Conversation

@1234adi1234

@1234adi1234 1234adi1234 commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds sdks/python-cli/examples/agent_quickstart.ar.md, providing a comprehensive native Arabic (العربية) guide for driving the Omi CLI via AI agent harnesses (Claude Code, Cursor, custom bots).

Key Features Covered

  • Headless JSON Contract: Clean stdout output and structured stderr error objects ({"error": "...", "detail": "..."}).
  • Stable Exit Codes: Deterministic error handling across exit codes 0 through 5 without NLP parsing.
  • Authentication: Non-interactive API key setup (OMI_API_KEY) for containers and autonomous agents.
  • Core Verbs: Memory, conversation, and action-item operations with jq.
  • Local Desktop API: Querying on-device screen history, recaps, SQL, and screenshots.
  • Python Agent Loop: Runnable retry loop with rate limit backoff and timezone-aware action item processing.
  • Discovery: Registered in sdks/python-cli/examples/README.md.

100% structural parity with agent_quickstart.md (7 H2 sections, 5 H3 sections, 22 code fences). Python code snippets verified.

Proposed Bounty:

Matching active CLI agent localization bounties (e.g. #14619, #14618, #14620, #14617, #14740, #14753, #14756, #14758, #14760, #14762, #14764, #14766): US5.

Review in cubic

This was referenced Sep 19, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @1234adi1234 — verified this against the English source guide and the CLI implementation. Notes:

sdks/python-cli/examples/agent_quickstart.ar.md (+140)

  • Faithful Arabic rendering of agent_quickstart.md: same 7 H2 / 5 H3 structure and all 20 code fences; every command and Python snippet is identical to the English guide — only the human-language comments and docstrings are translated.
  • Technical claims check out against source: the 0–5 exit-code contract matches omi_cli/errors.py (EXIT_OK…EXIT_NOT_FOUND), the env vars OMI_API_KEY / OMI_LOCAL_API_URL / OMI_LOCAL_TOKEN match omi_cli/config.py, and the --json stderr error shape {"error": ..., "detail": ...} matches Renderer.error in omi_cli/output.py.
  • No URLs, contact info, or odd control characters in the Arabic prose; the backticked token set is identical to the English guide, so no invented or dropped commands.

sdks/python-cli/examples/README.md (+2) — clean index entry linking the new guide, consistent with the existing per-language entries.

Heads-up for maintainers: these examples/ guides are operating instructions for AI coding agents (Claude Code, Cursor, custom bots), so this PR grows the agent-instruction surface by one language. I verified the executable content matches the English guide and the implementation and found no prompt-injection-style content; a brief native-Arabic spot check of the prose would still be worthwhile since automated review can't certify translation fidelity.

Two maintainer calls remain before merge: the translation spot-check above, and the proposed bounty (US5) — payout decisions rest 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

Copy link
Copy Markdown
Member

Thanks for the translation work! Quick context on why we're closing: our docs policy keeps a single canonical English source for internal-facing documentation, and handles localization only for product- and user-facing surfaces (app strings, user guides shipped with the product). Translating developer/CLI docs isn't something we're taking contributions for right now.

That's not a judgment on the quality of the translation — if you'd like to contribute in an area we do need, open issues with the bounty label are a great starting point, and we're always happy to review code fixes.

Feel free to reopen with a comment if you think this targets a user-facing doc we missed. Thanks again for contributing!

@github-actions

Copy link
Copy Markdown
Contributor

Hey @1234adi1234 👋

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.

2 participants