wk42worldworld/cybercode
About
An AI agent combining Claude Code coding capabilities with Hermes Agent self-evolution.
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalCyberCode
![]()
Language: English · 简体中文 · 日本語 · 한국어
她不是工具,她是伙伴。
She is not a tool. She is a partner.
彼女はツールではなく、パートナーです。
그녀는 도구가 아니라, 파트너입니다.
A Claude Code-style local coding agent with permanent memory and self-evolution capabilities, plus support for any Anthropic-compatible API endpoint (MiniMax, OpenRouter, etc.). Beyond the full TUI, we've also completed Computer Use (macOS / Windows), built a GUI desktop app, and enabled full remote control via Telegram / Feishu.
Open-source Claude Code-style desktop agent with permanent memory and self-evolution.
Bring your own model, run real coding sessions locally, and use CLI, desktop, IM remote control, scheduled tasks, and Computer Use from one project.
Install CLI · Why · Compare · Features · Quick Start · Guided Tutorial · Module Tutorials · Env Vars · Community · More Docs
Install the CLI
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/wk42worldworld/cybercode/main/scripts/install-cli.sh | bash
Windows PowerShell
irm https://raw.githubusercontent.com/wk42worldworld/cybercode/main/scripts/install-cli.ps1 | iex
Then open a project directory and start the agent:
cybercode
The installer gets the latest stable release, installs Bun when needed, and adds cybercode to your user PATH. It runs without administrator access and preserves an existing CLI .env when updating. You can review the macOS/Linux installer or Windows installer before running it.
Common CLI commands
| Command | What it does |
|---|---|
cybercode |
Start an interactive agent in the current project |
cybercode "explain this repository" |
Start with an initial task |
cybercode -p "fix the failing tests" |
Print the result and exit, suitable for scripts and CI |
cybercode -c |
Continue the latest conversation in the current project |
cybercode -r |
Choose and resume a saved conversation |
cybercode --model <model> |
Select a model for this session |
cybercode --permission-mode plan |
Start in planning mode |
cybercode -p --output-format json "..." |
Return machine-readable JSON |
cybercode -w feature-name |
Create an isolated Git worktree for the session |
cybercode mcp --help |
Configure and manage MCP servers |
cybercode plugin --help |
Install and manage plugins |
cybercode doctor / cybercode --help |
Diagnose the environment or show every option |
See the CLI quick-start guide for more examples and option combinations.
Looking for the GUI? Download the desktop app for macOS, Windows, or Linux.
Why CyberCode
| If you want... | CyberCode gives you... |
|---|---|
| Claude Code-style agent workflows without being locked to one provider | Anthropic-compatible endpoints, OpenAI-compatible providers through proxy, and provider/model context-window metadata |
| A desktop app instead of only a terminal | Tauri + React GUI, multi-session tabs, project switching, file attachments, permission dialogs, and model/provider settings |
| A local coding agent that can keep working while you are away | Telegram / Feishu remote control, scheduled tasks, background agents, and persistent memory |
| A playground for advanced agent features | Multi-agent orchestration, Skills, MCP, Computer Use, custom providers, and CLI/headless mode |
Core Advantages in Practice
Memory that remains visible and under your control
CyberCode extracts stable communication preferences, project knowledge, and reusable working methods so a new session does not have to begin from zero. Repeated successful approaches can become Skill candidates, allowing the agent to improve how it collaborates instead of merely retaining a transcript.
The desktop app shows what CyberCode believes it has learned, how each insight is categorized, and which methods it has distilled. Individual entries can be edited or deleted, while the underlying memory files and learning records remain directly accessible to the user.
Context efficiency with controls, not a hidden preset
Large repositories, verbose command output, duplicate system instructions, and stale tool results all compete for model context. CyberCode separates Lite cleanup, smart pruning, Lazy Programmer, Caveman response compression, RTK tool-output compression, and Code Graph into independent optimization layers with global switches.
The panel explains what is active and reports a combined estimated savings range. Those numbers are presented as estimates rather than guaranteed billing reductions.
Code structure and local knowledge in one workspace
The local Code Graph indexes files, symbols, references, calls, and containment relationships. For structural coding requests, CyberCode automatically selects a compact, graph-ranked preflight before broad file reads and exposes deeper graph tools to the running agent. This helps with unfamiliar repositories, implementation discovery, impact analysis, and cross-file refactoring without flooding the model with entire files.
Click the graph icon in the desktop rail to open Knowledge Space directly. Its Graph view supports symbol search, architecture and file layouts, node inspection, panning, zooming, and index rebuilds. The Files and Search views can also index local files or folders as user-managed knowledge sources, with drag-and-drop, full-text search, and metadata-only handling for binary files. Removing a source removes only CyberCode's derived index, never the original file.
Code Graph is local and cross-platform. Once its global switch is enabled, current and future projects are indexed automatically, changes are watched in the background, and ordinary non-coding conversation does not trigger graph context. Read the Knowledge Space and Code Graph guide.
Product capabilities that do not disappear when the model changes
The same tools, memory, desktop workflow, and permissions remain available across the official Claude path, Anthropic-compatible endpoints, OpenAI-compatible providers, and local models. CyberCode also includes a provider-neutral local WebSearch fallback with live search, domain filters, caching, and a direct GitHub Trending path for models whose native browsing is unavailable or unreliable.
![]() Provider control in the app Configure hosted or local endpoints, test connections, and choose defaults without leaving the desktop workflow. |
![]() Model choice per session Select a known model or enter a custom model identifier while keeping the same agent tools and interface. |
Providers, synchronization, routing, and Agent Node in one flow
Models & Routing now follows the way people actually configure access: official API-key providers and major aggregators first, then OAuth, web sessions, image/video/audio catalogs, and local or custom endpoints. Names follow the selected UI language. Multiple saved keys for one preset can be managed together, while distinct products such as Kimi Code and Kimi remain separate entries.
Compatible /models endpoints can be imported on demand or synchronized about every 24 hours without deleting manually entered models. Agent routes combine usable targets with health tracking, failure cooldowns, and failover. Agent Node exposes the resulting models and routes through independently authenticated OpenAI Chat Completions and Anthropic Messages endpoints, without revealing provider keys.
Web-session access uses credentials supplied explicitly by the user. It does not read browser data, solve CAPTCHAs, or bypass account or region restrictions, and it carries more stability and policy risk than official APIs. Media connection tests do not submit paid generation jobs or make media models the chat default.
The desktop app and TUI share this configuration. /provider sync, /routing, and /node work in a standalone TUI without another proxy installation. Read the Models, Sync, and Agent Routing guide.
One agent across desktop, terminal, and remote channels
The React + Tauri desktop app and Ink terminal interface share the same local agent core. File attachments, slash commands, permissions, MCP tools, Skills, plugins, background agents, Agent Teams, Git worktrees, Computer Use, and headless output stay part of one workflow instead of becoming separate products.
Telegram and Feishu adapters can relay conversations and permission requests while you are away from the machine. Scheduled tasks add one-time or recurring local jobs, so repository maintenance and routine checks do not have to wait for a manually opened chat.
Inspectable, editable, and portable by design
CyberCode keeps the client, server, desktop shell, adapters, memory, search, provider bridge, and optimization logic open. Agent data migration tools inspect compatible Skills, memory, rules, and project data from other local agents before importing, reducing the cost of changing tools without discarding accumulated workflows.
Capability Map
| Area | What is included |
|---|---|
| Coding workflow | File editing, terminal tools, project search, permission modes, slash commands, attachments, rewind, branching, and session resume |
| Agent intelligence | Persistent memory, self-evolution review, reusable Skills, sub-agents, Agent Teams, background tasks, and worktrees |
| Context efficiency | Dynamic context-window awareness, automatic compression, Lite cleanup, smart pruning, Lazy Programmer, Caveman, RTK, and Code Graph |
| Model access | Official API keys, aggregators, OAuth, web sessions, media catalogs, local/custom endpoints, model sync, agent routing, and Agent Node |
| Web and tools | Provider-neutral WebSearch fallback, WebFetch, MCP servers, plugins, Computer Use, and environment-aware tool availability |
| Interfaces | Cross-platform desktop app, terminal TUI, --print headless mode, Telegram, and Feishu |
| Automation | One-time and recurring scheduled tasks, remote approval, background agents, and machine-readable JSON output |
| Portability | Agent data migration, editable local memory, open adapters, and an open-source local server |
Quick Comparison
| Need | CyberCode | Claude Code | Cursor / Cline / Roo-style tools |
|---|---|---|---|
| Bring your own provider | Built around custom providers and Anthropic-compatible endpoints | Primarily official Anthropic path | Varies by tool |
| Desktop GUI | Built-in cross-platform desktop app | Terminal-first | Usually editor-first |
| CLI and headless mode | Yes | Yes | Usually not the main path |
| IM remote control | Telegram / Feishu adapters | Not the default workflow | Usually external setup |
| Scheduled coding tasks | Built into desktop workflow | Not the default workflow | Varies |
| Computer Use | macOS and Windows support | Official feature path | Varies |
| Open-source hackability | Full repo, desktop, server, adapters, docs | Closed source product | Varies |
Community and Growth
- New contributors: start with CONTRIBUTING.md and the Roadmap.
- Want to share CyberCode: use the ready-to-post copy in Launch Kit.
- Good first contribution areas: docs, provider presets, translations, reproducible bug reports, desktop UX polish, and platform-specific install notes.
Latest Highlights
Latest stable desktop release: View GitHub Releases
- Running-turn input steering: when an assistant response is still running, new user input is saved in a pending bar instead of disappearing or interrupting blindly. You can edit it, delete it, or add it to the current turn; otherwise queued input is sent automatically when the current turn finishes.
- Provider-aware model context windows: model presets can now carry context-window metadata, and CyberCode forwards those limits into desktop sessions so third-party providers behave more predictably.
- Cross-platform desktop releases: GitHub Actions now publishes macOS Apple Silicon, macOS Intel, Windows x64, and Linux x64 desktop builds together, with updater metadata included in
latest.json. - Notarized macOS installers: macOS desktop packages are signed and Apple-notarized to avoid the previous Gatekeeper "malicious software" style warning on normal installs.
- Smarter Windows tool runtime: CyberCode finds Git Bash when available, falls back to PowerShell when it is not, and only exposes executable tools that are actually available to the model.
- Flexible file attachments: unsupported audio, binary, and other file types are handled as file paths instead of blocking the conversation request.
- Clearer command progress UI: running command blocks now show GPT-style sweeping text highlights on both parent command rows and nested tool rows.
- End-to-end model access and routing: official keys, aggregators, OAuth, web sessions, and media catalogs share one settings flow, with model sync, health-aware routing, and an OpenAI/Anthropic Agent Node.
Features
- Full Ink TUI experience (matching the official Claude Code interface)
--printheadless mode for scripts and CI- MCP server, plugin, and Skills support
- Custom API endpoint and model support (Third-Party Models Guide)
- Running-turn input steering with editable pending prompts
- Provider/model context-window metadata for more reliable long-context sessions
- Runtime-aware tool availability, including Git Bash / PowerShell fallback on Windows
- Desktop file upload fallback for unsupported file types
- Streaming command execution blocks with active progress highlighting
- Memory System (cross-session persistent memory) — Usage Guide
- Multi-Agent System (agent orchestration, parallel tasks, Teams collaboration) — Usage Guide | Implementation
- Skills System (extensible capability plugins, custom workflows) — Usage Guide | Implementation
- Channel System (remote Agent control via Telegram/Feishu/Discord IM platforms) — Architecture
- Computer Use desktop control — Guide | Architecture
- Desktop App (Tauri 2 + React GUI client, multi-tab multi-session) — Docs
- Fallback Recovery CLI mode (
CYBERCODE_FORCE_RECOVERY_CLI=1 ./bin/cybercode)
Architecture Overview
![]() Overall architecture |
![]() Request lifecycle |
![]() Tool system |
![]() Multi-agent architecture |
![]() Terminal UI |
![]() Permissions and security |
![]() Services layer |
![]() State and data flow |
Desktop Download
Quick Start
1. Install Bun
# macOS / Linux
curl -fsSL https://bun.sh/install | bash
# macOS (Homebrew)
brew install bun
# Windows (PowerShell)
powershell -c "irm bun.sh/install.ps1 | iex"
On minimal Linux images, if you see
unzip is required, runapt update && apt install -y unzipfirst.
2. Install Dependencies and Configure
bun install
cp .env.example .env
# Edit .env with your API key — see docs/en/guide/env-vars.md for details
3. Start
macOS / Linux
./bin/cybercode # Interactive TUI mode
./bin/cybercode -p "your prompt here" # Headless mode
./bin/cybercode --help # Show all options
Windows
Git for Windows is recommended for Bash-compatible commands. If Git Bash is not available, CyberCode falls back to PowerShell automatically.
# PowerShell / cmd — call Bun directly
bun --env-file=.env ./src/entrypoints/cli.tsx
# Or run inside Git Bash when available
./bin/cybercode
4. Global Usage (Optional)
Add bin/ to your PATH to run from any directory. See Global Usage Guide:
export PATH="$HOME/path/to/cybercode/bin:$PATH"
5. Desktop Development
If you are developing or testing the desktop/ frontend, start both the API server and the desktop frontend.
5.1 Start the API server
cd /path/to/cybercode
SERVER_PORT=3456 bun run src/server/index.ts
Optional health check:
curl http://127.0.0.1:3456/health
5.2 Start the desktop frontend
cd /path/to/cybercode/desktop
bun run dev --host 127.0.0.1 --port 2024
Then open:
http://127.0.0.1:2024
5.3 Notes
- If port
3456is already occupied by an old server process, runlsof -nP -iTCP:3456 -sTCP:LISTEN, find the PID, thenkill <PID>. - For chat testing, create a fresh session and re-select a real working directory.
- If an old session points to a deleted directory, the server will return
Working directory does not exist. That is separate from whether the API server is running.
Guided Tutorial
Use this section when you are trying CyberCode for the first time. Follow the chapters in order; each one ends with a clear result so you know whether to continue.
Chapter 1. Choose Your Running Mode
CyberCode can be used in three common ways:
| Mode | Best for | What to do |
|---|---|---|
| Desktop app | Daily coding, multi-session chat, visual project switching | Download the latest package from GitHub Releases |
| CLI from source | Terminal users, local development, scripts | Clone the repo, install Bun, then run bun install |
| Desktop development mode | Testing the React/Tauri frontend from source | Start the API server and Vite frontend as shown in Desktop Development |
Expected result: you know whether you are installing the desktop app, running the CLI, or developing the desktop frontend.
Chapter 2. Prepare Your Model Provider
CyberCode talks to Anthropic-compatible APIs. MiniMax and OpenRouter can be used directly if they expose a compatible endpoint. OpenAI-only providers usually need a proxy such as LiteLLM.
- Create or copy an API key from your model provider.
- Copy the example environment file:
cp .env.example .env
- Edit
.envand set at least these values:
ANTHROPIC_AUTH_TOKEN=your_api_key_here
ANTHROPIC_BASE_URL=https://api.minimaxi.com/anthropic
ANTHROPIC_MODEL=MiniMax-M2.7
You can also use ANTHROPIC_API_KEY instead of ANTHROPIC_AUTH_TOKEN if your provider expects the x-api-key header. For provider-specific examples, see Environment Variables and Third-Party Models.
Expected result: .env contains a valid key, endpoint, and model name.
Chapter 3. Run Your First CLI Task
Start with the interactive terminal UI:
./bin/cybercode
Try a small request first, for example:
Read this project and summarize the main entry points.
For scripts or CI, use headless mode:
./bin/cybercode -p "Summarize package.json and list the available scripts"
Expected result: CyberCode connects to your model provider and streams an answer in the terminal.
Chapter 4. Open a Real Project
CyberCode works best when it can see the project directory you want to change.
- Start CyberCode from the project root, or choose the project folder in the desktop app.
- Ask for a small inspection task first:
Explain the src/ directory structure. - When CyberCode asks for permission to run a command or edit a file, review the action and approve only what you trust.
- After the first successful answer, ask for a focused change such as
Fix the failing test in this file.
Expected result: the assistant is working inside the correct directory and you can see which files or commands it wants to use.
Chapter 5. Use the Desktop App Smoothly
For the installed desktop app, open CyberCode and create a session for your project. For local frontend development, run:
SERVER_PORT=3456 bun run src/server/index.ts
Then in another terminal:
cd desktop
bun run dev --host 127.0.0.1 --port 2024
Open http://127.0.0.1:2024, create or select a session, and choose a working directory.
Helpful workflow tips:
- If the assistant is already responding and you type another message, CyberCode saves it as a pending input row.
- Pending inputs can be edited or removed before they are sent.
- When the current assistant turn finishes, queued pending input is sent as the next user turn automatically.
- If a file type cannot be sent directly to the model, the desktop app passes it as a file path so the agent can still work with it.
Expected result: you can run normal multi-turn coding sessions without losing messages typed while the assistant is busy.
Chapter 6. Make the CLI Available Everywhere
Add the repo bin/ directory to your shell PATH:
export PATH="$HOME/path/to/cybercode/bin:$PATH"
Then test it from another project:
cybercode --help
cybercode -p "What files are in this directory?"
For a permanent setup, add the export PATH=... line to your shell profile such as ~/.zshrc or ~/.bashrc.
Expected result: cybercode works from any project directory.
Chapter 7. Fix Common First-Run Problems
| Problem | What to check |
|---|---|
command not found: cybercode |
Use ./bin/cybercode from the repo, or add bin/ to PATH |
| API key or 401 error | Recheck ANTHROPIC_AUTH_TOKEN / ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL, and the model name |
| Windows shell commands fail | Install Git for Windows, or let CyberCode fall back to PowerShell |
| Desktop cannot connect | Make sure the server is running on 127.0.0.1:3456 |
Port 3456 is occupied |
Stop the old process with lsof -nP -iTCP:3456 -sTCP:LISTEN and kill <PID> |
Working directory does not exist |
Re-select an existing project folder for that session |
| Long prompts fail unexpectedly | Choose a model/provider with enough context window, or update the model configuration metadata |
Expected result: you can identify whether the issue is shell setup, API configuration, server startup, or project path selection.
Chapter 8. Learn the Next Features
| Goal | Read next |
|---|---|
| Use OpenAI, DeepSeek, Ollama, or other providers | Third-Party Models |
| Configure all environment variables | Environment Variables |
| Run CyberCode globally | Global Usage |
| Use persistent memory | Memory System |
| Use multiple agents | Multi-Agent System |
| Connect Telegram or Feishu | Channel System |
| Control desktop apps | Computer Use |
Expected result: you can move from the first working session to the feature area you actually need.
Feature Module Tutorials
This section is a module-by-module manual. Use it when you already have CyberCode running and want to understand each feature in a practical way.
Module 1. Desktop App Installation and Updates
Use this module if you want the normal GUI app instead of running from source.
- Open GitHub Releases.
- Download the package that matches your platform:
- macOS Apple Silicon:
macos_arm64_dmg.dmg - macOS Intel:
macos_x64_dmg.dmg - Windows x64:
windows_x64_nsis.exe - Linux x64:
linux_x64_deb.deb
- macOS Apple Silicon:
- Install the package with the normal platform installer.
- Launch CyberCode and create a new session.
- Select a real project folder before sending your first coding request.
Verify it: the app opens, the sidebar shows sessions, and the status bar shows the selected project and model.
Notes:
- macOS packages are notarized. If macOS still blocks the app, see Installation.
- The release also includes
latest.jsonfor desktop update metadata.
Module 2. Model Providers, Models, and Context Windows
Use this module when you want CyberCode to call MiniMax, OpenRouter, OpenAI through a proxy, Ollama, or another compatible provider.
- Open the desktop app.
- Go to Settings -> Providers.
- Choose a preset or add a custom provider.
- Fill in:
- Provider name
- API key
- Base URL
- API format:
Anthropic,OpenAI Chat, orOpenAI Responses - Model mapping:
main,haiku,sonnet,opus
- Fill the context window fields when you know the model limits, for example
200kor1m. - Click Test Connection.
- Activate the provider.
- Click the model name in the status bar and select the model you want for the current session.
Verify it: send a short message, then open /context or the context inspector and confirm the active model and context limit look right.
Notes:
- For Anthropic-compatible endpoints, use the provider URL directly.
- For OpenAI-only APIs, use LiteLLM or another Anthropic-to-OpenAI proxy. See Third-Party Models.
- If a model name contains a recognizable value like
200kor1m, CyberCode can infer a context window, but explicit provider settings are clearer.
Module 3. CLI and Headless Mode
Use this module when you prefer terminal workflows, automation, or CI.
- Install dependencies:
bun install
- Create your environment file:
cp .env.example .env
- Edit
.envwith your provider settings. - Start the interactive TUI:
./bin/cybercode
- Run a one-shot prompt:
./bin/cybercode -p "Explain this repository structure"
- Check available options:
./bin/cybercode --help
Verify it: the interactive mode opens, and the -p command prints a complete answer without opening the TUI.
Notes:
- On Windows, Git Bash is recommended. If it is unavailable, CyberCode falls back to PowerShell.
- Add
bin/to PATH if you want to runcybercodefrom any directory.
Module 4. Desktop Sessions, Projects, and Tabs
Use this module to organize real coding work across multiple projects.
- Click
+in the sidebar or pressCmd/Ctrl + N. - Choose the project working directory.
- Send a small inspection prompt first, such as
Explain this project layout. - Use the project filter in the sidebar to show only sessions for one project.
- Use sidebar search to find old sessions by title.
- Right-click a session to rename or delete it.
- Open multiple tabs when you want to keep separate tasks active.
- Use tab right-click actions to close the current tab, other tabs, left tabs, right tabs, or all tabs.
Verify it: each session is tied to the expected project path, and the status bar displays the current project and model.
Notes:
- Closing a running tab asks whether to keep running, stop and close, or cancel.
- If a session points to a deleted directory, re-select an existing folder.
Module 5. Chat Composer, Attachments, Slash Commands, and Pending Input
Use this module to send richer messages and manage input while the assistant is busy.
- Type in the bottom composer.
- Press
Enterto send, orShift + Enterfor a new line. - Add files by pasting, dragging into the composer, or using the
+file picker. - Type
/to open slash commands such as/status,/context,/memory,/mcp, and/skills. - Type
@to search and reference project files. - While the assistant is responding, send another message. It appears as a pending input row.
- Edit or remove a pending row before it is sent.
- Let the current assistant response finish. Queued pending input is sent automatically as the next user turn.
- Click Stop or press
Cmd/Ctrl + .if you need to interrupt generation.
Verify it: attachments appear above the composer, slash commands open the right panel or command, @ references resolve to files, and busy-turn input is not lost.
Notes:
- Unsupported file types are passed as file paths so the agent can still inspect them with tools.
- The pending input row is for actual queued content, not a reminder banner.
Module 6. Permissions and Tool Safety
Use this module whenever CyberCode wants to run shell commands or edit files.
- Keep the default permission mode when working in an unfamiliar repository.
- Read every permission card before approving it.
- Choose Allow for a single action.
- Choose Always Allow only when you trust that class of action for the current session.
- Choose Deny if the command, file path, or diff does not look right.
- Switch to Plan mode when you only want an implementation plan.
- Use bypass permissions only in disposable or fully trusted environments.
Verify it: file edits and shell commands do not run until the permission policy allows them.
Notes:
- Permission cards show tool type, command or file preview, and expandable details.
- IM adapters also render permission requests as approval buttons.
Module 7. Memory System
Use this module when you want CyberCode to remember preferences, project rules, or external references across sessions.
- Work normally. CyberCode can extract useful memories after conversations.
- Say
remember this: ...when you want to save something explicitly. - Use
/memoryto open editable memory files. - Use
/rememberto review, promote, merge, or clean up automatic memories. - Ask CyberCode to forget a memory when it is no longer valid.
- Say
ignore memory for this turnwhen you want a clean answer.
Verify it: memory update notifications appear, and later sessions can use the saved preference or project context.
Good memory examples:
- Testing must use a real database, not mocks.
- Release freezes start on a specific date.
- A dashboard, ticket queue, or on-call reference lives in an external system.
Notes:
- Memory should store context that cannot be inferred from code.
- Disable automatic memory with
CLAUDE_CODE_DISABLE_AUTO_MEMORY=1.
Module 8. Multi-Agent Workflows and Agent Teams
Use this module for large tasks that benefit from parallel exploration, planning, or verification.
- Ask CyberCode to split a large task into agents, for example
Explore frontend, backend, and tests in parallel before planning changes. - Use Explore agents for read-only codebase research.
- Use Plan agents for architecture and implementation plans.
- Use verification agents to independently check a completed change.
- Ask for background agents when a task may take a long time.
- Ask for worktree isolation when an experimental implementation should not touch the main working tree.
- For collaborative work, ask CyberCode to create an Agent Team with named responsibilities.
Verify it: CyberCode reports agent launches, background task completions, verification results, or team summaries.
Notes:
- Keep each agent prompt focused.
- Use verification agents before trusting broad or risky changes.
Module 9. Skills, Plugins, and MCP
Use this module to turn repeatable workflows into reusable capabilities.
- Type
/and browse available slash commands. - Start with built-in skills such as
/verify,/debug,/simplify,/remember, and/batch. - In the desktop app, use
/skillsto inspect user-invocable skills for the current context. - For a project skill, create
.claude/skills/<skill-name>/SKILL.md. - Add frontmatter fields such as
description,when_to_use,allowed-tools,model, orpaths. - Write the workflow instructions in Markdown below the frontmatter.
- Trigger the skill with
/skill-name, or describe a task that clearly matches itswhen_to_use. - Add MCP servers when you need external tools or prompts exposed to CyberCode.
Verify it: the skill appears in slash command discovery or is called by the model when the matching task appears.
Notes:
- Use
allowed-toolsto keep powerful skills scoped. - Project skills are useful for team workflows because they can live in the repository.
Module 10. IM Remote Control with Telegram and Feishu
Use this module when you want to control CyberCode from your phone or team chat.
- Open the desktop app settings.
- Go to the IM or Adapters section.
- Set
serverUrland a default project directory if you want new chats to start in a known project. - Fill platform credentials:
- Telegram: Bot Token
- Feishu: App ID and App Secret
- Set allowed users when needed.
- Generate a six-character pairing code.
- Start the adapter process:
cd adapters
bun install
bun run telegram
# or
bun run feishu
- Send the pairing code to the bot in a private chat.
- Send normal coding requests after pairing succeeds.
- Use
/new,/projects, and/stopfrom IM when needed.
Verify it: the bot connects to a CyberCode session, streams replies, and shows permission requests as buttons.
Notes:
- Pairing codes are single-use and expire after 60 minutes.
- If no default project is configured, the bot asks you to choose from recent projects.
Module 11. Scheduled Tasks
Use this module when you want CyberCode to run a prompt on a schedule.
- Open the desktop app.
- Click the clock icon in the sidebar.
- Click New Task.
- Fill in task name and prompt.
- Set the cron schedule or use the visual weekday/time controls.
- Choose the model and permission mode for the run.
- Save the task.
- Use the enable switch to activate or pause it.
- Click Run Now to test it manually.
- Expand run history to inspect previous results.
Verify it: the task appears in the list with a readable schedule, and manual runs create history entries.
Notes:
- Scheduled tasks run while the desktop app and local service are available.
- Use conservative permission modes for unattended tasks.
Module 12. Computer Use
Use this module when you want the model to operate desktop applications through screenshots, mouse, and keyboard.
- In the desktop app, open Settings → Computer Use and select Prepare Automatically.
- CyberCode downloads the private runtime for the current platform in the background. No system Python or PATH changes are required.
- On macOS, grant Accessibility and Screen Recording permissions to CyberCode, your terminal, or the desktop app host.
- Ask for a visual desktop action, such as
Take a screenshot and tell me what is open. - Approve the application access request when CyberCode asks.
- Let the model screenshot, inspect, click, type, and verify step by step.
Verify it: CyberCode can take a screenshot, request app access, and operate only approved applications.
Notes:
- macOS Apple Silicon, macOS Intel, and Windows x64 are supported.
- Disable the feature with
CLAUDE_COMPUTER_USE_ENABLED=0. - Use simple, observable tasks first before asking for multi-app workflows.
Module 13. Diagnostics, Context, and Cost Inspection
Use this module when something feels wrong or you need to inspect the current session.
- Type
/statusto inspect the current session state. - Type
/contextto see context window usage, free tokens, and message/tool breakdowns. - Type
/costto inspect usage and cost-related data when available. - Type
/doctorto check local setup health. - Use
curl http://127.0.0.1:3456/healthwhen testing the local desktop server. - If a provider fails, run the provider test from Settings -> Providers.
- If the desktop cannot reach a session, confirm the project directory still exists.
Verify it: you can tell whether the problem is provider configuration, context pressure, local server state, or missing project paths.
Tech Stack
| Category | Technology |
|---|---|
| Runtime | Bun |
| Language | TypeScript |
| Terminal UI | React + Ink |
| CLI parsing | Commander.js |
| API | Anthropic SDK |
| Protocols | MCP, LSP |
More Documentation
| Document | Description |
|---|---|
| Environment Variables | Full env var reference and configuration methods |
| Third-Party Models | Using OpenAI / DeepSeek / Ollama and other non-Anthropic models |
| Knowledge Space and Code Graph | Automatic graph context, visualization, and local file/folder knowledge sources |
| Memory System | Cross-session persistent memory usage and implementation |
| Multi-Agent System | Agent orchestration, parallel tasks and Teams collaboration |
| Skills System | Extensible capability plugins, custom workflows and conditional activation |
| Channel System | Remote Agent control via Telegram/Feishu/Discord IM platforms |
| Computer Use | Desktop control (screenshots, mouse, keyboard) — Architecture |
| Desktop App | Tauri 2 + React GUI client — Quick Start | Architecture | Installation |
| Global Usage | Run cybercode from any directory |
| FAQ | Common error troubleshooting |
| Project Structure | Code directory structure |
| Roadmap | Near-term priorities and good first issue ideas |
| Contributing | How to contribute docs, providers, tests, and desktop fixes |
| Launch Kit | Ready-to-post copy for sharing CyberCode |
Thanks
Thanks to the following open-source projects and community practices for reference and inspiration:
- React: frontend engineering and component-based UI ecosystem.
- Tauri: cross-platform desktop app capabilities and engineering practices.
- cc-switch: reference for model provider configuration.
⭐ Star History
If this project helps you, please support it with a ⭐ Star so more people can discover CyberCode.
Disclaimer
This project is an independent implementation that heavily references the product design, interaction model, and feature architecture of Claude Code by Anthropic. Claude and Claude Code are trademarks of Anthropic, and any related APIs and protocols belong to Anthropic. This project is provided for technical learning and research purposes only and has no commercial affiliation with Anthropic.
Explore related projects
Loading…









