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.
- 01Install the SDKpip install doconda or npm install @doconda/sdk, and your API key.
- 02Give your agent the toolsDoconda's tools, in CrewAI's format.
- 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())
