🗄️
📂
🧠
📂
agentic-fm

The agentic harness
for empowering Claris FileMaker

Analyze solutions, generate/update scripts, design layouts, build schema & more — all through AI that understands your live FileMaker environment.

(em dashes optional)

Open source · FileMaker Pro 21+
workflow
# Export solution context from FileMaker
1. Run "Explode XML" → parses solution into agent/xml_parsed/
2. Run "Push Context" → writes agent/CONTEXT.json
# AI generates validated fmxmlsnippet
3. AI reads context + step catalog
4. Lint agentic code as valid
5. clipboard.py loads snippet to clipboard
# Paste directly into FileMaker
6. Cmd+V in Script Workspace → done

Built for FileMaker developers who use AI

Everything you need to bridge the gap between AI and FileMaker's closed environment.

🧠

Solution Intelligence

AI receives scoped context from your live FileMaker solution — tables, fields, relationships, layouts, scripts, and custom functions — so every action uses real IDs and names.

🔍

Automatic Validation

Every generated snippet is validated against canonical templates before it reaches the clipboard. Structural errors, missing attributes, unbalanced blocks, and coding convention violations are caught immediately.

📋

Direct Clipboard Integration

Generated fmxmlsnippet code is loaded onto the macOS clipboard in the correct binary format. Paste directly into FileMaker — no manual XML handling required.

📐

Script Composition

Generate, modify, and refactor scripts at the step level with full call-tree awareness. Faster iteration, less destructive, and avoids the duplication problem of full-script paste.

🖥️

Visual Script Editor

Write scripts in human-readable format with Monaco editor autocomplete, inline squiggle validation, live XML preview, and integrated AI chat — in your browser or embedded in FileMaker.

🔎

Solution Analysis

Profile an entire solution — data model, business logic, UI layer, integrations, and health metrics. Understand what you have before deciding what to build.

🗂️

Schema Design & Construction

Plan data models with ERD generation, then build tables and fields directly via OData. From whiteboard to working schema without leaving the conversation.

🎨

Layout Design

Spec and preview layout objects, field bindings, portals, and button wiring through an interactive design conversation — then generate output for FileMaker or the web viewer.

⏱️

Context Staleness Detection

CONTEXT.json carries a timestamp. The validator warns when context is more than 60 minutes old, and the webviewer StatusBar shows context age with amber and red indicators.

📚

Curated Snippet Library

A growing library of proven, reusable fmxmlsnippet patterns — HTTP requests, error handling, transaction wrappers, UI components, and more. Personal library browsing coming to the webviewer.

💡

FileMaker Knowledge Base

Community-curated behavioral intelligence about FileMaker — found set mechanics, single-pass loops, variables, error handling, script parameters, and other nuances that AI needs to get things right.

🛠️

20+ Agent Skills

Specialized workflows for solution analysis, debugging, refactoring, testing, schema building, layout design, and more — extending AI with structured, repeatable processes.

How it works

agentic-fm connects AI to FileMaker through structured context, validated output, and live solution feedback. Three XML formats make this possible — agentic-fm uses two of them.

Save a Copy as XML

The modern FileMaker export format. Covers scripts, layouts, schema, and more. This is the input format — your solution exported for AI to read.

fmxmlsnippet

The clipboard format FileMaker uses for copy/paste. This is the output format — AI generates snippets that paste directly into the Script Workspace.

Validated Output

Every snippet is validated against canonical templates before reaching the clipboard. Structural errors, missing attributes, and unbalanced blocks are caught automatically.

Project structure

A clear separation between FileMaker artifacts, AI context, and working output.

agentic-fm/
├── filemaker/          # FileMaker artifacts to install
│   ├── Context.fmfn     # Custom function source
│   └── agentic-fm.xml   # Companion scripts
├── agent/
│   ├── CONTEXT.json     # Scoped context (from FileMaker)
│   ├── sandbox/         # AI output — paste from here
│   ├── context/         # Pre-extracted index files
│   ├── scripts/         # Validation, clipboard, conversion
│   ├── catalogs/        # Step catalog — step definitions
│   ├── snippet_examples/# Canonical XML templates
│   ├── library/         # Curated reusable patterns
│   ├── docs/knowledge/  # FileMaker behavioral intelligence
│   └── xml_parsed/      # Exploded XML (reference)
├── webviewer/           # Visual script editor (Preact + Monaco)
└── xml_exports/         # Versioned XML archives

Ready to bring AI into your FileMaker development?

agentic-fm is open source and free to use. Star the repo to follow development, or jump straight into the installation guide.