← All writing

AI

Stigmergy: How AI Agents Can Coordinate Like Ants

Mani G 3 min read

A line of glowing robot ants follows a teal trail across a dark circuit-board ground, passing small laptops, with a termite-mound tower of code blocks in the background

Stigmergy is a word most people meet once, in a biology lecture, and then forget. It's back. On November 30, a startup called Alike came out of stealth with $5.5 million in pre-seed money to apply stigmergy to AI agents, and I think the idea deserves more attention than the funding round does.

What stigmergy means

The French biologist Pierre-Paul Grassé coined the term in 1959 while studying termites. It comes from two Greek words: stigma, a mark or sign, and ergon, work. Put simply, it's coordination through the environment instead of through conversation.

One termite drops a mud pellet. The pellet itself nudges the next termite to drop another one nearby. Nobody holds a blueprint, nobody runs a stand-up meeting, and you still end up with a mound that has ventilation. Ants do the same thing with pheromone trails. An ant that finds food lays a scent on the way home, other ants follow the scent, and the trail network becomes the colony's shared memory.

Computer scientists borrowed this decades ago. Ant colony optimization, a family of search algorithms, drops "virtual pheromones" on promising paths so later searches favour them. So the concept isn't new to software. Pointing it at LLM agents is.

Why stigmergy suits AI agent swarms

Here's the problem Alike says it's solving. Its homepage claims that every hour AI saves comes with 35 minutes of re-explaining. I can't verify that number independently, but the pain is familiar to anyone running more than one agent. Agent A figures out that the staging database needs a VPN. Agent B, an hour later, rediscovers it from scratch. You, the human, end up as a switchboard, copy-pasting context between tabs.

The usual fix is to make agents talk to each other: message boards, chat channels, manager agents. That scales badly. Ten agents chatting is a meeting. A thousand agents chatting is a DDoS on your token budget.

Stigmergy flips it. Agents don't message each other at all. Each one leaves a trace of what it tried, changed and learned in a shared space, and the next agent reads the space before it starts. According to Alike's launch announcement, the platform supports more than 20 agent harnesses, including ones from Anthropic, OpenAI, Gemini, Cursor and Cognition, records every action for auditing, and makes agents verify the certainty of knowledge left by other agents before acting on it. The company says early users run 6x more agents than before. That's the company's own figure, so treat it as a claim, not a benchmark.

A quick example

Picture three coding agents working on the same repo. Agent one hits a flaky test, digs in, and finds it fails only when the timezone isn't UTC. In a stigmergic setup it doesn't ping anyone. It leaves a trace: "test_billing flaky, cause is TZ, fixed by pinning TZ in CI config." Agent two, assigned a different bug, touches the billing module, sees the trace, and skips an hour of confusion. Agent three never needs to know any of this happened, unless it wanders into billing too.

That's the whole trick. The environment remembers so the agents don't have to.

My take

I like this more than most agent-swarm pitches, mostly because it's honest about where coordination costs go. Humans already work this way when it goes well. A good commit message, a README note, an AGENTS.md file: these are stigmergic traces. The trail outlives the ant.

The risk is the obvious one. Ant trails work because a bad trail evaporates. If an agent leaves a confidently wrong trace, every agent after it may follow it straight off a cliff. Alike's verification step is aimed at exactly that, and it's the part I'd test hardest before trusting a swarm with production code. The company is opening a waitlist and beta now, with general availability planned for Q1 2027.

So here's my question for you: if your agents left trails, how long should a trace live before it fades, a day, a sprint, or until a human signs off on it?