synerix
Health Gecti
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 14 GitHub stars
Code Basarisiz
- rm -rf — Recursive force deletion command in .github/workflows/deploy-docs.yml
- rm -rf — Recursive force deletion command in install.sh
- network request — Outbound network request in package-lock.json
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
⚡ Synerix — 高性能 AI 编程终端 | 多智能体协作 + TUI 界面 + 安全沙箱
Synerix is an AI-native coding terminal that thinks, writes, reviews, and fixes code — without pulling you out of the command line.
[⚡ Act] · [🎵 Vibe] · [🗣 Chat] · [📐 Architect] · [📋 Plan]
Why Synerix?
AI coding assistants are powerful — but the workflow friction kills your flow:
| The Problem | Synerix's Answer |
|---|---|
| Switch between editor, browser, and terminal 50× an hour | One terminal. Type, generate, review, run, fix — all in one place. |
| Approve every file write, every command, every keystroke | Smart sandbox. Low-risk ops auto-approve in Vibe mode; dangerous ops get a full preview. |
| Paste code into chat, copy it back, hit compile, paste errors back | Auto-iteration. described → generated → compiled → tested → fixed in a single loop. |
Synerix collapses the AI coding workflow from 6 tools × 3 contexts into 1 terminal window.
⚡ Installation
Linux / macOS
curl -fsSL https://raw.githubusercontent.com/Agions/synerix/main/install.sh | bash
Windows (PowerShell 5.1+)
# Recommended — one-liner (equivalent to curl | bash)
iwr -useb https://raw.githubusercontent.com/Agions/synerix/main/install.ps1 | iex
China mirror (Gitee)Alternative package managers (once published):
Manager Command Notes winget winget install Agions.synerixBuilt into Win10/11 scoop scoop bucket add Agions; scoop install synerixDev favourite choco choco install synerixEnterprise cargo cargo install synerixRust toolchain required
# Linux / macOS
curl -fsSL https://gitee.com/Agions/synerix/raw/main/install.sh | bash
# Windows
iwr -useb https://gitee.com/Agions/synerix/raw/main/install.ps1 | iex
Build from source
git clone https://github.com/Agions/synerix.git
cd synerix && cargo build --release
# Binary → target/release/synerix (or synerix.exe on Windows)
Uninstall
# Linux / macOS — Keep config
curl -fsSL https://raw.githubusercontent.com/Agions/synerix/main/uninstall.sh | bash
# Linux / macOS — Wipe everything
curl -fsSL https://raw.githubusercontent.com/Agions/synerix/main/uninstall.sh | bash -s -- --all
# Windows — Remove binary
Remove-Item "$env:LOCALAPPDATA\Programs\synerix" -Recurse -Force
✨ Capabilities
🤖 Multi-Agent Swarm5 specialized agents work together like a dev team:
YAML-defined pipelines chain them: |
🎵 Vibe Coding ModeDescribe → Generate → Compile → Fix. Zero friction.
|
||||||||||||
🎨 Terminal UIratatui 5-zone layout with Tokyo Night palette:
|
🔒 Security Sandbox3 protection layers, no false alarms:
|
||||||||||||
🧩 Skill SystemAuto-detected YAML/MD skill files + external sources:
Load from Git repos, local directories, or built-in defaults. |
⚡ Blazing PerformanceWritten in Rust, built for speed:
LTO + strip + |
🚀 Launch & First Run
# 1. Configure your LLM
mkdir -p ~/.config/synerix
cat > ~/.config/synerix/config.toml << 'EOF'
[llm]
provider = "deepseek"
api_key = "sk-..."
model = "deepseek-v4-flash"
[ui]
theme = "dark"
keymap = "default"
[sandbox]
mode = "confirm"
EOF
# 2. Launch
synerix
# 3. Try it
❯ Refactor main.rs to reduce nesting
❯ /mode vibe # Enter flow state
❯ Add pagination to the API # Auto-generate, compile, test, fix
🔌 Configuration
LLM Providers
| Provider | Default Model | Notes |
|---|---|---|
deepseek |
deepseek-v4-flash | Default |
mimo |
mimo-v2.5-pro | Xiaomi MiMo |
custom |
any | OpenAI-compatible API |
Environment overrides: SYNERIX_API_KEY, SYNERIX_BASE_URL, SYNERIX_MODEL.
MCP Servers
# Remote (HTTP)
[mcp]
name = "remote-tools"
type = "http"
url = "https://mcp.example.com/sse"
# Local (stdio)
[mcp]
name = "filesystem"
type = "stdio"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
Custom Agents
[[agents]]
name = "security-auditor"
system_prompt = "You are a security expert. Find vulnerabilities."
tools = ["file_read", "search"]
max_turns = 8
Slash Commands
| Command | What it does |
|---|---|
/mode <mode> |
Switch coding mode (act / vibe / chat / architect / plan) |
/help |
List all commands |
/clear |
Clear conversation |
/model <name> |
Switch LLM model |
/reset |
Reset session state |
/exit |
Quit Synerix |
/mcp / /mcp list |
List MCP servers |
/mcp add <name> stdio <cmd> |
Add stdio MCP server |
/mcp add <name> http <url> |
Add HTTP MCP server |
/mcp remove <name> |
Remove MCP server |
/skill |
Manage skills and sources |
/workflow <name> |
Run a workflow |
🏗️ Architecture
src/
├── main.rs # Entry point + startup timer
├── app.rs # State machine + event dispatch
├── error.rs # Unified errors (thiserror)
├── config/ # Configuration layer
│ ├── settings/ # TOML config + env overrides
│ ├── keymap/ # Vim/Emacs/default keymaps
│ └── watcher.rs # Hot-reload (mtime + SIGHUP)
├── tui/ # Terminal UI
│ ├── theme.rs # Tokyo Night → ColorPalette
│ ├── layout.rs # 5-zone layout computation
│ ├── renderer.rs # Dirty-flag diff renderer
│ └── widgets/ # 7 composable UI widgets
├── agent/ # Agent core
│ ├── loop.rs # Agent loop (tool dispatch + LLM stream)
│ ├── context.rs # Token budgeting + dynamic trim
│ ├── prompt.rs # System prompt builder
│ ├── modes.rs # 5 coding modes (+ Vibe)
│ └── multi/ # Multi-agent swarm + bus
├── tools/ # Tool layer
│ ├── registry.rs # Schema-caching registry
│ └── builtin/ # file_read, file_write, patch, search, shell_exec
├── skills/ # Skills system
├── mcp/ # MCP protocol (stdio + HTTP)
├── sandbox/ # Security sandbox
│ ├── approval.rs # Approval workflows
│ ├── classifier.rs # Risk classification
│ └── atomic.rs # Crash-safe file writes
├── workflow/ # DAG workflow engine
├── session/ # SQLite session persistence
├── coding_modes.rs # Coding mode definitions
└── telemetry.rs # Startup metrics + timing
🧪 Testing & Development
cargo check # Type-check (fast)
cargo test --workspace # 706 tests
cargo clippy # Zero warnings
cargo build --release # LTO + strip → 3.8 MB
| Test Suite | Count | What it covers |
|---|---|---|
--lib |
505 unit tests | Agents · config · commands · MCP · sandbox · skills · tools · TUI · workflows |
--test e2e |
9 tests | File tools · keymaps · LLM mock · session persistence |
--test full_pipeline |
41 tests | Config→tools→context pipeline, session lifecycle, skill matching |
--test phase2 |
25 tests | Atomic writes · command preview · risk classification |
--test phase3 |
20 tests | Theme system · syntax highlight · diff rendering |
integration |
16 tests | App creation · settings roundtrip · JSON-RPC · token budgets |
workflow_integration |
26 tests | DAGs · conditions · retry · timeout · variable propagation |
sandbox_pipeline |
14 tests | Atomic write safety · injection detection · permission isolation |
📄 License
MIT — free for personal and commercial use.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi