Skip to main content
Install langgraph and doconda, turn each tool from doconda.tools() into a StructuredTool (its JSON Schema works as args_schema) and pass them to the agent or a ToolNode. The agent calls create_document and its last message carries the links to the Word, PowerPoint, Excel or PDF file.

Steps

  1. Put your Doconda API key (dashboard → API keys) in DOCONDA_API_KEY and your model provider’s key (here, OPENAI_API_KEY).
  2. Install the dependencies: pip install langgraph "langchain[openai]" doconda.
  3. Build the graph with the tools:
If you don’t need your own graph, create_agent("openai:gpt-5", tools) from langchain.agents is LangGraph’s prebuilt ReAct agent and returns a compiled graph just the same: with checkpointer, streaming and interrupts.

What you get back

The tools node adds a ToolMessage with the tool’s summary to the state:
  • Keep the id in the graph state if a later step has to edit the document (edit_document) or get fresh links (get_document): links expire after 5 minutes.
  • status: ready, ready_with_warnings, needs_review or failed (not charged).

FAQ

Yes: the tools come from langchain-mcp-adapters against https://api.eu.doconda.com/mcp, as in LangChain.
Yes. It’s a regular compiled graph: add an interrupt after the tools node and check the status and the report (get_report) before continuing.
Word, PDF, PowerPoint, Excel and artifacts (a web page with its own data). Word, PowerPoint and Excel files come with their PDF.
You pay per delivered document. See pricing.

Keep reading