Generate Word, Excel, PowerPoint and PDF with Vertex AI
Give your Vertex AI agent Doconda's tools and it will deliver finished, editable, reviewed Word, Excel, PowerPoint and PDF files.
Gemini writes. Doconda delivers the file.
Gemini writes. Doconda turns what it writes into a file ready to deliver.
In a few lines, in Python or TypeScript
Your agent uses Doconda's tools and returns the link to the file.
from doconda import Doconda
from google import genai
from google.genai import types
client = genai.Client(vertexai=True, project="my-project", location="europe-west1")
tools = Doconda().tools()
config = types.GenerateContentConfig(tools=[types.Tool(function_declarations=[
types.FunctionDeclaration(name=t.name, description=t.description,
parameters_json_schema=t.input_schema) for t in tools])])
res = client.models.generate_content(model="gemini-3.5-flash", config=config,
contents="Create a 5-slide deck with the quarter's results")
call = res.function_calls[0] # create_document
out = next(t for t in tools if t.name == call.name).run(dict(call.args))
out["links"] # {"pptx": "https://…", "pdf": "https://…"}How it works
Install the SDK
pip install doconda and your API key.
Give your agent the tools
doconda.tools(), in Vertex AI's format.
Your agent delivers the file
Your agent gets the link to the reviewed file.
Frequently asked questions
How do I generate a PowerPoint from Gemini on Vertex AI?
Install the SDK (pip install doconda), declare doconda.tools() as functions in GenerateContentConfig and run the one Gemini asks for. Doconda returns the link to the PowerPoint file and its PDF.
Does it work with google-genai, the AI SDK and LangChain?
Yes. The tools are standard JSON Schema: they work with google-genai (vertexai=True), with @ai-sdk/google-vertex and with any framework that calls functions.
Do I need templates?
No. Doconda picks the design for the kind of document, and you can ask for the style in words ("blue headings, Lora font") or for a company's design.
How much does it cost?
Creating a document costs from €0.30, depending on quality; reviewing one, €0.03; reading a file to Markdown is free. You get €5 of credit when you sign up and there is no subscription.