Future AGI × Spring Boot Starter
Spring Boot Starter logo

Spring Boot Starter on Future AGI

Agent Frameworks

Auto-configuration starter for tracing Spring Boot AI apps in seconds.

java · trace

What you get

Everything traced, scored, and improvable

One install instruments Spring Boot Starter 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 Spring Boot Starter 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 Spring Boot Starter agent before launch — text and voice, scripted or persona-driven.

Quickstart · <3 min

Instrument Spring Boot Starter 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 SpringBootStarter().instrument().

  3. Step 3

    Run your existing Spring Boot Starter app

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

Install

<dependency>
  <groupId>ai.futureagi</groupId>
  <artifactId>traceai-spring-boot-starter</artifactId>
  <version>LATEST</version>
</dependency>

Instrument

import ai.futureagi.fi.instrumentation.TraceProvider;
import ai.futureagi.traceai.spring_boot_starter.SpringBootStarter;

TraceProvider provider = TraceProvider.builder()
    .projectName("spring_boot_starter_app")
    .projectType("observe")
    .build();

new SpringBootStarter().instrument(provider);

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

Pick a recipe

What do you want to do with Spring Boot Starter?

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

Recipes for Spring Boot Starter