Controlling a fleet of Claude Code agents from Telegram

Controlling a fleet of Claude Code agents from Telegram

Cortex OS: Revolutionizing Control of Claude Code Instances

Introduction to Cortex OS

  • Cortex OS is a system designed to control and manage multiple instances of Claude code through Telegram, showcasing its orchestration capabilities.
  • The system utilizes tmux terminals for programmatic control over numerous Claude code CLI instances, allowing seamless communication between agents.

Communication Between Agents

  • Messages sent via Telegram are relayed to all connected agents in their respective tmux terminals, enabling coordinated responses.
  • Each instance retains the full functionality of Open Claude while facilitating inter-agent messaging and analytics on behavior.

Features of Cortex OS

  • The plan mode feature allows agents to propose plans directly in Telegram, with options for approval or denial that reflect back into the tmux terminal.
  • A custom dashboard provides an overview of tasks, approvals, online agents, and live activity feeds for monitoring agent performance.

Task Management and Analytics

  • Users can access a Kanban board for task management and view detailed activity logs across the organization.
  • The analytics tab offers insights into agent uptime, message history, task completion rates, and effectiveness ratings on a scale from 1 to 10.

Upcoming Features and Enhancements

  • Future updates include a knowledge base for file vectorization and search capabilities within workspaces.
  • An auto research integration optimizes individual agent performance metrics while contributing to a skills library accessible by the community.

Migrating Cortex OS: Expanding Accessibility

Transitioning from Mac to Node

  • The original version of Cortex OS was limited to Mac users; migration to Node aims at broader accessibility across operating systems.
  • An assigned agent utilized M2C1 development skills to analyze the Mac-native version's codebase for successful migration.

Testing New Implementations

  • A test instance created under the new Node architecture demonstrates effective messaging through Telegram while maintaining core functionalities from the original version.

Native iOS App Development: Streamlining User Experience

Creation of Native iOS Application

  • Coordinated agents developed a native iOS app using Expo package technology overnight, enhancing user interaction without needing external bot tokens or Telegram integration.

Conclusion on System Value

  • The rapid advancements made within 48 hours highlight significant productivity gains; future pricing adjustments are anticipated as access expands.
Video description

This is the craziest thing I have ever built with Claude Code. One system that spins up and orchestrates as many Claude Code instances as I want, all controlled from Telegram, all talking to each other, with a custom dashboard tracking every agent, task and approval. In the last 48 hours my agents migrated the whole thing to Node so Windows users can run it, and built me a native iOS app overnight. It is called cortextOS and it is running my actual business right now. Link in bio.