New: artifacts, what your agent creates, live. Discover it →
Doconda

API to generate documents with AI

Your agent decides what to say. Doconda turns it into Word, PowerPoint, Excel and PDF documents with real styles, reviewed before they are delivered.

ARTArtifact
DOCXWordPDFPDFXLSXExcelPPTXPowerPoint

1
waiting
DOCX↓PDF↓

Works with the agent stack you already use

AI SDKLangChainClaudeGeminiMistral AICrewAIn8nHugging FaceMCP

One API for all
your documents

You decide the content and the style. We build, lay out, review and deliver the file.

Create

Reports, contracts, presentations and spreadsheets with a professional design, and editable.

import { Doconda } from "@doconda/sdk"

const doconda = new Doconda() // reads DOCONDA_API_KEY

const doc = await doconda.documents.create({
  format: "docx",
  content: { markdown: contrato },
  style: "Times New Roman font, with a cover page",
})

doc.status   // "ready"
doc.outputs  // Word, PDF and an image per page

In seconds,
not minutes

A document arrives in the time an API call takes. With streaming, you watch it being written as it happens.

read a file to Markdown0.2 s
first streamed block0.6 s
create from your text< 1 s
review a file, with fixes1.6 s
0 s1 s2 s
p95 in our tests, without AI. With AI, however long the model takes.

Reliable documents
for your company

For legal, finance and people teams that cannot afford a formatting mistake.

Ways of
working

Data in your region

Documents, files and AI calls stay in your project's region.

Review without AI

Reviewing a document uses no AI: it is deterministic and auditable.

Production ready

Truly editable
Word

Real-time
streaming

Automatic
review

Retries and
idempotency

Data in the EU
Encrypted in transit and at rest
Configurable retention
We never train models

Security
first

See security

Integrate it in one
line of code

REST API, TypeScript SDK and MCP server, with recipes for your agent framework.

AI SDK
LangChain
Gemini
Claude
CrewAI
n8n
MCP

And if it needs a touch-up,
it is edited in your app

Editable Word, PowerPoint and Excel inside your product, with a React component.

See the plugin

Built for teams taking their AI to production

Every team needs different documents. All of them need them to come out right.

Contracts with numbered clauses and signatures that never split

legal

Financial reports with tables that stay on the page

finance

Letters and employment contracts in the company format

hr

Deliverables with a cover page, table of contents and corporate style

consulting

Minutes and claim summaries ready to send

insurance

The document layer
for your agents

Create, review, edit and read files. Reports, letters, contracts, minutes, presentations and spreadsheets, always with their PDF.

4

operations,
one single API

7

document types
and artifacts

2

regions:
EU and US

EU →

Pay only for what you use

No subscription: you pay per delivered document, with AI included (prices exclude VAT). We give you €5 when you sign up.

read

Free

  • Any file to Markdown, for your agent
  • Word, PowerPoint, Excel, PDF and images
  • Scanned PDFs, with OCR

review

€0.03

per document

  • Word, PowerPoint, Excel or PDF, fixed, with its report
  • No AI: fixed rules, always the same
  • Removes dangerous links and objects

edit

€0.25 – €1.25

depending on quality, per document

  • Changes from instructions
  • The rest of the Word file untouched
  • Reviewed before delivery

create

€0.30 – €1.50

depending on quality, per document

  • From a sentence or from your text
  • The style, in your own words
  • Word, Excel, PowerPoint or artifact, reviewed

editor plugin

7 days free · monthly, yearly or one-time

  • Word, PowerPoint and Excel inside your app
  • Unlimited documents and users
  • 7-day free trial
See the plugin

enterprise

Volume, contractual data residency and DPA, SLA and dedicated support.

Frequently asked questions

What is Doconda?

Doconda is a REST API for AI agents to create, review and edit Word (DOCX), PowerPoint (PPTX), Excel (XLSX) and PDF documents. It generates editable Office files with real styles, reviews and fixes Word, PowerPoint, Excel and PDF files without AI, and creates artifacts: web pages with their own database.

How do I generate a Word, PowerPoint or Excel file from my AI agent?

With one call to the Doconda API (POST /v1/documents), with the TypeScript SDK or with its MCP server. You send a sentence or your Markdown text and get back the Word file with its PDF. It works with Claude, AI SDK, LangChain, CrewAI, Gemini, Mistral and n8n.

Which formats can I create and edit with the API?

Doconda creates and edits Word (DOCX), PowerPoint (PPTX), Excel (XLSX) and PDF, plus artifacts. It also reads any file to Markdown and takes the old .doc, .ppt and .xls formats.

Does it work with Vercel AI SDK, OpenAI, Bedrock or Vertex AI?

Yes. Doconda has a REST API, a TypeScript SDK and an MCP server, with guides for Vercel AI SDK, OpenAI, Claude, Amazon Bedrock, Vertex AI, Gemini, Mistral, LangChain, CrewAI and n8n. In Claude Code, Codex or Cursor you add it as an MCP server.

How much does Doconda cost?

Depending on the quality you choose, creating a document costs €0.30 to €1.50 (Word, PDF, PowerPoint, Excel or artifact) and editing one €0.25 to €1.25; reviewing a file costs €0.03, excluding VAT and with AI included. Reading a file to Markdown is free. When you sign up you get €5 of credit and there is no subscription: you only pay for delivered documents.

Does reviewing a document use AI?

No. Doconda reviews and fixes Word, PowerPoint, Excel and PDF files (tables that overflow, split signatures, broken numbering, text that doesn't fit, formula errors, scanned PDFs without text) with fixed rules, without any model, and delivers a report with every change. It also takes the old .doc, .ppt and .xls formats.

Where are my documents processed?

In your project's region, European Union or United States, AI calls included. Doconda does not train models on your documents, and with store: false it deletes their content 15 minutes after finishing.

What is an artifact?

A web page your agent creates with one API call: it has a signed link and its own small database, for polls, lists or calculators. It costs the same as creating any document: €0.30 to €1.50, depending on quality.

Can my users edit the documents in my app?

Yes, with the Doconda editor plugin: a React component that opens, edits and saves Word, PowerPoint and Excel in the browser, inside your product. It is purchased separately, with a monthly, yearly or one-time plan, and you can try it free for 7 days.