Document editing API built for Agents

Let your AI agent edit DOCX/PDF documents. Whilst preservingperfect document formatting.

DemoArrow pointing to demo

TRUSTED BY THE BEST ENGINEERS AT

PalantirCapital OneSlaughter and May

Your agent's edit_document tool

Let your agent edit documents perfectly and automate work end-to-end.

// Initialize client
const client = new AgentOffice({
  apiKey: process.env.AGENT_OFFICE_API_KEY
});

// Upload document
const doc = await client.documents.upload({
  file: './contract.docx'
});

// Edit document
await client.documents.edit({
  documentId: doc.id,
  editInstructions: 'Update the effective date to January 20, 2025',
  lookupText: 'This agreement is effective as of',
  trackedChanges: true
});

Build AI that does real work.

Lightning Fast Edits

Edits that take seconds to execute. Send edits in parallel, we will queue them and apply them in the order they are received.

Pixel-Perfect Formatting

Preserves visual styles, layout, and formatting. Our AI can 'see' the document.

Secure

Specify a TTL for all files uploaded; Deploy on your own infrastructure.

import { editDocument } from '@file-minion/sdk';

const response = await editDocument({
  docId: 'abc123',
  operations: [
    { type: 'replace', query: /old/g, value: 'new' },
    { type: 'append', position: 'end', value: '\nSigned' }
  ]
});

console.log(response.status);
Developer Friendly

Clear APIs, SDKs, and examples for quick integration.

Simple, predictable pricing

MonthlyYearlySave 30%
Free
£0/month
20 edits per month
20 MB Maximum file size
24/7 Support
Get Started
Most Popular
Pro
£30/month
£360
Everything in Free
5,000 edits per month
100 MB Maximum file size
Image Based Edits (e.g Signatures)
Get Pro
Enterprise
Custom
Everything in Pro
Unlimited edits
500 MB Maximum file size
DOCX tracked changes
On-Prem Hosting / Dedicated Cloud
Talk to Us

Frequently Asked Questions