Back to Openfang

Index Body

crates/openfang-api/static/index_body.html

0.6.422.3 KB
Original Source

Overview

Connection Error

Retry

Getting Started

Setup WizardDismiss

Go

Welcome to OpenFang

Get started quickly with the guided Setup Wizard, or configure manually:

Launch Setup WizardConfigure ManuallyDismiss

Agents Running

Tokens Used

Total Cost

Uptime

Channels

Skills

MCP Servers

Tool Calls

Providers

LLM Providers

System Health

Status

Version

Provider

Model

Security Systems

Merkle AuditTaint TrackingWASM SandboxGCRA Rate LimitEd25519 SigningSSRF ProtectionSecret ZeroizeLoop GuardSession Repair

9 defense-in-depth systems active

Connected Channels

MCP Servers

Quick Actions

New Agent Browse Skills Add Channel Create Workflow Settings

Recent Activity View All

No Recent Activity

Activity will appear here once agents start processing.

Chat with an Agent

Create Agent

Spawn a new agent

Configure Provider

Set up an LLM provider

Browse Skills

Explore available skills

Ready Generating...

Sessions+ New

No sessions

Stop

×

Select an agent to start chatting

Choose an agent from the sidebar or go to the Agents tab to create a new one.

✓✗▶

!Generated image

Input

Result

Drop files here

📄×

Available models — pick one or keep typing

All

Switching...

No models found

×

Chat

  • New AgentStop All

Your Agents

Info

Files

Config

ID

State

ModeObserveAssistFull

Profile

Provider Change Save... Cancel

Model Change Save... Cancel

Created

Fallbacks

×

None — add a fallback chain

  • Add

AddCancel

ChatCloneClear HistoryStop

Loading files...

No workspace files found

← Back

SaveSaving...Cancel

Name

System Prompt

Emoji

Color

ArchetypeNone

VibeNoneProfessionalFriendlyTechnicalCreativeConciseMentor Save ConfigSaving...

Tool Filters

Allowlist: only these tools available (empty = all). Blocklist: these tools excluded.

Allowlist ×

Add

Blocklist ×

Add

Create Agent

×

Wizard

Raw TOML

Agent Manifest (TOML) Spawn AgentSpawning...

Agent Name

Emoji

Color

ArchetypeChoose...

ProviderLoading providers…No providers available

Model

System Prompt

Personality

Soul / Persona (editable)

Tool ProfileMinimal — Read-only file accessCoding — Files + shell + web fetchResearch — Web search + file read/writeMessaging — Agents + memory accessAutomation — All tools except customFull — All 35+ toolsCustom (manual capabilities)

Tools included

...

Capabilities Memory Read Memory Write Network Shell Agent Spawn

Provider

Model

Profile

Personality

Back

NextSpawn AgentSpawning...

Execution Approvals

Refresh

Loading...

!

Retry

AllPendingApprovedRejectedExpired

No approvals

When agents request permission for sensitive actions, they'll appear here.

Agent: ·

ApproveReject

Workflows

ListVisual Builder

Loading workflows...

!

Retry

What are Workflows?

Workflows chain multiple agents into automated pipelines. Each step runs an agent with a prompt template, passing output from one step as input to the next. Steps can run sequentially, fan out in parallel, loop, or branch conditionally.
Try the Visual Builder to drag and drop workflow steps.

  • New Workflow
NameStepsCreatedActions
RunEditHistoryDelete

No workflows yet

Chain multiple agents into automated pipelines with branching, fan-out, and loops.

Create Workflow

Create Workflow

×

Name

Description

Steps

Each step runs an agent. Use {{input}} in prompts to pass the previous step's output.

SequentialFan OutConditionalLoop

  • Add Step Create

Input ExecuteRunning...

Result

Name

Description

Steps

Each step runs an agent. Use {{input}} in prompts to pass the previous step's output.

SequentialFan OutConditionalLoop

  • Add Step Save Changes

Node Palette

Drag nodes onto the canvas


Workflow

Export TOMLSave WorkflowAuto LayoutClear

-+Fit

Drag nodes from the palette onto the canvas. Connect output ports (bottom) to input ports (top). Double-click to edit.

Label

AgentSelect agent...

Prompt Template

Model (optional)

Expression

Top port = true, bottom port = false

Max Iterations

Until (stop condition)

Fan-out Count

StrategyWait for allFirst to finishMajority vote


DuplicateDelete

Connection selectedDelete Connection

Generated TOML

Copy to Clipboard

Save Workflow

Name

Description

Save

Scheduler

  • New Job

Scheduled Jobs

Event Triggers

Run History

Loading scheduled jobs...

!

Retry

Scheduled Jobs

Create cron-based scheduled jobs that send messages to agents on a recurring schedule. Use cron expressions like */5 * * * * (every 5 min) or 0 9 * * 1-5 (weekdays at 9am). You can also run any job manually with the "Run Now" button.

NameScheduleAgentStatusDeliveryLast RunNext RunActions

Delivery Log

Loading delivery log...

Configured targets ():

No fan-out targets configured.

Recent deliveries ():

Delivery history will appear here after the next run. Per-run results are not yet persisted — the fan-out engine emits tracing events you can view under Logs.

| ``

| | |

(none) | | | Run...TargetsDel |

No scheduled jobs

Create a cron job to run agents on a recurring schedule. Jobs are stored persistently and survive restarts.

  • Create Scheduled Job

Create Scheduled Job

Job Name

Cron Expression

Format: minute hour day-of-month month day-of-week

Quick Presets

Target AgentAny available agent No agents running. Spawn one first.

Message to Send The message sent to the agent each time this job runs.

Delivery Targets+ Add target

The job output is delivered to the agent's last channel by default. Add one or more fan-out destinations — channels, webhooks, local files, or email — to copy the output to extra destinations each run.

Remove

New Delivery Target

TypeChannelWebhookLocal FileEmail

Channel type-- pick --

Recipient

URL

Authorization header (optional)

Path

To

Subject template (optional) Placeholders: {job}

AddCancel

Create ScheduleCreating...

Edit Delivery Targets

x

Targets are replaced on save. Leave empty to remove all fan-out destinations.

  • Add target

No targets configured.

Remove

New Delivery Target

TypeChannelWebhookLocal FileEmail

Channel type-- pick --

Recipient

URL

Authorization header (optional)

Path

To

Subject template (optional) Placeholders: {job}

AddCancel

SaveSaving...Cancel

Loading triggers...

!

Retry

Event Triggers

Event triggers fire agents in response to system events (agent lifecycle, memory updates, custom events). Create and manage triggers on the Workflows page. This view shows all active triggers for monitoring.

AgentPatternPromptFiresEnabledCreatedActions

| | Delete |

No event triggers

Create event triggers on the Workflows page to fire agents in response to system events.

Loading run history...

Run History

Recent executions of scheduled jobs and event trigger fires. History is aggregated from schedule run counts and trigger fire counts.

TimeNameTypeStatusTotal Runs

No run history yet

Run history will appear here after scheduled jobs or triggers execute.

Channels

Loading channels...

!

Retry

No channels match your search.

1 Configure

2 Verify

3 Ready

Your channel is configured and verified. It will activate automatically.

Edit ConfigDone

Connecting to WhatsApp Web gateway...

!WhatsApp QR Code

Generate New QR

Channel will activate automatically.

📱

Or use the Business API with a Meta developer account.

Have a Meta Business account? Use Business API instead

Refresh QRRemove

← Back to QR scan

Configure via WhatsApp Cloud API (requires a Meta Business developer account).

#How to get credentials

Remove

Skills

Skills & Ecosystem

Skills extend your agents with new capabilities. OpenFang supports the OpenClaw/ClawHub ecosystem (3,000+ community skills) plus local skills.

  • Prompt-only — inject context and instructions into the agent's system prompt (most ClawHub skills)
  • Python / Node.js — executable tools that agents can call during conversations
  • MCP Servers — external tools via Model Context Protocol (GitHub, filesystem, databases, etc.)

Loading skills...

!

Retry

Installed

ClawHub

MCP Servers

Quick Start

(prompt context)

⚙ ConfigureUninstall

No skills installed

Skills add new capabilities to your agents. Browse ClawHub for 3,000+ community skills or create your own.

Browse ClawHubQuick Start

TrendingMost DownloadedMost StarredRecently Updated

CATEGORIES

!

ClawHub may be temporarily unavailable. The OpenClaw ecosystem is hosted at clawhub.ai.

Retry

Clear search

ClawHub

ClawHub

Load More

No skills found for ""

Try a different search term or browse by category.

Back to browse

MCP Servers (Model Context Protocol)

MCP servers provide external tools to your agents — GitHub, filesystem, databases, APIs, and more. OpenFang is compatible with all OpenClaw MCP servers.

Configure MCP servers in your config.toml under [mcp_servers].

Loading MCP servers...

CONNECTED SERVERS

Connected

Tools:

``

CONFIGURED SERVERS

``

``

No MCP servers configured

MCP servers extend your agents with external tools. Add servers to your config.toml:

[[mcp_servers]]
name = "filesystem"
timeout_secs = 30

[mcp_servers.transport]
type = "stdio"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/path"]

OpenFang supports all OpenClaw-compatible MCP servers.

Quick Start Skills

Create prompt-only skills with one click. These inject context into your agent's system prompt — no code required. Perfect for adding domain expertise or workflow guidelines.

PROMPT

Loading skill details...

ClawHub

Security Warnings

Skills are security-scanned before installation. Prompt injection and malware patterns are blocked.

Configure:

Loading configuration…

!

This skill does not declare any runtime config variables.

``required user override env: default unresolved ⚠

Leaving blank and saving keeps existing override. Use Reset to remove it. Reset to env/default

Values are stored in ~/.openfang/config.toml under [skills.]. Secrets are redacted in this view.

Cancel

Hands

Hands — Curated Autonomous Capability Packages

Hands are pre-configured AI agents that autonomously handle specific tasks. Each hand includes a tuned system prompt, required tools, and a dashboard for tracking work.

Loading hands...

!

Retry

Available

Active

REQUIREMENTS

Details

No hands available

Hands are curated AI capability packages. They will appear once the kernel loads bundled hands.

Loading active hands...

StatsDashboardView BrowserPauseResumeError — deactivate and reactivateDeactivate

No active hands

Activate a hand from the Available tab to get started. Each hand spawns a dedicated agent.

Browse Hands

AGENT CONFIG

Provider

Model

REQUIREMENTS

``

TOOLS

DASHBOARD METRICS

``

Activate

Dependencies

Configure

Launch

Detected on your system

macOSWindowsLinuxpip

``

Token entered

#Or set as environment variable

``

Get API Key →Docs

Manual download →

Installing dependencies...

Installation complete!

Waiting...

Instance name (optional)

Leave empty for a single instance of this hand. Set a name to run multiple instances in parallel.

No configuration needed for this hand. Click Next to continue.

Dependencies

Model

CancelBack

Next Next

RefreshClose

Loading browser state...

!

!Browser screenshot

Title:

📈

Live Trading Dashboard

Refresh

Loading dashboard data...

Portfolio Value

Total P&L

Win Rate

Sharpe Ratio

Max Drawdown

Trades

Equity Curve

No equity data yet

Daily P&L

No P&L data yet

Signal Radar

No signal data yet

Watchlist Heatmap

TickerChangeSignalConfidence

|

No watchlist data yet

Recent Trades

DateTickerSidePriceQtyP&L

No trades yet

📈

Could not load dashboard data. Retry

\u2713

Settings

Loading settings...

!

Retry

Providers

Models

Config

Tools

Security

Network

Budget

System

Migration

LLM Providers

OpenFang supports 12 LLM providers out of the box. Configure API keys to unlock models from each provider. Set environment variables and restart, or use the form below to save keys directly.

Save

Or set `` in your environment and restart

Login with GitHub

Visit and enter:

Waiting for authorization...

Install: npm install -g @anthropic-ai/claude-code

TestRemove Key

No API key needed — runs locally or is free

Base URL

Save

Add Custom Provider

Connect any OpenAI-compatible API (vLLM, LiteLLM, LocalAI, etc.)

Provider Name

Base URL (required)

API Key (optional) Add Provider

No providers found

Provider information could not be loaded. Check that the API is running.

Model Catalog

Browse all available models across providers. Models marked "Available" have their provider configured and ready to use.

All ProvidersAll Tiers

Add Custom Model

Model ID (required)

Provider

Context Window

Max Output Tokens

Add Model

🤖

Clear Filters

ModelProviderTierContextInput CostOutput CostStatus

| | | | | | | ✕ |

🔧

Clear Search

ToolDescription

Version

Platform

Uptime

Agents

Default Model

Runtime Configuration

View and edit the active configuration. Changes are applied immediately. For advanced edits, modify config.toml in your OpenFang data directory.

Save

Raw Config JSON (click to toggle)

Loading security data...

Defense in Depth

OpenFang implements 15 layered security features across the entire stack — from network ingress to agent sandboxing to cryptographic audit trails. Core protections cannot be disabled.

Core Protections

Always active. Cannot be disabled.

ALWAYS ON

Protects against:

Configurable Controls

Active with tunable parameters.

CONFIGURABLE

Monitoring & Analysis

Active monitoring systems.

MONITORING

Audit Chain Integrity Verify Now

Run cryptographic verification of the entire SHA-256 Merkle hash chain.

Security Dependencies

sha2 SHA-256 hmac HMAC-SHA256 subtle constant-time ed25519-dalek signing zeroize secret wiping rand randomness governor rate limiting

Peer Networking (OFP)

Link multiple OpenFang instances into a mesh via the OFP wire protocol.

Node: Listening on

Loading peers...

!

Retry

Connected

Total Peers

NodeAddressStateAgentsProtocol

No peers connected

Add a [network] section to config.toml with shared_secret and peer addresses.

A2A External Agents

Discovered agents on other OpenFang/A2A-compatible instances that this node can communicate with.

Discover...

NameURLDescription

No external agents discovered yet. Enter a URL above to discover one.

Budget & Spending Limits

Monitor and control spending across all agents.

Loading budget...

Hourly

Daily

Monthly

Alert threshold: of any limit

Hourly token limit (per agent):

Hourly Limit ($)

Daily Limit ($)

Monthly Limit ($)

Alert (%)

Hourly Token Limit (per agent, 0 = use per-agent values)

Set to 0 for unlimited/per-agent default. Changes apply immediately (in-memory, not persisted to config.toml). Cancel

Top Spenders (Today)

AgentTodayHourly LimitDaily LimitMonthly LimitToken Limit/hr

No spending recorded today.

Migrate from OpenClaw

Seamlessly transfer your agents, memory, workspace files, and channel configurations from OpenClaw to OpenFang.

  • Converts agent.yaml to agent.toml with proper capabilities
  • Maps tools (read_file → file_read, execute_command → shell_exec, etc.)
  • Merges channel configs into config.toml
  • Copies workspace files and memory data

Auto-Detect OpenClawScanning...Enter Path Manually

Specify OpenClaw Path

OpenClaw Home Directory

OpenFang Target Directory

Scan DirectoryScanning...Back

OpenClaw Workspace Found Ready to Migrate

Agents

Channels

Skills

Migrate NowMigrating...Dry RunStart Over

Run Migration for RealStart New Migration

OpenClaw Not Found

Could not auto-detect an OpenClaw installation.

Enter Path ManuallyBack

Analytics

Loading usage data...

!

Retry

Total Tokens

Estimated Cost

API Calls

Tool Calls

Summary

By Model

By Agent

Costs

Token Breakdown

Input Tokens

Output Tokens

Total Cost

API Calls

Tool Calls

ModelCallsInput TokensOutput TokensCostUsage

|

No model usage data yet.

AgentTotal TokensTool Calls

No agent usage data yet.

Total Spend

Today's Spend

Projected Monthly

Avg Cost / Message

Cost by Provider

No cost data yet.

TOTAL

Daily Cost (Last 7 Days)

No daily data yet.

Cost by Model

ModelProviderTierInput TokensOutput TokensCallsCostCost Share

|

No model cost data yet.

Sessions

Sessions

Memory

Loading sessions...

!

Retry

Conversation Sessions

Each conversation with an agent creates a session. Sessions store the full message history so you can resume conversations later, or review past interactions.

SessionAgentMessagesCreatedActions
ChatDelete

No sessions yet

Sessions are created when you chat with agents. Start a conversation to see session history here.

Start Chatting

No sessions match your filter.

Agent Memory

Each agent has its own key-value memory store. Agents use memory to persist preferences, notes, and context between conversations.

Select agent...

Loading memory...

!

Retry

  • Add Key
KeyValueActions

SaveCancel

| EditDelete |

No keys stored

This agent has no memory entries yet. Agents create memory entries automatically during conversations, or you can add them manually.

  • Add First Key

Add Key

Key

Value (JSON) Save

Select an Agent

Choose an agent from the dropdown above to browse and edit its memory store.

Logs

AllINFOWARNERRORClearExport

Verify Chain

Live

Audit Trail

Connecting to log stream...

!

Retry

No log entries yet

Activity will appear here as agents run.

Loading audit log...

!

Retry

Tamper-Evident Audit Trail

Every agent action is logged with a cryptographic hash chain. Use "Verify Chain" to confirm no entries have been altered or deleted.

All ActionsAgent CreatedAgent StoppedMessageTool UsedNetwork AccessShell CommandFile AccessMemory AccessLogin Attempt

#TimestampAgentActionDetailOutcome

No audit entries yet

Activity will appear here as agents operate.

Agent Comms

Send Message Post Task

Connection Error

Retry

Agent Topology

No agents running

Live Event Feed

LIVE

No inter-agent events yet

Send Agent Message

From AgentSelect agent...

To AgentSelect agent...

Message

CancelSending...Send

Post Task

Title

Description

Assign To (optional)Unassigned

CancelPosting...Post Task

Setup Wizard

Skip Setup

Loading...

!

Retry

Welcome to OpenFang

OpenFang is an open-source Agent Operating System. It lets you run AI agents that can chat, use tools, access memory, and connect to messaging channels — all from a single dashboard.

This wizard will help you:

1Connect an LLM provider (Anthropic, OpenAI, Gemini, etc.)

2Create your first AI agent from 10 templates

3Try it out with a quick test message

4Optionally connect a messaging channel (Telegram, Discord, Slack)

Takes about 2 minutes. You can skip any step and configure later.

Get Started

Connect an LLM Provider

OpenFang needs at least one LLM provider to power your agents. Select a provider and enter your API key.

Provider Already Configured

You already have at least one provider set up. You can continue to the next step or configure additional providers.

Popular Providers

READY

Other Providers

READY

Configure Claude Code

Claude Code uses its own CLI authentication — no API key needed.

  1. Install: npm install -g @anthropic-ai/claude-code

  2. Authenticate: claude auth

  3. Click Detect below to verify

Detect Claude Code

Claude Code detected

Claude Code CLI not detected. Make sure you’ve run: npm install -g @anthropic-ai/claude-code && claude auth

Environment variable: ``

API Key Save & Test

Connected successfully

You can test the connection or continue to the next step.

Test Connection

Connected

Back

Create Your First Agent

Pick a template to get started quickly. You can customize the agent later or create more from the Agents page.

Agent Name

Create Agent

Agent "" created successfully

Back

Try Your Agent

Send a quick message to test your new agent. Try one of the suggestions below or type your own.

Thinking...

Send

BackContinue

Connect a Channel Optional

Channels let your agent communicate via messaging platforms. This is optional — you can always use the built-in web chat.

Save

configured and activated.

You can skip this step. The built-in web chat is always available from the Agents page. Add channels any time from Settings → Channels.

Back

You're All Set!

OpenFang is configured and ready to go. Here is a summary of what was set up:

LLM Provider Pre-configured Skipped

First Agent Skipped

Channel None (web chat available)

Next Steps

• Open Agents to start talking to your agent

• Go to Agents to create your first agent

• Browse Skills to add capabilities (web search, code execution, etc.)

• Check Settings for advanced configuration

• Visit Channels to connect messaging platforms

Back

Runtime

Loading runtime info...

Uptime

Agents

Version

Default Model

System

| Platform | | | Architecture | | | API Listen | | | Home Directory | | | Log Level | | | Network | |

Providers

ProviderStatusModelsLatency

Refresh