Skip to main content
Give the Bedrock model the tools from 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

  1. 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…).
  2. Put your Doconda API key (dashboard → API keys) in DOCONDA_API_KEY.
  3. Connect the tools and ask for the presentation:
Strands and the AI SDK run the tool-call loop for you. With 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: ready or failed. Failed documents are not charged.
  • Links expire after 5 minutes; the model gets fresh ones with get_document.

FAQ

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.
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.
Yes. The Strands agent is the same; store the Doconda key as a secret in DOCONDA_API_KEY, not in the code.
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.