Version โฆ
A self-expanding AI architecture. From one command to a hive-mind semantic memory system.
The classical Ouroboros โ a snake eating its own tail โ represents a closed loop that shrinks. We invert it: a system that starts minimal and expands with every addition, like a snake regurgitating its tail outward.
A single install command gives you a working AI assistant. Each subsequent step โ adding OAuth, adding Kiro, adding Hermes, adding Telegram โ doesn't just add a feature. It adds a capability multiplier that makes every previous component more powerful.
This is Pirate Claw: a system governed by an algorithm that understands its own history, corrects its own mistakes, and grows more valuable the more it is used.
Each stage unlocks the next. The flywheel never stops โ it only accelerates.
Sub-proxy on localhost:4117. Instant LLM access via Mistral/NVIDIA/Gemini fallbacks.
App store interface at localhost:8080. Add providers, configure OAuth, monitor status.
OAuth via Web GUI. Unlocks Kiro IDE/CLI โ a powerful agentic coding assistant.
Kiro runs in a persistent tmux session. The proxy routes requests to it. Free agentic fallback added to the pool.
Add Hermes via Web GUI. Connects Telegram and WhatsApp as natural language interfaces.
Hermes connects to Honcho and Mem0. Semantic memory persists across sessions and machines.
Hourly cron: sync all memory โ LLM simplifies logic โ sync simplified back. The mind palace sharpens itself.
Each machine joins the round-robin. Agents serve each other. The hive mind emerges.
Parent proxy at pirateclaw.datro.xyz holds API keys as secrets. Round-robins across registered sub-proxies. Falls back to direct API calls when no machines available.
Python server on ports 5000 and 4117. Routes model=kiro to live kiro-cli tmux session. Falls back through provider chain. Systemd service โ survives reboots.
Honcho (structured peer/session/message) + Mem0 (semantic). Hourly Boolean simplification removes contradictions and redundancy. Self-sharpening mind palace.
Memory is stored in two complementary systems:
Structured peer/session/message memory with reasoning conclusions. Tracks relationships, context, and conversation flow.
Semantic memory with automatic deduplication. Stores facts and patterns across all interactions.
An hourly cron job runs the simplification pipeline:
The result is a Mind Palace โ a semantic knowledge base that gets cleaner and more precise over time, not noisier. Every conclusion has a traceable paper trail from inception to present. When a mistake is corrected, the system can identify exactly when the disorganised thinking occurred and why.
This self-reflective audit trail is what makes Pirate Claw valuable: not just intelligence, but accountable intelligence.
Each machine that installs the proxy joins a federated pool. The Cloudflare worker round-robins across all registered machines. If the parent goes down, Hermes falls back to the local sub-proxy directly.
Each Hermes agent has a Telegram bot. All bots join a shared channel in bot2bot mode โ they can consult each other for answers, delegate tasks, and share load. A user's WhatsApp interface mediates through their Telegram bot, which in turn can query the entire network.
When a user asks a question, their WhatsApp Hermes profile consults the Telegram profile, which queries the bot network for the fastest or most knowledgeable response. While idle, each agent serves others in the community โ contributing to the hive mind rather than sitting dormant.
The Boolean-simplified memories are published to a shared knowledge base that every Hermes agent consults on startup. It is the distilled, simplified, contradiction-free output of the entire community's collective reasoning.
The more agents contribute, the more valuable it becomes. This is Pirate Claw in action.
Install the sub-proxy, start kiro, configure Hermes โ all in one command:
Installs sub-proxy on port 5000. Sets up dashboard on port 8080. Configures Hermes. Starts Kiro and other AI tools in tmux.
Source code, installer, Cloudflare worker
Memory sync + LLM simplification pipeline
pirateclaw.datro.xyz โ live API endpoint
localhost:8080 โ WebUI, chat, upgrades
localhost:5000 โ OpenAI-compatible endpoint
Main project site
The algorithm is the government.
The memory is the constitution.
The community is the nation.
This is not a product. It is a protocol.