Gemini CLI Integration · Google

Gemini CLI is fast.
Its memory isn’t.

Google Gemini CLI restarts with nothing retained from your previous session. Tramya recovers the local traces of your Gemini sessions and lets you pick up right where you left off — in Gemini or anywhere else.

Why Gemini + Tramya

The missing link for serious work.

Gemini is excellent at exploration

Massive context window, fast responses. Ideal for brainstorming an architecture or scanning a large repository.

But no native persistence

Every session starts from scratch. Without an external tool, exploration is disposable.

Tramya captures the value

Decisions, paths explored and files referenced are remembered on the project side, not the tool side.

How it works

Zero-config after installation.

  1. 1. Install Tramya

    The companion detects Gemini CLI automatically on macOS and Linux.

  2. 2. Index the logs

    Tramya reads the default Gemini log directory and organizes sessions by git project.

  3. 3. Resume wherever you want

    A Gemini thread can be continued in Gemini (with context re-injected) or in Claude Code / Codex via handoff.

Typical use case

Gemini prototyping → Claude Code production.

You use Gemini CLI to explore a major refactor — 2,000 files to scan, several directions on the table. Once you’ve chosen the path, you switch to Claude Code for precise implementation with its editing guardrails. Tramya hands Claude Code the summary of the rejected directions (with reasons), the chosen path, the list of affected files, and the invariants discovered during exploration. You save 30 to 60 minutes of re-explaining.

Frequently asked questions

Does it work with the direct Gemini API or only the official CLI?

Both. Tramya reads the logs regardless of how you invoke it, as long as they’re written locally.

Do my prompts go to Google through Tramya?

No. Tramya relays nothing to Google. The Gemini ↔ Google communication stays direct, handled by the official CLI.

Can I use a Gemini model through a third-party API (OpenRouter)?

Yes, as long as the traces are written to your disk in the standard format.