Built by n8n workflow experts — Free forever

Fix Your n8n AI Agent Before It Breaks

Upload your workflow, system prompt, and tool definitions. Our AI diagnoses issues, optimizes your prompt through 7 proven steps, validates the output, and runs a live sandbox simulation — all in under 60 seconds.

Live LLM Testing
Schema Validation
7-Step Optimization

Four Phases to a Bulletproof Agent

Every optimization follows a rigorous, transparent process. You see exactly what changed and why.

1. Instant Diagnosis

Upload your n8n workflow JSON + system prompt. Our AI searches the latest n8n docs in real-time and identifies critical issues: ambiguity, missing formats, tool mismatches, and expression errors.

Free Preview

2. Iterative Optimization

We apply 7 concrete optimization steps: Structure Injection, Tool Alignment, Memory Hardening, Anti-Hallucination Guards, Error Handling, Expression Sanitization, and Final Polish. Each step is logged with before/after diffs.

Email Unlock

3. Static Validation

A simulated agent interaction verifies that your optimized prompt correctly instructs the LLM to output valid tool calls and JSON. We catch schema mismatches, missing keys, and hallucinated tools before deployment.

Email Unlock

4. Live Sandbox

Enter a test message and watch a real tool-calling loop execute using the same Minimax API that n8n would call. Mock tools return realistic responses. We flag hallucinations, invalid JSON, infinite loops, and broken error handling.

Email Unlock

Why AgentRefine?

We built this because we were tired of n8n AI agents failing silently. Every feature solves a real pain point we experienced in production.

1

Real-Time Doc Search

MiniMax M3 searches the latest n8n documentation before analyzing your prompt. No outdated advice.

2

Transparent Optimization

Every change is explained with before/after diffs. You learn while your prompt improves.

3

Live Sandbox Testing

Run real LLM calls against mock tools before deploying. Catch hallucinations and loops early.

4

Schema Validation

Verify that your optimized prompt actually produces valid JSON and correct tool parameters.

5

Self-Correcting Loop

AI evaluates its own work against a 10-point checklist. Re-iterates until score >= 90/100.

6

Zero Infrastructure

No vector DB, no embeddings, no complex setup. Just Next.js + PostgreSQL + API keys.

Start Your Free n8n Agent Diagnosis

Upload your n8n workflow file (.json) or paste your prompt instructions below. System prompt is auto-extracted from workflow JSON!

Supports .json, .md, .txt

Drag & drop your workflow.json or instructions.md

Auto-extracts agent system prompts, model configs, and tool nodes automatically

Paste raw n8n workflow export

The system instructions provided to the AI Agent node in n8n.

No credit card requiredTop 3 issues freeAuto-extracts n8n Agent Nodes