Control plane · Build · Agents

An agent is a graph plus a config

The graph decides how the agent works, and the config holds its prompt, model and tools. Use a ready graph, your own code behind a webhook or a graph on the Flutch SDK.

Start from a ready graph

Pick a starter when you create the agent: Assistant with tools runs on the Simple Chat graph, Answers from documents on RAG, Keyword funnels on Campaigns Automation and Plan, act and check on ReAct. The settings form comes from the graph's own schema, and graph types are versioned, for example flutch.simple::1.0.0.

Graph catalog
  • Assistant with tools · Simple ChatCalls a model with your settings and can use MCP tools.
  • Answers from documents · RAGAnswers from documents in your knowledge bases and asks a clarifying question when the search comes back empty.
  • Keyword funnels · Campaigns AutomationRuns funnels: triggers, prewritten steps and scheduled follow-ups.
  • Plan, act and check · ReActPlans the next step, runs it, then checks whether the result is good enough or needs another pass.

Config versions and rollback

Save a change as a new config with a name and notes, and keep one config live. Before it goes live, run your test cases on the new config side by side with the live one, or name it with configId in an Agent API call. Earlier configs stay in the list, and activating one of them is your rollback.

ConfigsExample
  • v5 Shorter answersDraft
  • v4 Refund policy addedLive
  • v3 First releaseActivate to roll back
Try v5 before it goes live
curl https://api.flutch.ai/api/v1/agents/$AGENT_ID/invoke \
  -H "X-API-Key: $FLUTCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"externalUserId": "qa-1", "configId": "<v5 configId>",
       "content": {"text": "Can I return an opened box?"}}'

Your own code behind one webhook

Run the agent on your server in any language, or in an n8n or Make scenario. Flutch sends each customer message as a signed HTTPS POST, delivers your JSON reply to the customer's chat and keeps the conversation and the contact card.

Your reply
{
  "text": "I'll pass this to a colleague, they will reply here shortly.",
  "escalate": true,
  "reason": "Asks for a refund on order 1042"
}

Your own graph on the MIT-licensed SDK

Write the graph in TypeScript with LangGraph.js and @flutchai/flutch-sdk, an MIT package on npm that serves it from your NestJS app with built-in endpoints and streaming. To reach customers, connect the service through a «Your own code» agent.

TypeScript
import { Injectable } from "@nestjs/common";
import { AbstractGraphBuilder, IGraphRequestPayload } from "@flutchai/flutch-sdk";
import { END, MessagesAnnotation, START, StateGraph } from "@langchain/langgraph";
import { ChatAnthropic } from "@langchain/anthropic";

@Injectable()
export class SupportGraph extends AbstractGraphBuilder<"1.0.0"> {
  readonly version = "1.0.0" as const;
  private readonly model = new ChatAnthropic({ model: "claude-haiku-4-5" });

  async buildGraph(_payload: IGraphRequestPayload) {
    return new StateGraph(MessagesAnnotation)
      .addNode("answer", async (state) => ({
        messages: [await this.model.invoke(state.messages)],
      }))
      .addEdge(START, "answer")
      .addEdge("answer", END)
      .compile();
  }
}

Models

Pick a model from the Flutch catalog at the provider's list price plus 5%. The agent's model calls go through the Flutch model router.

Playground

Talk to the agent in the console before you connect a channel. Each tool call opens to show what the agent sent and what came back.

Tools and other agents

Add tools from the Flutch catalog or connect your own MCP server and tick the tools the agent may call. With call_agent one agent asks another for help and can continue the same thread.

Create your first agent

Sign up, start from a ready graph and talk to your agent in the playground. New workspaces start with $5 of credit.