zylos-core

作者 zylos-ai已验证

Give your AI a life — open-source infrastructure for persistent, self-maintaining AI companions. Powered by Claude Code.

179
Stars
17
Forks
JavaScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/zylos-ai/zylos-core

快速入门

使用 zylos-core 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Zylos

Zylos

Zylos (/ˈzaɪ.lɒs/ 赛洛丝) — Give your AI a life

Give your AI a life.

License: MIT Discord X Website Built by Coco

中文


LLMs are geniuses — but they wake up with amnesia every session. No memory of yesterday, no way to reach you, no ability to act on their own.

Zylos gives it a life. Memory that survives restarts. A scheduler that works while you sleep. Communication through Telegram, Lark, or a web console. Self-maintenance that keeps everything running. And because it can program, it can evolve — building new skills, integrating new services, growing alongside you.

Supports Claude Code (Anthropic) and Codex (OpenAI). Fully compatible with the OpenClaw ecosystem.


Quick Start

Prerequisites: A Linux server (or Mac), a Claude subscription (or OpenAI Codex as an alternative runtime — Codex CLI v0.129.0+ required, 0.146+ recommended).

curl -fsSL https://raw.githubusercontent.com/zylos-ai/zylos-core/main/scripts/install.sh | bash

This installs everything you need (git, tmux, Node.js, zylos CLI) and automatically runs zylos init to set up your agent.

Non-interactive install (Docker, CI/CD, headless servers)

All zylos init flags can be passed directly through the install script. The script installs dependencies, then runs zylos init with the flags you provide.

Full example:

curl -fsSL https://raw.githubusercontent.com/zylos-ai/zylos-core/main/scripts/install.sh | bash -s -- \
  -y \
  --setup-token sk-ant-oat01-xxx \
  --timezone Asia/Shanghai \
  --domain agent.example.com \
  --https \
  --caddy \
  --web-password MySecurePass123

When is non-interactive mode active?

Automatically when no TTY is available — e.g. Docker containers (without -it), CI runners, or cron jobs. Also when CI=true or NONINTERACTIVE=1 is set. Note: curl | bash in a terminal is still interactive (the install script redirects from /dev/tty). Use -y to force non-interactive in a terminal.

Flags:

FlagDescriptionDefault
-y, --yesForce non-interactive mode (skip all prompts)Auto-detected
-q, --quietMinimal outputOff
--runtime <name>AI runtime: claude or codexclaude
--setup-token <token>Claude setup token (starts with sk-ant-oat)
--api-key <key>Anthropic API key (starts with sk-ant-)
--codex-api-key <key>OpenAI API key for Codex runtime (starts with sk-)
--base-url <url>Custom API base URL for Claude Code
--codex-base-url <url>Custom API base URL for Codex
--timezone <tz>IANA timezone, e.g. Asia/Shanghai, America/New_York, Europe/LondonSystem default
--domain <domain>Domain for Caddy reverse proxy, e.g. agent.example.comNone
--https / --no-httpsEnable or disable HTTPS--https when domain is set
--caddy / --no-caddyInstall or skip Caddy web serverInstall
--web-password <pass>Web console passwordAuto-generated

Environment variables:

Flags can also be set via environment variables during zylos init. Resolution order: CLI flag > env var > existing .env > interactive prompt.

Environment VariableEquivalent Flag
ZYLOS_RUNTIME--runtime
CLAUDE_CODE_OAUTH_TOKEN--setup-token
ANTHROPIC_API_KEY--api-key
ANTHROPIC_BASE_URL--base-url
OPENAI_API_KEY--codex-api-key
OPENAI_BASE_URL--codex-base-url
ZYLOS_DOMAIN--domain
ZYLOS_PROTOCOL (https or http)--https / --no-https
ZYLOS_WEB_PASSWORD--web-password

CI, Kubernetes, and shared E2E environments should also provide GITHUB_TOKEN so zylos add and zylos upgrade use GitHub's authenticated API quota instead of the shared unauthenticated quota. See the GitHub authentication operations guide for configuration examples and fallback behavior.

Exit codes: 0 = success, 1 = fatal error (e.g. invalid token), 2 = partial success (e.g. Caddy download failed but everything else succeeded).

Install without running init
curl -fsSL https://raw.githubusercontent.com/zylos-ai/zylos-core/main/scripts/install.sh | bash -s -- --no-init

Installs dependencies and the zylos CLI, but skips zylos init. Run zylos init separately when ready.

Install from a specific branch (for testing)
curl -fsSL https://raw.githubusercontent.com/zylos-ai/zylos-core/main/scripts/install.sh | bash -s -- --branch <branch-name>
Manual install (if you already have Node.js >= 20)
npm install -g --install-links https://github.com/zylos-ai/zylos-core
zylos init
Docker deployment
docker run -d --name zylos \
  -e CLAUDE_CODE_OAUTH_TOKEN=YOUR_TOKEN_HERE \
  -p 3456:3456 \
  -v zylos-data:/home/zylos/zylos \
  -v claude-config:/home/zylos/.claude \
  ghcr.io/zylos-ai/zylos-core:latest

Open http://localhost:3456 to access the web console. Find your password with docker logs zylos | grep -A2 "Web Console". See the Docker Deployment Guide for Docker Compose setup, environment variables, Synology NAS instructions, and more.

Unsupported platforms (Windows, NAS, etc.) — install via SSH

On platforms without native support, use Claude Code's SSH feature to install Zylos on a remote Linux/macOS machine:

# From your local machine (any OS that runs Claude Code)
claude --ssh user@your-linux-server

Once connected, Claude is running on the remote machine. Ask it to install Zylos:

> Install Zylos on this machine

Or run the installer directly in the SSH session:

curl -fsSL https://raw.githubusercontent.com/zylos-ai/zylos-core/main/scripts/install.sh | bash

This works from Windows, ChromeOS, or any platform that can run Claude Code locally. The AI handles the setup on the remote server — no need for native platform support.

Node.js requirement: Zylos requires Node.js 20 or later. We recommend installing via nvm — the install script does this automatically. If you manage Node.js yourself, make sure to use a single, stable version and avoid switching versions after installation, as globally installed npm packages (including Zylos) are tied to the Node.js version that installed them.

# Recommended: let the install script handle it, or install manually via nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
nvm install 24
nvm alias default 24

zylos init is idempotent and supports both interactive and non-interactive modes. It will:

  1. Install missing tools (tmux, git, PM2, Claude Code or Codex)
  2. Set up authentication (Claude: browser login, API key, or setup token; Codex: API key or device auth)
  3. Create the ~/zylos/ directory with memory, skills, and services
  4. Start all background services and launch your AI agent in a tmux session

Talk to your agent:

# Interactive CLI — the simplest way to chat
zylos shell

# Or attach to the Claude tmux session (Ctrl+B d to detach)
zylos attach

# Or add a messaging channel
zylos add telegram
zylos add lark

Architecture

Zylos Architecture
graph TB
    subgraph Channels["📡 Communication Channels"]
        TG["Telegram"]
        LK["Lark"]
        WC["Web Console"]
    end

    subgraph Zylos["🧬 Zylos — The Life System"]
        C4["C4 Comm Bridge<br/>(unified gateway · SQLite audit)"]
        MEM["Memory<br/>(Inside Out architecture)"]
        SCH["Scheduler<br/>(autonomous task dispatch)"]
        AM["Activity Monitor<br/>(guardian · heartbeat · auto-recovery)"]
        HTTP["HTTP Layer<br/>(Caddy · file sharing · HTTPS)"]
    end

    subgraph Brain["🧠 AI Runtime — The Brain"]
        CC["Claude Code / Codex<br/>(in tmux session)"]
    end

    TG & LK & WC --> C4
    C4 <--> CC
    MEM <--> CC
    SCH --> CC
    AM --> CC
    HTTP <--> CC
ComponentRoleKey Tech
C4 Comm BridgeUnified message gateway with audit trailSQLite, priority queue
MemoryPersistent identity and context across restartsInside Out tiered architecture
SchedulerAutonomous task dispatch while you are awayCron, NL input, idle-gating
Activity MonitorCrash recovery, heartbeat, health checksPM2, multi-layer protection
HTTP LayerWeb access, file sharing, component routesCaddy, auto-HTTPS

Features

One AI, One Consciousness

Unified Context

Most agent frameworks isolate sessions per channel — your AI on Telegram doesn't know what you said on Slack. Zylos is agent-centric: your AI is one person across every channel. The C4 communication bridge routes all messages through a single gateway — one conversation, one memory, one personality. Every message persisted to SQLite and fully queryable.

Your Context, Guaranteed

Inside Out Memory Infinite Context

Other frameworks lose your AI's memory during context compaction — silently, without warning. Zylos prevents this with a two-step safeguard: when context reaches 75%, the system automatically saves all memory before compaction runs. Five-layer Inside Out memory (identity → state → references → sessions → archive) ensures the AI always knows what to keep and what to compress. Your AI never wakes up with amnesia.

Self-Healing by Default

Lifecycle Management

No third-party monitoring tools needed. Zylos includes native crash recovery, heartbeat liveness probes, health monitoring, context window management, and automatic upgrades — all built in. Your AI detects its own problems and fixes them. It stays alive while you sleep.

$20/month, Not $3,600

Other frameworks charge per API token. Community reports show monthly bills of $500–$3,600 for always-on agents. Zylos runs on your Claude subscription — flat rate, no per-token billing. Same AI capabilities, a fraction of the cost.

Powered by Best-in-Class AI Runtimes

Zylos supports Claude Code (Anthropic) and Codex (OpenAI) as interchangeable AI runtimes. Start with one, switch to the other anytime with zylos runtime codex — your memory, skills, and channels are preserved. When AI providers ship new capabilities, your agent benefits automatically. And because both runtimes can program, your AI writes new skills, integrates services, and evolves with your needs.


Communication Channels

Built-in

  • Web Console — Browser-based chat interface. No external accounts needed. Included with zylos init.

Official Channels

Install with one command:

zylos add telegram
zylos add lark

Build Your Own

All channels connect through the C4 communication bridge. To add a new channel (Slack, Discord, WhatsApp, etc.), implement the C4 protocol — a simple HTTP interface that pushes messages into the unified gateway. Your custom channel gets the same unified session, audit trail, and memory as every other channel.


OpenClaw Compatibility

Zylos is fully compatible with the OpenClaw ecosystem. Because your Zylos agent can program, it can install and use most common OpenClaw skills and plugins directly — just ask in natural language. Most OpenClaw extensions are one conversation away. Zylos agents and OpenClaw agents communicate in real-time through the HXA-Connect B2B protocol — no custom bridges needed.

Capability Mapping

OpenClaw CapabilityZylos EquivalentStatus
Skills / ClawHubComponent System + Registry✅ Available
Multi-agent routingHXA-Connect B2B Protocol✅ Available
Gateway (control plane)C4 Comm Bridge (unified gateway, SQLite audit)✅ Available
Memory / persistenceInside Out Memory (5-layer architecture)✅ Available
Context compressionAuto memory save + infinite context✅ Available
Browser automationzylos-browser✅ Available
Cron / webhooksScheduler (cron, NL input, idle-gating)✅ Available

Architecture note: OpenClaw supports multi-session routing to isolated workspaces. Zylos takes a different approach — unified session (one AI, one consciousness across all channels). This is a deliberate design choice, not a missing feature.

For OpenClaw Users

Connect your OpenClaw agent to Zylos agents via openclaw-hxa-connect:

cd ~/.openclaw/extensions
git clone https://github.com/coco-xyz/openclaw-hxa-connect.git hxa-connect
cd hxa-connect && npm install

Once configured, your OpenClaw agent joins the same collaboration network as Zylos agents — with full thread support, @mentions, and real-time messaging.

For Zylos Users

Connect to OpenClaw agents by installing the HXA-Connect component:

zylos add hxa-connect

Your Zylos agent can then communicate with any OpenClaw agent on the same HXA-Connect hub — same unified session, same memory, same personality.


CLI

zylos init                    # Set up Zylos environment
zylos attach                  # Attach to the agent tmux session
zylos runtime <name>          # Switch AI runtime (claude or codex)
zylos doctor                  # Diagnose and auto-repair installation
zylos status                  # Check running services
zylos logs [service]          # View service logs
zylos add <component>         # Install a channel or capability
zylos upgrade <component>     # Upgrade a component
zylos upgrade --self          # Upgrade zylos-core itself
zylos upgrade --self --beta   # Check for beta/prerelease versions
zylos uninstall --self        # Uninstall zylos entirely
zylos list                    # List installed components
zylos search [keyword]        # Search component registry

Uninstall

zylos uninstall --self

This will stop all services, remove the zylos npm package, delete ~/zylos/, and clean shell PATH entries. You'll be prompted to optionally remove PM2 and Claude CLI.

Use --force to skip all prompts (only performs core removal, no optional cleanup).

Node.js and nvm are not touched.


Built by Coco

Zylos is the open-source core of Coco — the AI employee platform.

We built Zylos because we needed it ourselves: a reliable infrastructure to keep AI running 24/7 for real work. Everything in Zylos is battle-tested in production at Coco, serving teams that depend on AI employees every day.

Want a managed experience? Coco gives you a ready-to-work AI employee — with persistent memory, multi-channel communication, and skill packages — deployed in 5 minutes.

License

MIT

常见问题

What is zylos-core?

zylos-core is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by zylos-ai. Give your AI a life — open-source infrastructure for persistent, self-maintaining AI companions. Powered by Claude Code. It has 179 GitHub stars.

Is zylos-core safe to use?

Yes. zylos-core passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install zylos-core?

Clone the repository with "git clone https://github.com/zylos-ai/zylos-core" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is zylos-core written in?

zylos-core is primarily written in JavaScript. It is open-source under zylos-ai on GitHub, so you can review or fork the full source.

Are there alternatives to zylos-core?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh zylos-core against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情