Open source · Apache-2.0

Give your agent an office.

A toolkit for AI agents that create, edit and check native PowerPoint and Excel files, with live charts, tables and formulas, on your own templates.

pip install "artiwright[adk]"MCP, AI apps and more
Your agent, with Artiwright

Make the September close pack for the CFO.

trial-balance.xlsx

Here's the close pack: four slides for the CFO, and the workbook behind them.

september-close.pptxseptember-close-detail.xlsx
The close workbook in Excel: budget against actual with variance formulas, sparklines and a chart
A slide of three KPI cards: revenue, operating income and gross margin against budget
A slide with a native waterfall chart from budget to actual operating income, with key takeaways

Prep the Brightline renewal QBR from our CRM export, in our brand.

brightline-account.xlsx

Here's the QBR in your brand: four slides, ready for the renewal call.

brightline-qbr.pptx
A slide comparing today's contract with the proposed expansion
The title slide of a quarterly business review for Brightline Logistics
A slide with a native column chart of monthly active users against licensed seats

Size the European EV-charging market and recommend where to enter.

market-data.xlsx

Here's the study and the model behind it. The case is Germany first, then the UK.

ev-market-entry.pptxev-market-model.xlsx
The market model in Excel: a scenario dropdown, formulas per country and a bar chart
A dark slide with a two-by-two matrix recommending Germany first
A dark slide with a native bar chart of the charger gap by country
Decks · .pptxWorkbooks · .xlsxDocuments · .docx, plannedPDF, planned

Works with your agents, frameworks and apps

In 30 seconds

One request. A finished deck, and the workbook behind it.

An agent is asked for a board update. It builds the deck and the revenue workbook, checks every page, and hands back files that open in PowerPoint and Excel with real charts and formulas.

What your agent gets

Files your team keeps working in

Real PowerPoint and Excel files, built and checked by your agent, ready to edit.

A real chart. Edit its data. Charts keep their numbers inside the file, so anyone can change them in PowerPoint.

Tables are real tables

Rows, header styles and banding you can edit, not text boxes laid out in a grid.

Follows the theme

Every chart takes its colors and fonts from your template or theme.

Every chart type is tested: each passes Microsoft's Open XML validator, and the numbers it shows match its data sheet cell for cell. The tests →

Change one number. The workbook follows. Workbooks come with inputs, formulas and charts that update when a number changes in Excel.

Formats people expect

Currency, percentages and dates the way Excel shows them.

Inputs in one place

Assumptions sit apart from the formulas that use them, marked as inputs, with dropdowns where a cell takes a set list.

Tested against Excel: 177 formulas recalculated and compared with the answers Excel saved for them. The test →

Checked before you see it. Your agent draws every page, runs 35 lint rules, fixes what they find and checks again.

Looks at what it made

Every slide and sheet is drawn to an image the agent looks at.

Won't save a broken file

Finalize runs Microsoft's Open XML validator and refuses a file that still has errors.

Each rule is tested on a file with its problem planted in it, and on clean files where it must find nothing. Deck tests → · workbook tests →

It sees pages as PowerPoint shows them: lines break where PowerPoint breaks them in 49 of 51 text boxes of a 9-slide test deck. The test →

Changes what you asked. Keeps the rest. Point it at an existing file and ask for one change: a figure, a slide, a sheet.

SmartArt, video, embedded objects

Come through exactly as they were.

Any deck or workbook

Files from anyone, not only the ones Artiwright made.

Tested on 23 PowerPoint and Excel files from Apache POI's test suite: each opens, saves back unchanged, byte for byte, and takes an edit without new errors. The test →

How it fits

Plugs into the agent you already have

Your app and your agents stay as they are. Artiwright joins them as tools, or as one more agent, and hands back files your app already knows how to serve.

Ready-made tools, or a whole Artiwright agent for your multi-agent setup. pip install brings its own Node.js; TypeScript agents use the same tools from npm.

Read the docs →
agent.py
$ pip install "artiwright[adk]"from google.adk.agents import LlmAgentfrom artiwright.adk import artiwright_agent docs = artiwright_agent(root="/srv/sessions", model=MODEL, theme="ledger")root_agent = LlmAgent(name="router", model=MODEL, sub_agents=[docs, research])
Output
september-close.pptxseptember-close-detail.xlsx
The September close deck's waterfall slide, in PowerPoint
graph.py
$ pip install "artiwright[langgraph]"from langgraph.prebuilt import create_react_agentfrom artiwright.langgraph import INSTRUCTION, get_tools tools = await get_tools(root="/srv/sessions", session=thread_id)agent = create_react_agent(model, tools, prompt=INSTRUCTION)
Output
brightline-qbr.pptx
The Brightline QBR's adoption chart slide, in PowerPoint

Call it from your own backend for features like “export to deck”, or run it in a container beside an app in any language.

Read the docs →
export.ts
$ npm install artiwrightimport { Presentation, compose, ChartTakeaway } from "artiwright"; const deck = Presentation.create({ theme: "spruce" });compose(deck.slides.add(), ChartTakeaway({ title, chart, takeaways }));await deck.save("usage-report.pptx");
Output
usage-report.pptx
A usage report slide with a native line chart, in PowerPoint
terminal
$ docker run -p 8765:8765 -e ARTIWRIGHT_MCP_TOKEN=… ghcr.io/bvenu17/artiwright-mcp# The MCP server over HTTP, next to your app.# Java, Go, .NET or Ruby: anything that can call HTTP can use it,# say a Java service that builds the monthly close.
Output
monthly-close.xlsx
A monthly close workbook with variance formulas and a chart, in Excel

Your internal assistant, an IDE agent, or anything that speaks MCP. Also the quickest way to try it.

Read the docs →
mcp.json
$ claude mcp add --scope user artiwright -- npx -y artiwright@latest mcp{ "mcpServers": { "artiwright": { "command": "npx", "args": ["-y", "artiwright@latest", "mcp"] } }}
Output
artiwright_runartiwright_renderartiwright_lintartiwright_finalize
A launch plan slide with a native Gantt chart, in PowerPoint
Then ask: “Make a launch plan deck with a timeline.”

See what runs where, for each setup

Themes

Looks designed, not exported

Every slide, chart and table follows the theme, in decks and workbooks alike. Here is the same content in six of them, as PowerPoint draws it.

A chart slide in the Classic theme, in PowerPoint
A chart slide in the Spruce theme, in PowerPoint
A chart slide in the Ledger theme, in PowerPoint
A chart slide in the Studio theme, in PowerPoint
A chart slide in the Coast theme, in PowerPoint
A chart slide in the Your brand theme, in PowerPoint
Calibri Light · Calibri
1Five presets
Palette, fonts, charts, tables and layouts tuned to work together.
2From one color
Give your brand color, in the chat or in your app; the rest is derived, with text kept readable.
3Your template
Attach your company .potx, or a deck in your house style, in the chat. New slides use its layouts, fonts and colors.
4Set once
Or your app sets a theme or template for each customer up front, so nobody has to ask.
How themes work →
Real runs

Built by agents, opened in Office

Each use case is one real session: a LangGraph or Google ADK agent with Artiwright's tools, the files it was handed, every call it made, and the files it saved. Nothing is edited.

All 11 use cases →
FAQ

Questions, answered

Something else? Open an issue on GitHub.

An open-source toolkit that lets AI agents create, edit and check native PowerPoint and Excel files. It gives the model tools to build a document, see it, check it and hand it over, through MCP, Python or TypeScript.

A library writes files. Artiwright also lets the agent see every page, find problems like overflowing text or broken formulas, and fix them before handing the file over, with themes and your own templates built in.

No. Artiwright writes the files itself, on your servers. People open the result in PowerPoint or Excel, or in any app that reads .pptx and .xlsx.

They're planned. The same tools and the same loop will cover them, so agents built today won't need to change.

Any model that can call tools, through ready-made helpers for Google ADK and LangGraph, a TypeScript library, or the MCP server. Choose a capable one: in the published runs, small fast models took many more steps and sometimes changed figures, while capable models finished in a few minutes with every number right. Whatever the model, Artiwright checks a deck's figures against its workbook before saving: a table or text box made mostly of figures the workbook doesn't have stops the save, and stray figures come back for the agent to check. Read more →

Yes, that's what it's for. Your pipeline does the research, analysis and citations; hand the result to Artiwright's agent and it makes the deck or workbook. In the research-brief run that took about two minutes, with the citations kept on every slide. Read more →

Yes. Attach a .potx or .xltx template, or an existing .pptx or .xlsx, and the agent works inside it. Masters, fonts and colors are kept, and what it doesn't change stays as it was.