What Why How Whitepaper Get Started GitHub X $MIND
$MIND · Collective Intelligence Protocol

Many Agents.
One Mind.

What if AI agents could work together like neurons in a brain? Squaremind is an open protocol for building autonomous AI collectives that coordinate, learn, and evolve—without central control.

Get Started Free View on GitHub
1000+
Concurrent Agents
0
Central Controllers
100%
Open Source

AI agents that work together like a hive mind

Squaremind is an open-source protocol for building collectives of AI agents that coordinate autonomously. Instead of one AI doing everything, many specialized agents collaborate—each with their own identity, skills, and reputation.

Think of it like a company where every employee is an AI: a coder, a reviewer, a researcher, a writer. They bid on tasks, stake their reputation, and get rewarded for good work. No manager needed.

The result? Emergent collective intelligence—the whole becomes greater than the sum of its parts.

See how it works →
🧑‍💻
🔍
COLLECTIVE
MIND
📝
🛡️

Current AI frameworks are broken

Building multi-agent systems today is painful. Here's why.

🎯

Single Point of Failure

One orchestrator controls everything. If it fails or makes bad decisions, the whole system breaks.

🔒

No Agent Identity

Agents are disposable. No persistence, no memory, no way to build trust over time.

🎲

Unfair Task Assignment

Tasks are assigned arbitrarily. No market, no bidding, no reputation—just hardcoded rules.

🧱

Rigid Hierarchies

Fixed workflows that can't adapt. No emergence, no self-organization, no intelligence.

🏝️

Isolated Knowledge

Each agent starts from scratch. No shared memory, no collective learning.

📈

Doesn't Scale

Adding more agents adds more complexity. Coordination becomes a bottleneck.

Squaremind fixes all of this

Decentralized Coordination

No central orchestrator. Agents coordinate through gossip protocols and consensus. The system runs even if individual agents fail.

Cryptographic Identity

Every agent has an Ed25519 keypair. Persistent identity, verifiable actions, reputation that follows them.

Fair Market Mechanisms

Agents bid on tasks based on capability and stake reputation. Best match wins. Transparent, fair, efficient.

Emergent Intelligence

Self-organizing swarms that adapt and evolve. The collective gets smarter as it grows.

What can you build with Squaremind?

From coding swarms to research collectives, the possibilities are endless.

💻

Autonomous Dev Teams

A collective of coders, reviewers, and testers that builds software autonomously. Submit a feature request, get working code.

sqm task submit "Build user auth with JWT"
→ Coder writes code
→ Reviewer checks quality
→ Tester runs tests
✓ Feature complete
🔬

Research Swarms

Multiple agents researching different angles of a problem, synthesizing findings, and generating insights no single agent could.

sqm task submit "Research quantum computing trends"
→ 5 researchers explore different sources
→ Synthesizer combines findings
✓ Comprehensive report
🎨

Creative Collectives

Writers, editors, and designers collaborating on content. Brainstorm, draft, refine, polish—all autonomously.

sqm task submit "Create a landing page for..."
→ Writer creates copy
→ Designer suggests layout
→ Editor polishes
✓ Publication ready
🛡️

Security Auditors

A team of security specialists that continuously scans code, identifies vulnerabilities, and suggests fixes.

sqm task submit "Audit smart contract"
→ Scanner finds issues
→ Analyst assesses severity
→ Fixer proposes solutions
✓ Security report

The Path to AGI

AGI won't come from a single massive model. It will emerge from many specialized intelligences working together—just like the human brain is made of billions of specialized neurons.

Squaremind is infrastructure for that future.

Specialization

Instead of one model trying to do everything, many agents master specific domains. A coding agent that's world-class at code. A research agent that excels at synthesis.

Coordination

The magic happens when specialists collaborate. Squaremind provides the protocols for agents to find each other, communicate, and work together effectively.

Emergence

When enough agents coordinate well, something remarkable happens: collective intelligence emerges. The swarm becomes smarter than any individual.

From task to completion—no orchestrator needed

Four steps. Fully autonomous. Verifiable at every stage.

1

Task Broadcast

You submit a task. It spreads through the network via gossip protocol—every agent hears about it.

2

Fair Bidding

Capable agents bid based on their skills. They stake reputation—putting their track record on the line.

3

Best Match Wins

Transparent matching algorithm selects the optimal agent. No favoritism, no politics—just merit.

4

Execute & Verify

Agent completes task. Quality is verified. Good work = reputation boost. Bad work = reputation penalty.

// It's this simple
collective := squaremind.NewCollective("MySwarm")

// Agents coordinate autonomously
result := collective.Submit("Build OAuth2 authentication")

// Many agents. One mind. One result.
fmt.Println(result.Output)

Built for autonomous coordination

Everything you need to build AI collectives that actually work.

🔐

Cryptographic Identity

Every agent has an Ed25519 keypair. Actions are signed and verifiable. Identity persists across sessions.

⚖️

Fair Task Markets

Agents bid on tasks they're qualified for. Reputation staking ensures skin in the game. Best agent wins.

🧠

Shared Memory

Collective knowledge that persists. Agents learn from each other. The swarm gets smarter over time.

📊

Reputation System

Multi-dimensional trust scores. Reliability, quality, cooperation, honesty—all tracked and verifiable.

🔄

BFT Consensus

Byzantine fault-tolerant voting for collective decisions. The swarm agrees, even with bad actors.

📈

Cognitive Scaling

Intelligence grows superlinearly with collective size. More agents = exponentially more capability.

Up and running in 2 minutes

No signup required. No API keys needed for local testing.

1

Install

Clone and build, or use Go install directly.

# Option 1: Go install
go install github.com/square-mind/squaremind/cmd/sqm@latest

# Option 2: From source
git clone https://github.com/square-mind/squaremind.git
cd squaremind && make build
2

Create a Collective

Initialize your swarm and spawn some agents.

# Initialize
sqm init MySwarm

# Spawn agents
sqm spawn Coder --capabilities code.write,code.review
sqm spawn Reviewer --capabilities code.review,security
3

Submit Tasks

Give the collective something to do.

# Submit a task
sqm task submit "Implement user authentication" --requires code.write

# Run the collective
sqm run

Read the Whitepaper

Dive deep into the protocol architecture, coordination mechanisms, and security model.

1

Agent Identity Protocol

Ed25519 cryptographic identity, capability declarations, and multi-dimensional reputation scoring for every agent.

2

Fair Coordination Layer

Gossip protocols for message propagation, fair task markets with reputation staking, and BFT consensus.

3

Collective Mind Substrate

Shared memory, knowledge graphs, and bio-inspired swarm patterns for emergent collective intelligence.

+

Security & Future Work

Threat models, trust assumptions, and the roadmap for persistent storage, multi-collective communication, and more.

Common questions

Is this free to use?

Yes, Squaremind is 100% open source under the MIT license. Use it for anything—commercial or personal.

Do I need API keys?

For local testing, no. For real LLM capabilities, you'll need an Anthropic or OpenAI API key.

How is this different from LangChain/AutoGPT?

Those are orchestration frameworks with central control. Squaremind is a decentralized protocol where agents self-organize through markets and consensus.

What's the $MIND token for?

$MIND is the native token on Solana. It's used for governance and supporting the project. The protocol itself doesn't require tokens.

$MIND

The native token of the Squaremind protocol on Solana.

$ Buy $MIND on BAGS.FM

CA: 7X6QxLvNddxsSTt6Ai9c5sMrukEqVpJq2P9J6ujvBAGS

Join the Mind

Many Agents. One Mind.

Star on GitHub Follow @squaremindai