Build Document Editing Agents

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

Scroll down to load demo...

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
});

Automate Work In
Education

Lightning bolt icon representing fast document edits
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.

Star icon representing pixel-perfect formatting quality
Pixel-Perfect Formatting

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

Padlock icon representing secure document handling
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
1 MB Maximum file size
24/7 Support
Get Started
Most Popular
Pro
£5/month
£60
Everything in Free
5,000 edits per month
5 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
DOCX Comments
On-Prem Hosting / Dedicated Cloud
Talk to Us

Frequently Asked Questions