doconda.tools(), with Strands Agents in Python or the AI SDK
(@ai-sdk/amazon-bedrock) in TypeScript. When you ask for a presentation, the model calls create_document with
format: "pptx" and gets back download links to an editable PowerPoint and its PDF.
Steps
- Enable a model in your Bedrock account and put its ID in
BEDROCK_MODEL_ID. AWS credentials come from your environment (AWS_REGION,AWS_ACCESS_KEY_ID…). - Put your Doconda API key (dashboard → API keys) in
DOCONDA_API_KEY. - Connect the tools and ask for the presentation:
boto3 directly, use the Converse loop in
How do I generate a Word file from Bedrock with the Converse API?.
What you get back
create_document returns this summary to the model:
- An editable 16:9 PowerPoint with native charts. Its colours and fonts live in the theme, so slides added later in PowerPoint match.
status:readyorfailed. Failed documents are not charged.- Links expire after 5 minutes; the model gets fresh ones with
get_document.
FAQ
Can it use my company's template?
Can it use my company's template?
Yes. The model uploads the presentation with
upload_file, passes it in source_file_ids and asks for “our
template’s design”: the result starts from its slides. This needs standard or best; at fast the document
fails with design_needs_quality and isn’t charged.Can I change a slide later?
Can I change a slide later?
Yes, with
edit_document: it changes only what you ask (add, reorder or remove slides, rewrite text) and keeps the
rest of the deck identical.Does it work on Amazon Bedrock AgentCore?
Does it work on Amazon Bedrock AgentCore?
Yes. The Strands agent is the same; store the Doconda key as a secret in
DOCONDA_API_KEY, not in the code.How much does it cost?
How much does it cost?
A presentation from a sentence costs €0.15 at
fast, €0.50 at standard and €1.50 at best; an edit costs €0.10,
€0.30 or €1.00. See pricing.Related
- Amazon Bedrock and Strands Agents: the full guides.
- Doconda in your agent: every tool
doconda.tools()returns.