claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Automation & Workflows

helix-agent

Personal AI agent harness powered by Claude Code. Always-on access through Discord, Telegram, or a built-in web UI.

// Automation & Workflows[ cli ][ api ][ web ][ claude ]#claude#agent#agentic#ai#ai-agent#ai-assistant#anthropic#automationMIT$open-sourceupdated 15 days ago
Actively maintained
95/100
last commit 3 months ago
last release none
releases 0
open issues 0
// install
git clone https://github.com/kingbee-helix/helix-agent

Helix

A personal AI agent harness powered by Claude Code. Give your AI assistant a name, a personality, persistent memory, and always-on access through Discord, Telegram, or the built-in web UI.

Helix acts as a frontend for Claude Code — all AI calls route through Claude's CLI using your existing subscription. No API keys needed.

Ideal for anyone who wants a persistent, always-on Claude agent without living in a terminal. Run it once, walk away — your agent is available through your phone, browser, or messaging app whenever you need it.

Screenshots

Helix ships with four built-in themes — each available in dark and light mode.

Classic DarkClassic Light
Classic DarkClassic Light
Forest DarkForest Light
Forest DarkForest Light
Ocean DarkOcean Light
Ocean DarkOcean Light
Volcano DarkVolcano Light
Volcano DarkVolcano Light

What You Get

  • Persistent agent identity — your agent has a name, personality, and memory that survives across sessions
  • Web admin UI — chat with your agent, manage sessions, view logs, configure settings from your browser
  • Discord + Telegram Integration — optional always-on messaging so you can talk to your agent from your phone
  • Memory system — daily logs + long-term memory files your agent reads and writes automatically
  • Custom slash commands — drop a .md file in the commands folder, it becomes a /command
  • Scheduled tasks — cron jobs that run your agent on a schedule (heartbeat checks, automated workflows)
  • Encrypted secrets — bot tokens and passwords stored with Fernet encryption, machine-bound keys

Requirements

  • Python 3.10+
  • Claude Code CLIinstall here
  • Anthropic subscription — Claude Pro or Max (Helix uses your subscription via Claude Code, no API key needed)
  • Linux (Ubuntu/Debian recommended — primary supported platform)
  • macOS — works, but Apple's Python environment can cause native dependency issues on initial setup. You can work through them manually or open the Helix directory in Claude Code and let it resolve the dependencies for you.
  • Windows via WSL — should work but untested

Quick Start

git clone https://github.com/kingbee-helix/helix-agent.git
cd helix-agent
python3 main.py setup

The setup wizard handles everything:

  • Creates a virtual environment and installs dependencies
  • Walks you through naming your agent and setting your info
  • Prompts you to set a web admin password
  • Optionally connects Discord or Telegram
  • Configures Claude Code permissions
  • Offers to launch immediately

Starting and Stopping

./start.sh    # Start in background (logs to ~/.helix/logs/helix.log)
./stop.sh     # Stop gracefully

# Or run directly (useful for debugging):
python3 main.py

The venv is managed automatically — you never need to activate it manually.

Note: Helix does not auto-start on reboot. Use ./start.sh to run it in the background without keeping a terminal open. You'll need to run it again if your machine restarts. Attempting to set it as a systemd service for auto-restart functions will throw Claude Code "extra usage" errors, it is not supported natively in Claude Code with subscription plans and will break oauth. DO NOT DO THIS!!

Project Structure

helix/
  main.py              # Entry point — start Helix, run setup, manage secrets
  setup.py             # Interactive first-run wizard
  start.sh / stop.sh   # Background process management
  core/
    agent_loop.py      # Routes messages to Claude Code, streams responses back
    cli_backend.py     # Calls the claude CLI, manages sessions and flags
    config.py          # All configuration in one place (Pydantic models)
    context_engine.py  # Builds the system prompt from workspace files
    session_manager.py # Tracks sessions + transcripts in SQLite
  channels/
    base.py            # Shared adapter interface
    discord_adapter.py # Discord bot — DMs and guild channels
    telegram_adapter.py# Telegram bot — private chat
    slash_commands.py  # /command handling for all channels
  security/
    audit.py           # Logs every inbound/outbound event
    auth.py            # Allowlist enforcement + rate limiting
    input_validator.py # Flags prompt injection attempts
    secrets.py         # Fernet-encrypted credential store
  web/
    app.py             # FastAPI server — REST API + WebSocket chat
    static/index.html  # Browser-based admin dashboard
  workspace-template/  # Starter identity + memory files, copied to ~/.helix/workspace/ on setup

How It Works

Helix wraps Claude Code's CLI (claude -p). When you send a message:

  1. Your message arrives via Discord, Telegram, or the web UI
  2. Helix loads your agent's identity files (AGENTS.md, SOUL.md, etc.) as the system prompt
  3. The message is sent to Claude Code with --resume for session continuity
  4. Claude Code handles everything — tool execution, file operations, web searches
  5. The response comes back through the same channel

Your agent has access to the same tools as Claude Code: Bash, file read/write/edit, web search, web fetch. Permissions are managed through Claude Code's ~/.claude/settings.json.

Why --resume matters: Most Claude frontends resend the entire conversation history with every message, which burns tokens fast and hits rate limits quickly. Helix uses Claude Code's --resume flag to continue existing sessions — only the new message and system prompt are sent each turn. The full conversation context is preserved on disk and picked up automatically. The result is dramatically lower token usage, longer conversations before hitting limits, and true session persistence across restarts.

Configuration

Everything lives in ~/.helix/:

PathWhat
config.jsonMain config (channels, models, scheduling)
secrets.encEncrypted secrets (bot tokens, passwords)
workspace/Agent's workspace (identity, memory, tools)
sessions/Session database + transcripts
logs/Operational + audit logs

Edit config through the admin UI, or directly:

python3 main.py config           # Print current config
python3 main.py secrets list     # List stored secret keys
python3 main.py secrets set KEY VALUE

Agent Workspace

Your agent's workspace (~/.helix/workspace/) contains the files that define who it is:

FilePurpose
AGENTS.mdOperating instructions — how the workspace works
SOUL.mdPersonality and principles
IDENTITY.mdName, emoji, vibe
USER.mdInfo about you
MEMORY.mdLong-term memory (agent updates this over time)
TOOLS.mdNotes about your specific setup
HEARTBEAT.mdWhat to check on periodic heartbeats
memory/Daily logs (YYYY-MM-DD.md)
commands/Custom slash commands (.md files)

Edit these files anytime. The more accurate they are, the better your agent performs. Your agent can also edit them — that's how it learns and remembers.

Want more? Helix's memory system can be extended with Obsidian and semantic search tools like qmd for a full knowledge base your agent can query. The flat file structure is designed to be compatible — just point your agent at the vault.

Slash Commands

Available in Discord, Telegram, and the web chat:

CommandWhat it does
/helpList all commands
/new or /reset or /clearStart a fresh session
/compactSummarize and compress current session history
/model [alias]Switch model (haiku / sonnet / opus)
/statusSession info + current model
/sessionList all active sessions
/memoryView today's memory log
/think [level]Deep reasoning mode
/do <task>Execute a task
/remember <text>Save something to memory
/forget <text>Remove something from memory
/heartbeatTrigger a manual heartbeat check

Switching Models Mid-Conversation

When you switch models, Helix automatically carries forward the last 30 exchanges so the new model has context on what you were working on.

Tip: For long or complex conversations, run /compact before switching models. Helix will summarize the full session into a concise context block — making the handoff cleaner and cheaper on tokens. You can run /compact directly from Discord, Telegram, or the web chat — no terminal needed.

Adding Permissions

Helix inherits permissions from Claude Code. During setup, your home directory is automatically added. To grant access to additional directories:

claude /permissions

Or manually edit ~/.claude/settings.json.

Security Notes

  • The web UI runs on localhost only by default — not exposed to the network
  • Bot tokens and passwords are encrypted at rest using Fernet with argon2id key derivation
  • Encryption keys are machine-bound — secrets can't be decrypted on a different machine
  • Discord and Telegram use allowlists — only your user ID can interact with the agent
  • Rate limiting is built in (20/min, 200/hr per user)
  • Prompt injection detection flags suspicious patterns in messages
  • If you expose the web UI externally, use an HTTPS reverse proxy. Do so at your own risk — Helix is designed for personal local use and external exposure is not officially supported.

Known Limitations

  • Web UI chat clears on page refresh — if you refresh the browser, the chat window will appear empty. This is a display-only issue. The session context is fully preserved on disk and by Claude Code, so your agent picks up right where it left off on your next message. No context is lost.
  • First message delay after model switch - if you switch models mid conversation, when you send the first message after the switch there will be a slight delay as the agent will have to grab the previous 30 messages of context, cold start the new session, and build its system prompt. This only happens on the first message, after that it returns to normal. The delay is necessary for memory, system, and context persistence across compactions, summarizations, and model switches.

Troubleshooting

Helix won't start after git pull

If a pull added new packages to requirements.txt, you'll need to reinstall:

cd helix-agent
source .venv/bin/activate
pip install -r requirements.txt
./start.sh

Claude Code OAuth errors

  • Do not run Helix as a systemd service — this causes Claude Code "extra usage" errors and breaks OAuth. Use ./start.sh instead.
  • Make sure you're logged into Claude Code: claude auth login

License

MIT — see LICENSE.

// compatibility

Platformscli, api, web
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguagePython

// faq

What is helix-agent?

Personal AI agent harness powered by Claude Code. Always-on access through Discord, Telegram, or a built-in web UI.. It is open-source on GitHub.

Is helix-agent free to use?

helix-agent is open-source under the MIT license, so it is free to use.

What category does helix-agent belong to?

helix-agent is listed under automation in the Claudeers registry of Claude-compatible tools.

0 views
42 stars
unclaimed
updated 15 days ago

// embed badge

helix-agent on Claudeers
[![Claudeers](https://claudeers.com/api/badge/helix-agent.svg)](https://claudeers.com/helix-agent)

// retro hit counter

helix-agent hit counter
[![Hits](https://claudeers.com/api/counter/helix-agent.svg)](https://claudeers.com/helix-agent)

// reviews

// guestbook

0/500

// related in Automation & Workflows

🔓

The agent that grows with you

// automationNousResearch/Python211,605MIT[ claude ]
🔓

The API to search, scrape, and interact with the web at scale. 🔥

// automationfirecrawl/TypeScript143,720AGPL-3.0[ claude ]
🔓

🌐 Make websites accessible for AI agents. Automate tasks online with ease.

// automationbrowser-use/Python103,709MIT[ claude ]
🔓

An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message…

// automationbytedance/Python76,016MIT[ claude ]
→ see how helix-agent connects across the ecosystem