Skip to content

docs(python-cli): add Thai (th) agent quickstart guide - #14786

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

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

Conversation

@1234adi1234

@1234adi1234 1234adi1234 commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds sdks/python-cli/examples/agent_quickstart.th.md, providing a comprehensive native Thai (ภาษาไทย) 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, 20 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, #14768, #14770, #14772, #14774, #14776, #14778, #14780, #14782, #14784): 5.

Review in cubic

@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 @1234adi1234 — verified this end to end against the English source.

sdks/python-cli/examples/agent_quickstart.th.md (+156): full structural parity with agent_quickstart.md — same 7 H2 / 5 H3 sections, all 11 code blocks present with byte-identical commands (only comments localized), all 32 inline code spans (flags, env vars, structured error tokens like screenshot_pending / screenshot_file_missing) carried over exactly, and the technical claims match the source: exit codes 0–5 semantics, rate limits (memories 120/hr, conversations 25/hr, batch creates 15/hr), and the JSON-only stdout / {"error", "detail"} stderr contract. The agent-safety directives are faithfully preserved — completing/deleting local tasks only on explicit user request, and validating screenshot outputs with file PATH before passing them to vision tools.

sdks/python-cli/examples/README.md (+2): clean discovery entry, placed sensibly next to the English agent quickstart and consistent with the existing quickstart.th.md entry.

Since this file is agent-instruction documentation (it tells LLM harnesses like Claude Code / Cursor how to drive the omi CLI), I specifically checked the translation for guidance drift and found none — the Thai version instructs the same behavior as the English source. Minor inherited nit (present in the English doc too, so not blocking): the rate-limit example calls time.sleep(parse_retry_window(err["detail"]) or 60) without defining time / parse_retry_window.

Left for human maintainer merge decision; bounty handling stays 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