Open source · FileMaker Pro 21+

AI-powered scripting
for FileMaker Pro

Generate, modify, and validate fmxmlsnippet code that pastes directly into FileMaker with a high degree of confidence.

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 + snippet_examples
4. validate_snippet.py checks for errors
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 code generation and FileMaker's closed environment.

🧠

Context-Aware Generation

AI receives scoped context from your live FileMaker solution — tables, fields, relationships, layouts, and scripts — so generated code uses real IDs and names.

🔍

Automatic Validation

Every generated snippet is validated against canonical templates before it reaches the clipboard. Structural errors, missing attributes, and unbalanced blocks 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.

📐

Step-Level Editing

Work at the individual script step level, not whole scripts. Faster iteration, less destructive, and avoids the duplication problem of full-script paste.

📚

Curated Snippet Library

A growing library of proven, reusable fmxmlsnippet patterns — HTTP requests, error handling, transaction wrappers, UI components, and more.

🛠️

Agent Skills

Opt-in workflows like script preview, code review, and library lookup that extend AI capabilities with structured, repeatable processes.

How it works

Three XML formats bridge FileMaker's closed environment to external tooling. 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
│   ├── snippet_examples/# Canonical XML templates
│   ├── library/         # Curated reusable patterns
│   └── xml_parsed/      # Exploded XML (reference)
└── xml_exports/         # Versioned XML archives

Ready to bring AI into your FileMaker workflow?

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