Skip to content

docs(python-cli): add Finnish (fi) agent quickstart guide - #14801

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

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

Conversation

@1234adi1234

@1234adi1234 1234adi1234 commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds sdks/python-cli/examples/agent_quickstart.fi.md, providing a comprehensive native Finnish (suomi) 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): 5.

Review in cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks for the Finnish agent quickstart — this follows the established localization pattern in sdks/python-cli/examples/.

What I verified:

  • agent_quickstart.fi.md mirrors agent_quickstart.md exactly in structure (7 H2 / 5 H3 sections), and all 11 fenced code blocks use identical commands — only the explanatory comments are translated. URLs, env var names (OMI_API_KEY, OMI_LOCAL_API_URL, OMI_LOCAL_TOKEN), the omi_dev_... key placeholder, and the exit-code and rate-limit figures are unchanged. Careful, faithful work.
  • README.md registers the new guide with a bilingual description matching the style of the neighboring entries.
  • Since this document is specifically guidance for AI agents driving the CLI, I checked the behavioral content against the English original: the JSON-contract and exit-code claims and the safety notes (only completing/deleting local tasks when the user clearly asks; validating screenshot outputs with file before passing them to vision tools) are all preserved.

One action needed: the branch currently conflicts with main on sdks/python-cli/examples/README.md — the zh-CN/zh-TW agent-guide entries landed after this branch was cut. A rebase onto latest main should resolve it; the new guide file itself applies cleanly.

🤖 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 i18n Internationalization / localization changes positive-signal Automation verified a genuine fix/quality contribution labels Sep 19, 2026
@1234adi1234
1234adi1234 force-pushed the feat/agent-quickstart-fi branch from 6dc7273 to 39109e6 Compare September 19, 2026 14:09
@1234adi1234

Copy link
Copy Markdown
Contributor Author

Rebased onto latest upstream/main and resolved the conflict in sdks/python-cli/examples/README.md (preserving upstream zh-CN and zh-TW entries). The branch is now clean, passes 100% structural parity, and is ready for merge.

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @1234adi1234 — verified this end to end against the English source and the CLI code.

Verification notes:

  • agent_quickstart.fi.md is a faithful, complete translation of agent_quickstart.md — 1:1 section parity (7 H2 / 5 H3 sections, 20 code fences), with commands and code samples intentionally kept untranslated so they stay copy-pasteable.
  • Technical claims check out against the CLI at this head: exit codes 0-5 (omi_cli/errors.py), structured stderr {"error", "detail"} errors, 429/5xx retry with backoff (omi_cli/client.py), rate limits 120/hr memories, 25/hr conversations, 15/hr batch (KNOWN_RATE_LIMIT_POLICIES in client.py), OMI_API_KEY / --profile / --api-base / --verbose (omi_cli/main.py), and the local Desktop API verbs including search-screen, --args-json, and --include-completed (omi_cli/commands/local.py). The screenshot failure modes (screenshot_pending, screenshot_file_missing, screenshot_chunk_corrupted) are backed by the Desktop telemetry source and tests/test_local.py.
  • The time.sleep(...) rate-limit snippet without import time is inherited as-is from the English guide, so no new issue introduced.
  • The README.md entry follows the existing zh-CN/zh-TW agent-guide pattern and doesn't conflict with the existing general quickstart.fi.md.

One heads-up for maintainers: this file is agent-facing documentation (it instructs AI agents how to drive omi-cli), so a final skim by a Finnish-reading maintainer before merge would lock in translation fidelity. Structurally and technically it matches the English source.

🤖 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