+

Generate Word, Excel, PowerPoint and PDF
with CrewAI

Code

Python or TypeScript

Your agent team, with documents.

Connect Doconda from your CrewAI agents and get finished, editable, reviewed Word, Excel, PowerPoint and PDF files.

  1. 01Install the SDKpip install doconda or npm install @doconda/sdk, and your API key.
  2. 02Give your agent the toolsDoconda's tools, in CrewAI's format.
  3. 03Your agent delivers the fileYour agent gets the link to the reviewed file.
import os
from crewai import Agent, Crew, Task
from crewai.mcp import MCPServerHTTP

key = os.environ["DOCONDA_API_KEY"]

writer = Agent(
    role="Redactor",
    goal="Entregar documentos impecables",
    backstory="Escribes informes y contratos claros.",
    mcps=[MCPServerHTTP(url="https://api.eu.doconda.com/mcp", headers={"Authorization": f"Bearer {key}"}, streamable=True)],
)

task = Task(
    description="Prepara un informe en Word sobre las ventas del trimestre y devuelve el enlace.",
    expected_output="El enlace de descarga del Word.",
    agent=writer,
)

print(Crew(agents=[writer], tasks=[task]).kickoff())

FAQ

Common questions

01 / 03

How do I add Doconda to a crew?

With CrewAI's MCP adapter you connect Doconda's server and give its tools to the agents that need them.

The document API for AI agents, ready for production.