Future AGI × n8n
n8n logo

n8n on Future AGI

Protocols

Future AGI nodes for n8n workflows — eval, log, and guard from any node.

typescript · trace evaluate

What you get

Everything traced, scored, and improvable

One install instruments n8n on OpenTelemetry. Future AGI then layers evaluators, optimisers, and simulations on top of the same trace tree — no second SDK, no double instrumentation.

Trace

Auto-instrumented spans

Every n8n call becomes a span — inputs, outputs, latency, tokens, cost, model name, tool args, retrieval results, and chain steps captured automatically.

Evaluate

70+ evaluators on every span

Attach Groundedness, Context Relevance, Prompt Injection, Toxicity, and 70+ more — purpose-built scorers powered by the Turing eval models, not generic LLM-as-judge.

Optimize

Closed-loop improvement

Pipe failed traces into agent-opt: GEPA, PromptWizard, ProTeGi, and Bayesian search rewrite your prompts with proof of measured gains.

Simulate

Adversarial scenarios at scale

Generate hundreds of personas and run them through your n8n agent before launch — text and voice, scripted or persona-driven.

Quickstart · <3 min

Instrument n8n in three steps

  1. Step 1

    Install the traceAI package

    One package per language, ships from PyPI, npm, and Maven Central.

  2. Step 2

    Register the trace provider

    Set FI_API_KEY and FI_SECRET_KEY, then call FutureAGINode().instrument().

  3. Step 3

    Run your existing n8n app

    No code changes. Traces appear in the Future AGI dashboard within seconds.

Install

npm install n8n-nodes-future-agi

Instrument

import { register } from '@traceai/fi-core';
import { FutureAGINode } from 'n8n-nodes-future-agi';

const tracerProvider = register({
  projectName: 'n8n_app',
  projectType: 'observe',
});

new FutureAGINode().instrument({ tracerProvider });

// Your existing n8n code runs unchanged.
// Every call is now an OpenTelemetry span in Future AGI.

Pick a recipe

What do you want to do with n8n?

Each recipe is a copy-paste page with the exact code, the gotchas, and a working example you can clone.