Skip to content

varun86/kronus

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 kronus.tech

Kronus

Kronus

Open-source AI agent system built on Claude Code.

Build personal AI tools, run them from your phone, remember everything across projects.

License: MIT v1.1 Website


v1.1 β€” Stability Update

Fixed message queuing (queued messages now process correctly instead of getting stuck), image/PDF sending from Claude to Telegram, install script failures on macOS (grep -P, broken persona file), and silent access.json ID mismatches. Daemon now logs errors instead of swallowing them, and warns when Telegram polling goes stale. Updated setup docs with BotFather privacy mode instructions, manual project registration guide, and expanded troubleshooting. If you installed v1.0, pull the latest and re-run ./scripts/install.sh.

What is Kronus?

Kronus turns Claude Code into a complete AI system you can run from anywhere. It adds three things Claude Code doesn't have out of the box: mobile access (via Telegram), persistent memory (a knowledge graph that spans sessions and projects), and a team of specialized agents that handle different types of work.

You describe what you want built. Claude builds it. Kronus remembers the decisions, learns your preferences, and picks up where you left off β€” from your terminal or your phone.

Anyone with a Claude plan can use it. No infrastructure to manage. Everything runs on your machine.

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    You                                    β”‚
β”‚          Terminal  Β·  Telegram  Β·  Dashboard               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚              β”‚              β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     Daemon                                β”‚
β”‚  Telegram bot Β· Session manager Β· Permission system       β”‚
β”‚  Message routing Β· Scope guard Β· Usage tracking           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚ spawns per-project sessions
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Claude Code Sessions                         β”‚
β”‚  One session per project Β· Resumes across restarts        β”‚
β”‚  Full tool access Β· Headless (stream-json I/O)            β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚              β”‚              β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Agents   β”‚  β”‚   Skills    β”‚  β”‚     MCP Servers         β”‚
β”‚ 10 special-β”‚  β”‚ 19 quick    β”‚  β”‚ GitHub Β· Playwright     β”‚
β”‚ ized agentsβ”‚  β”‚ workflows   β”‚  β”‚ Brave Β· Notion Β· Slack  β”‚
β”‚ for complexβ”‚  β”‚ for common  β”‚  β”‚ Linear Β· Memory Β· Brain β”‚
β”‚ multi-turn β”‚  β”‚ single-pass β”‚  β”‚ Context7 Β· Filesystem   β”‚
β”‚ tasks      β”‚  β”‚ tasks       β”‚  β”‚                         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                     Brain                                 β”‚
β”‚  SQLite knowledge graph Β· D3 visualization                β”‚
β”‚  Auto-indexes notes Β· Cross-project search                β”‚
β”‚  14 MCP tools Β· Backlinks Β· Health scoring                β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

How it works

The daemon is a Bun process that runs a Telegram bot and manages Claude Code sessions. Each Telegram group maps to a project directory. When you send a message, the daemon routes it to the right Claude session, which runs in headless mode with --output-format stream-json. Responses stream back to Telegram.

Agents handle complex multi-turn work (code review, security audits, architecture planning). Skills handle quick single-pass workflows (test generation, standup updates, dependency checks). Both are defined as markdown files with YAML frontmatter β€” adding a new agent is creating a .md file.

The brain is a SQLite-backed knowledge graph that indexes your notes, extracts entities and relationships, and serves them via MCP tools. A D3-powered UI lets you visualize how your knowledge connects.

MCP servers connect external tools β€” GitHub for PRs, Playwright for browser automation, Brave for web search, Notion/Slack/Linear for team workflows.

Components

Component What it does Tech
Daemon Telegram routing, session management, permissions, usage tracking Bun, grammy, stream-json
Brain Knowledge graph indexer, search, MCP server, visualization SQLite, D3.js, Bun
Dashboard Web UI for sessions, usage, knowledge graph, project overview React, Vite, Tailwind
Agents 10 specialized AI agents (planner, code-reviewer, security-auditor, etc.) Markdown + YAML frontmatter
Skills 19 quick workflows (/test-gen, /standup, /review, /audit, etc.) Markdown + YAML frontmatter
Hub App marketplace server β€” auth, billing, WebSocket relay Express, PostgreSQL, Redis, Stripe
Connect SDK for Hub connections β€” identity, app management TypeScript, Ed25519

Quick Start

git clone https://github.com/kronus-tech/kronus.git
cd kronus && ./scripts/install.sh

The installer asks 5 questions (name, profession, how you work, your notes, your priority) and configures everything. Takes about 10 minutes.

Requirements: git, Bun, Claude Code (needs an Anthropic API key or Claude plan)

Full setup guide ->

Building Your Own Agents

Creating an agent is writing a markdown file. Drop it in .claude/agents/ and it's available immediately:

---
name: my-agent
description: Does something useful
model: sonnet
tools: Read, Write, Glob, Grep
---

You are an agent that does something useful.

## Instructions
1. Read the relevant files
2. Analyze them
3. Produce the output

Skills work the same way in .claude/skills/. No compilation, no deployment, no framework to learn. The markdown IS the agent.

Developer guide ->

Using from Your Phone

Once the daemon is running, any Telegram group becomes a project workspace:

# Start the daemon
~/.claude/daemon/scripts/kronus-daemon.sh start

# In Telegram: add your bot to a group, then:
/setup /path/to/project

Messages in the group go to Claude. Files you send get downloaded and placed in the project. Photos get analyzed. Claude can send files back. The full power of Claude Code, from a chat interface.

Telegram setup ->

Documentation

Resource Link
Website kronus.tech
Full docs kronus-tech/docs
Setup guide docs/SETUP.md
Developer guide docs/DEVELOPER-GUIDE.md
API reference docs/API-REFERENCE.md
Security docs/SECURITY.md
Agent reference docs/AGENT_REFERENCE.md
Daemon repo kronus-tech/daemon

Directory Structure

.claude/
  agents/          # 10 specialized agents (markdown files)
  skills/          # 19 quick workflow skills (markdown dirs)
  rules/           # Coding standards, security rules, testing rules
  teams/           # Team configurations for parallel agent swarms
  mcp.json         # MCP server configuration
brain/             # Knowledge graph β€” indexer, MCP server, UI
dashboard/         # React web UI β€” sessions, usage, graph
hub/               # Marketplace server β€” auth, billing, relay
connect/           # SDK for Hub connections
daemon/            # Reference copy of the daemon (source: kronus-tech/daemon)
scripts/           # Install, init, publish scripts
config/            # Example configs (.env, projects.json, access.json)
templates/         # Profession-specific starter templates
docs/              # Guides, references, troubleshooting

License

MIT. Use it however you want.


kronus.tech Β· GitHub Β· Docs

About

Claude Code for everyone. Open source. Free forever.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 90.4%
  • Shell 5.4%
  • JavaScript 2.5%
  • Other 1.7%