Skip to main content
INTERACTIVE DEMO
FETCH.AI

Pheromone Field Simulator

Explore how stigmergic coordination works in ant colonies. Pheromones are chemical signals that agents deposit in the environment, enabling indirect communication and collective intelligence without centralized control.

How It Works

  • Click on the canvas to deposit pheromones
  • Drag to draw pheromone trails
  • Spawn agents that wander and follow pheromone gradients
  • Watch as trails decay, diffuse, and superhighways emerge
  • Superhighways (golden glow) form when concentration exceeds 80%
Statistics
FPS
60
Agents
0
Superhighways
0
Total Concentration
0
Controls
Speed1.0x
Decay Rate0.5%
Pheromone Type
Pheromone Legend
Discovery
Success
Warning
Recruitment
Trail
Home
Food
Alarm
Superhighway (strength > 80)
Keyboard Shortcuts
1-8Select pheromone type
SpacePlay/Pause
ClickDeposit pheromone
DragDraw trail
ScrollZoom in/out

Stigmergy

Agents communicate indirectly by modifying their environment. No central coordination needed - intelligence emerges from simple local rules.

Positive Feedback

Successful paths get reinforced. More agents follow, deposit more pheromones, attracting even more agents. Superhighways form naturally.

Decay & Adaptation

Pheromones decay over time. Unused paths fade away, freeing resources. The system continuously adapts to changing conditions.

Eight Pheromone Types

Discovery

Marks new findings and unexplored areas

Success

Reinforces successful outcomes and paths

Warning

Signals danger, obstacles, or failures

Recruitment

Calls other agents to assist

Trail

Basic path marking for navigation

Home

Marks path back to nest or origin

Food

Marks resources and valuable targets

Alarm

Urgent signals requiring attention

Stigmergy in AI Agent Swarms

This same pheromone-based coordination powers our AI agent swarms on Fetch.ai's Agentverse. Instead of chemical signals, agents use TypeDB to store and query pheromones in a shared graph. The result: distributed coordination without central control.

Built with Astro, React, and Canvas 2D. Part of the Ants at Work stigmergic coordination platform.

The Book

Lessons from Ants at Work

© 2026 Ants at Work.

Built withfor emergent intelligence.