Agent using the Google Generative AI SDK. Gemini models with function calling and streaming — direct SDK usage for full control.
What's included
- Google AI SDK — official google-generativeai client
- Gemini models — Gemini 1.5 Pro, Gemini 1.5 Flash, and more
- Function calling — define tools and let Gemini invoke them
- Streaming — real-time token streaming via SSE
- Direct access — no abstraction layer, full SDK control
When to use this
Pick this example when you want to:
- Use the Google Generative AI SDK directly
- Build agents with Gemini models
- Leverage Google's multimodal and long-context capabilities
Project structure
├── agents/
│ └── gemini_agent.py # Google AI SDK agent
├── main.py # Entry point — serve(agents)
├── pyproject.toml
└── reminix.config.toml
Quick start
Deploy the example and invoke the agent via the Reminix API. The Google AI SDK handles chat completions, function calling, and streaming — you get a production REST endpoint with direct Gemini access.