agentscope-extensions-model-gemini integrates Google Gemini models through the Gemini API and supports the Vertex AI path through explicit configuration.
Add the dependency
ModelRegistry
SetGEMINI_API_KEY, then use the gemini:<model> id:
Explicit builder
Use the builder when you need custom API settings, Vertex AI credentials, formatter, transport, or generation options:Server-side tools
Gemini built-in tools run on the model provider instead of the local AgentScope toolkit. Build a Google GenAI SDKTool definition, then wrap it with GeminiServerTool.of(...):
GeminiServerTool.of(...) for custom
function tools; it rejects those definitions.