One prompt.
Finished Word, PowerPoint, Fillable PDF, and IDML.

Give your AI agent the content. K2F turns it into a polished, elegant document.

Use the K2F Skill with an AI agent

Copy and paste into your AI agent:

Works with Cursor, Claude Code, Codex, Workbuddy, Manus, OpenClaw and any agent with npx skills support.

Explore Gallery

·GitHub folder

K2F Ecosystem Hero Deck cover rendered by the K2F engine

Example K2F file.

WHAT IS K2F

K2F is an open document file format — like PDF or DOCX — that AI can easily design and edit, and that can be exported to different formats like Word, PowerPoint, Fillable PDF, and IDML.

Ship in any format you need

Generate production-ready documents straight from your AI agent. Beautiful design. Effortless.

  • Word

    Fully editable DOCX, ready for review and collaboration

  • PowerPoint

    Pixel-perfect slides with zero shifted elements

  • Fillable PDF

    Interactive AcroForm documents, built automatically

  • IDML

    Professional InDesign files for design workflows

  • Markdown & Images

    Clean text exports and high-fidelity renders

Available in Playground, Desktop Reader, and CLI.

EFFORTLESS AI EDITING

Why Agents Love K2F

Restyle with a sentence. Fix without breaking layouts.

  • 01

    Zero-Friction Agent Editing

    DOCX and PDF are hard for AI to manipulate safely. K2F separates content from styles, so agents like Claude or Cursor can rewrite content or restyle documents without breaking the layout.

  • 02

    Semantic-First Restyling

    Want new colors, fonts, or denser text? Just tell your agent:

    “Switch to a dark corporate palette and make headings bolder.”

    K2F recompiles the theme without shifting the layout.

  • 03

    Design without the complexity.

    AI can create sophisticated, modern layouts and visual effects without dealing with the complexity of Word or PowerPoint internals. K2F handles the hard formatting.

  • 04

    Deterministic Rollback

    Every document is a semantic tree. Roll back changes, compare edits, and fix individual sections without affecting the rest.

WHY K2F IS DIFFERENT

FeatureTraditional PDFWord / DOCXPowerPoint / PPTXIDMLNative K2F Engine
AI Read & WriteOpaque & fragileComplex OOXMLComplex shapesComplex XMLNative semantic JSON
Document ExportNativeNativeNativeNativeDirect PDF, DOCX, PPTX, IDML
Fillable FormsManual setupLimitedNot nativeNot nativeNative AcroForm generation
Layout DeterminismFixedReflow-proneRendering-dependentInDesign-dependentDeterministic lockfile
Content / Style SplitFlattenedComplexComplexComplexClean content + JSON theme

Traditional PDF

Opaque Black Box
Traditional PDF illustration: Document content trapped in rigid pixels, locked bounding boxes, and an opaque glass block reflecting AI scanner beams

Meaning trapped in static pixels

Text and layout are frozen into absolute coordinates. AI systems cannot reliably extract hierarchy or modify contents without breaking canonical geometry.

K2F Format

Semantic + Deterministic
K2F format illustration: Layered architecture separating a luminous semantic tree from a deterministically rendered document page with fluid AI editing

Living semantic intent with pixel certainty

Content is expressed as a clean, AI-writable JSON tree. Appearance is governed by controlled primitives, guaranteeing 100% deterministic cross-device rendering.

Consistent like PDF. Editable like code.

HOW IT WORKS

Content in. Document out.

Your agent works with raw content.

K2F turns that into a finished document.

AI Agent

Semantic Content

K2F

Deterministic Layout

Word · PowerPoint · PDF · AcroForm · IDML · Markdown · Images

No manual formatting loop.

No rebuilding the document every time the content changes.

THE ADVANTAGE

Core advantages

Built from the ground up for AI-native document workflows.

  • AI-Native Read & Write

    Structured semantic content lets agents edit with precision — zero layout drift.

  • Deterministic rendering

    Same document = pixel-identical output every time, on every device. No drift, ever.

  • Semantically editable

    AI edits meaning, not coordinates and colors. Precise node-level edits.

  • Precise rollback

    Content is a tree. AI can revert to any historical node without touching the rest.

  • Self-contained file

    Fonts, images, data all packaged into one .k2f file. Send it and it's complete.

  • Restyle the whole document at once.

    K2F can apply the design system consistently across the entire document.

GET STARTED

Get started

Copy and paste into your AI agent:

Works with Cursor, Claude Code, Codex, Workbuddy, Manus, OpenClaw and any agent with npx skills support.

DESIGN PHILOSOPHY

Minimal Structure, Semantic-First Design

At its core, just two parts: content and theme. The engine handles all layout automatically for consistent output everywhere.

  • The content describes what the document means.

  • The theme describes how it looks.

  • The engine determines how it is laid out.

File structure

document.k2f
├── manifest.json# metadata
├── content/root.json# semantic content tree
├── styles/theme.json# theme styles
└── document.K2F.lock# render lock (generated after compile)
content/root.json
1{
2 "id": "invoice.header",
3 "role": "h1",
4 "content": {
5 "type": "text",
6 "value": "STATEMENT #2025-001"
7 }
8},
9{
10 "id": "invoice.details",
11 "role": "body",
12 "content": {
13 "type": "text",
14 "value": "Date: 15 Dec 2025..."
15 }
16}
styles/theme.json
1{
2 "roles": {
3 "h1": {
4 "font_size": 24000,
5 "bold": true,
6 "color": "google_blue_600"
7 },
8 "body": {
9 "font_size": 12000,
10 "color": "ink"
11 }
12 },
13 "palette": {
14 "ink": "#202124",
15 "google_blue_600": "#1A73E8"
16 }
17}

TOOLING

Mature Tooling Ecosystem

Ready to use, right out of the box.