Gemini CLI
Gemini CLI is Google’s AI coding agent for the terminal, powered by Gemini models. It can analyze codebases, generate and edit files, run commands, and handle complex multi-step coding workflows with built-in thinking capabilities. Respan gives you full observability over every conversation including thinking, tool calls, and responses — and gateway routing through the Respan endpoint.
Set up Respan
Create an account at platform.respan.ai and grab an API key. For gateway, also add credits or a provider key.
Run npx @respan/cli setup to set up with your coding agent.
Tracing
Gateway
Setup
Prerequisite: Gemini CLI must be installed before integrating with Respan.
View your trace
Open the Traces page to see your Gemini CLI conversations with thinking, tool calls, and responses.
Gemini CLI uses native OpenTelemetry support. The respan integrate command configures the OTLP endpoint and auth headers automatically.
Configuration
Customize the integration with flags.