Skip to content

Installation & Quick Start

Get an API key from the Key Management UI using your authorized Google account.

Terminal window
pip install sec-gemini

Either launch the TUI — it prompts for your key on first run:

Terminal window
sec-gemini

Or set it from the command line:

Terminal window
sec-gemini set-key

Both verify the key and save it to ~/.config/sec-gemini/config.toml. Once set, the TUI, BYOT client, and SDK all pick it up automatically. See the Configuration Reference for details.

  • Use the TUI — Launch sec-gemini for an interactive terminal interface
  • Use the Python SDK — Script sessions, stream responses, upload files programmatically
  • Bring Your Own Tools — Connect local tools to the cloud agent with sec-gemini-byot
  • Use Skills — Extend the agent with custom instructions