Skip to content

docs(python-cli): add Latvian (lv) agent quickstart guide - #14815

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

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

Conversation

@1234adi1234

@1234adi1234 1234adi1234 commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds sdks/python-cli/examples/agent_quickstart.lv.md, providing a comprehensive native Latvian (latviešu) 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, #14786, #14799, #14801, #14803, #14805, #14807, #14809, #14811, #14813): 5.

Review in cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @1234adi1234 — I verified this against the canonical agent_quickstart.md before commenting.

Verification on sdks/python-cli/examples/agent_quickstart.lv.md:

  • Structural parity confirmed: 19/19 headings (7 H2, 5 H3) and 11/11 code fences match the English source. 9 fences are byte-identical; the 2 that differ (the omi auth login block and the omi local configure block) differ only in translated shell comments — every command, flag, and URL is unchanged.
  • Factual claims match the English guide 1:1: exit codes 0-5, rate limits (memories 120/hr, conversations 25/hr, batch creates 15/hr), Desktop API port 47778, and the screenshot_pending / screenshot_file_missing / screenshot_chunk_corrupted failure reasons. No new URLs, endpoints, or environment variables are introduced.
  • The safety guidance is preserved (complete/delete local tasks only on explicit user request; verify downloaded screenshots with file PATH before vision tools).
  • sdks/python-cli/examples/README.md: clean 2-line discovery entry placed alongside the existing quickstart.th.md localization precedent.

Note for maintainers: this file is agent-guidance documentation (it teaches LLM agents how to drive the CLI). Since the Latvian prose mirrors the canonical English guide and all commands are unchanged, the guidance stays accurate and safe; the only genuinely new surface is the translated prose itself, where a Latvian-speaking maintainer spot-check would be the final word on nuance.

Non-blocking nit: the Python example blocks keep English comments/identifiers (matching the EN source, including its pseudo-code parse_retry_window helper). That is fine — keeping code blocks identical to the EN source actually makes future diff-sync easier — just flagging it in case translated comments were intended.

Merge and bounty payout amount are maintainer decisions.

🤖 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