#AI-Agent with gemini?
4 messages · Page 1 of 1 (latest)
Hi @proud chasm. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Short answer: likely yes via any AI SDK-supported model, but the docs here only show OpenAI examples and don’t explicitly mention Gemini.
- The Agent uses the Vercel AI SDK style “languageModel/chat” interface (e.g., openai.chat), and tools/context are model-agnostic. However, the provided docs and examples only demonstrate OpenAI models and don’t explicitly document Gemini/Vertex adapters. [Getting started; Agents page].
If your Gemini provider exposes a LanguageModel via the AI SDK-compatible client, you should be able to pass it as the agent’s languageModel (previously “chat”). The knowledge sources, though, do not explicitly confirm or show a Gemini snippet. [Getting started; What does it look like].
Note: A Discord thread mentions someone sending base64 PDFs to Gemini and hitting issues, which implies community experimentation with Gemini from Convex actions, but it doesn’t confirm official support in the Agent docs. [Discord thread].
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@proud chasm Kapa.ai is still learning and improving, please let me know how I did by reacting below.