Agent blueprint

How to build a companion character agent

Free blueprint for a companion character agent. A low-code, single-agent, cloud-hosted stack with 9 connected components. Built around Character.ai, Hume AI, Flowise, ChatGPT / OpenAI. Copy it, export it, or change the answers to fit your project.

Get the code
Your architecture

Companion & character agent

A low-code, single-agent, cloud-hosted stack with 9 connected components.

Sign in to save

Architecture map

Tap a component to see its connections

INTERFACE &TRIGGERSORCHESTRATIONREASONINGMEMORY &KNOWLEDGETOOLS &INTEGRATIONSMONITORING &SAFETYCHAT INTERFACEWeb chat widgetVISUAL AGENT CANVASFlowiseREASONING MODELChatGPT / OpenAICONVERSATION MEMORYBuilt into yourorchestratorLONG-TERM MEMORYMem0CHARACTER & PERSONACharacter.aiEMOTION-AWARE VOICEHume AIGUARDRAILSInput & outputchecksTRACING & EVALUATIONLangfuse

Swipe sideways to see the whole map

Tool configuration

Interface & triggers

  • Chat interface

    Where people talk to the agent

    Web chat widget

    or Slack or Teams bot

Orchestration

  • Visual agent canvas

    Drag-and-drop agent loop you can extend

    Flowise

    or Langflow, Dify

Reasoning

  • Reasoning model

    General-purpose model with tool calling

    ChatGPT / OpenAI

    or Claude, Gemini

Memory & knowledge

  • Conversation memory

    Keeps track of the current chat or task

    Built into your orchestrator
  • Long-term memory

    Remembers people, preferences and past outcomes

    Mem0

    or LangChain memory

Tools & integrations

  • Character & persona

    Keeps a consistent personality and backstory

    Character.ai

    or Pi

  • Emotion-aware voice

    Hears and responds to tone of voice

    Hume AI

Monitoring & safety

  • Guardrails

    Blocks unsafe input, prompt injection and data leaks

    Input & output checks

    or Allow-list of tool actions

  • Tracing & evaluation

    Records every step, cost and answer quality

    Langfuse

    or LangSmith, Weights & Biases

Set up your agent, step by step

Tick each step as you finish it. Your progress is saved with this plan in your AItooling account.

0 of 18 done

AItooling never signs up for you and never asks for your passwords or keys. You create each account yourself on the tool's own website, and only your ticks are saved here.

Sign in and save this plan to keep your progress in your account.

  1. 1Create your accounts

    • Sign up or install it, then make a new project for this agent.

    • Sign up, create an API key and set a monthly spending limit before anything else.

    • Sign up and create a new database or index just for this agent.

    • Sign up and connect only the apps this agent needs, with read-only access where you can.

    • Sign up and connect only the apps this agent needs, with read-only access where you can.

    • Sign up and turn on logging so you can review what the agent does.

  2. 2Build it in this order

  3. 3Launch your agent

    • Copy the ready-made code for this agent. It hides secrets and personal data before the AI model sees them.

    • Put each key in a password manager or your hosting's secret settings. Never paste keys or passwords into AItooling or a chat.

    • Start small, read every answer yourself, and only then let other people use it.

Want to go deeper?

Read our step-by-step guides on building agents. Browse guides

More AI agent blueprints