LogoLogo
  • 📘Introduction
    • What is Forge?
    • Why We Built Forge
  • 🧠How Forge Works
    • Core Architecture
    • Agent System Overview
  • Model Context Protocol (MCP)
  • On-Chain Data Indexing
  • AI Query Handling
  • ⚙️Using Forge
    • Setting Up Forge
    • How to Ask Questions
  • Supported Use Cases
  • Interacting with Agents
  • Limitations and Data Scope
  • 🛠️Advanced Features
    • Agent Personalities and Prompt Logic
  • Creating Custom Agents
  • Integrating External APIs
  • Running Multi-Agent Workflows
  • Token Behavior Tracking
  • Suspicious Wallet Detection
  • 📀Forge Modules
    • Liquidity Pool Scanner
  • LP Burner Tracker
  • Telegram Sniper Detector
  • Contract Creator Profiler
  • Whale Movement Watcher
  • ⚙️Developer Tools
    • Custom Prompt Engineering
  • 📃Appendix
    • Glossary
    • Security and Privacy
    • Roadmap and Vision
Powered by GitBook
On this page
  • What Is an Agent Personality?
  • Prompt Templates
  • Tones and Styles
  • Customizing Prompt Logic
  • Multi-Agent Prompt Strategy
  • Prompt Tokens and Cost Control
Export as PDF
  1. Advanced Features

Agent Personalities and Prompt Logic

At first glance, Forge feels like a single unified assistant. But under the surface, each agent has its own personality, tone, and logic for how it processes data and answers questions. This design choice is intentional. It makes responses more accurate, more useful, and more human.

This page explains how agent personalities work, how prompt logic is structured, and how both can be customized depending on who’s using Forge.


What Is an Agent Personality?

An agent personality is a set of traits that shape:

  • How the agent interprets data

  • How it speaks to the user

  • What kind of assumptions it makes

  • How it frames its answers

For example:

  • A TokenAgent may act like a cold risk auditor — precise, structured, and cautious.

  • A WalletAgent may act like a detective — connecting dots, identifying patterns, and flagging suspicious activity.

  • A SniperAgent may act like a sentry — fast alerts, short and blunt.

Each personality is tuned to match the kind of task the agent is doing and the user’s expectations.


Prompt Templates

Behind every Forge response is a prompt template — a structured format that includes:

  • Context (what just happened on-chain)

  • Instruction (what the agent is supposed to do)

  • Voice (how the answer should sound)

  • Filters (what to include or leave out)

An example prompt for the TokenAgent might look like:

vbnetCopyEditContext:
Token $RUG launched 3 minutes ago with 10 SOL LP. Ownership not renounced. LP not burned. Deployer has 5 previous launches, 4 of which were rugs. Volume has hit $20k.

Instruction:
Evaluate token safety and return a human-readable risk profile.

Voice:
Neutral, informative, short summary first, then optional detail.

The model receives this as a single input and generates a focused answer.


Tones and Styles

Forge supports multiple response tones depending on user setting or agent type:

  • Formal – for analysts and dashboards

  • Casual – for degen traders and fast checks

  • Alert-style – short, emoji-tagged, fast warnings

  • Long-form – multi-paragraph breakdowns with context

For example, the same context can return:

Formal:

"This token exhibits several red flags including an unlocked LP, a deployer with multiple past rugs, and early sell activity. Caution is advised."

Casual:

"Looks sketchy. LP not burned, same guy rugged 4 tokens last week. Big sells already hitting."

Alert-style:

"⚠️ Unlocked LP, 4x rug deployer, $20k in, early sells. High risk."


Customizing Prompt Logic

Admins or self-hosted users can change how prompts are built by modifying:

  • What data points are included

  • How much weight is given to each red flag

  • What format the prompt uses (list, paragraph, JSON block, etc.)

  • The instruction sentence (e.g. "Summarize risk" vs. "Give trading advice")

This means Forge can be tailored to different users:

  • Traders who want quick reads

  • Analysts who want breakdowns

  • Developers who want structured data

You don’t need to touch the language model — just change the prompt logic, and the behavior changes instantly.


Multi-Agent Prompt Strategy

For complex questions, Forge may run multiple agents and merge their responses. When this happens, each agent uses its own prompt logic, but the final output is smoothed into one answer.

You can still view each agent’s reply separately, especially if you want raw data or deeper insight into how the model reasoned.


Prompt Tokens and Cost Control

In self-hosted Forge, you can control how much text is sent to the model by:

  • Limiting the number of wallets or tokens included

  • Compressing historical context

  • Removing optional metadata

This helps reduce token usage and latency if you’re running Forge with your own OpenAI or Claude key.

PreviousLimitations and Data ScopeNextCreating Custom Agents

Last updated 12 days ago

🛠️