百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

robocode

> 编程语言
开源

Rust - 以 Claude 代码为灵感的第一个本地代理 CLI 重新实现。

99 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Rust - 以 Claude 代码为灵感的第一个本地代理 CLI 重新实现。

Viden

Viden is a local-first coding-agent cockpit for developers who want one terminal surface to chat with a model, approve real workspace changes, supervise delegated agents, and keep enough evidence to resume work later.

Chinese version: README.zh-CN.md

Why It Exists

Most coding agents are good at a single conversation. Viden is built around a slightly different job: coordinating programming work. It keeps the active conversation, tool effects, approvals, tests, tasks, memory, provider health, and external agent lanes visible in one operator cockpit.

Highlights

  • Cockpit TUI: transcript, approval state, workspace snapshot, active tasks, diagnostics, provider health, and recent evidence stay visible together.
  • Real tool execution: file read/write/edit, search, shell, web, Git, LSP, test commands, task state, and memory all run through the shared runtime path.
  • Permission-aware edits: mutating file, shell, Git, workflow, and delegated agent actions are mediated by permission modes before they affect the workspace.
  • Multi-provider runtime: DeepSeek, OpenAI, Anthropic, OpenAI-compatible gateways, Ollama, and offline fallback are available through one provider interface, with provider registry diagnostics.
  • Agent supervision lanes: Codex, Claude, custom shell/template lanes, tmux, embedded PTY, and experimental ACP surfaces are exposed as supervised operator lanes.
  • Durable local context: transcripts, session index, task events, memory events, lane artifacts, and preview evidence are stored locally by default.
  • Screenshot-gated TUI iteration: visual changes produce deterministic screenshots for review before release.
  • Multi-platform install: Homebrew plus release archives for macOS, Linux, and Windows.

Screenshots

These are real macOS Terminal screenshots captured from Viden 0.1.30 release-preview states with deepseek / deepseek-v4-flash. They cover the welcome composer, live-turn cockpit, resize/CJK redraw behavior, provider/model setup, delegated-lane operation, and side-screen evidence. Deterministic SVG previews remain under docs/previews/generated/ for regression review.

First-Launch Welcome

Live Provider Turn

Resize-Safe Redraw

CJK Input

Slash-Command Palette

First-Run Setup Wizard

Provider Configuration Selector

Provider Detail Form

Grouped Model Selector

Lane Action Selector

Agent Lane Detail

Side Screen: Agent Lanes

Side Screen: Ops And Evidence

Install

Homebrew Tap

Recommended on macOS and Linux:

bash
brew install wikieden/tap/viden

Verify the install:

bash
viden --help

Release Archive

Download a release archive from Viden v0.1.30.

Available release targets:

  • aarch64-apple-darwin for Apple Silicon macOS
  • x86_64-apple-darwin for Intel macOS
  • x86_64-unknown-linux-gnu for Linux x64
  • x86_64-pc-windows-msvc for Windows x64

Install on macOS or Linux:

bash
VERSION=0.1.30
TARGET=aarch64-apple-darwin
curl -L -O "https://github.com/wikieden/viden/releases/download/v${VERSION}/viden-v${VERSION}-${TARGET}.tar.gz"
tar -xzf "viden-v${VERSION}-${TARGET}.tar.gz"
sudo install -m 755 "viden-v${VERSION}-${TARGET}/viden" /usr/local/bin/viden
viden --help

Install on Windows PowerShell:

powershell
$Version = "0.1.30"
$Target = "x86_64-pc-windows-msvc"
Invoke-WebRequest "https://github.com/wikieden/viden/releases/download/v$Version/viden-v$Version-$Target.tar.gz" -OutFile "viden-v$Version-$Target.tar.gz"
tar -xzf "viden-v$Version-$Target.tar.gz"
New-Item -ItemType Directory -Force "$env:USERPROFILE\bin"
Copy-Item "viden-v$Version-$Target\viden.exe" "$env:USERPROFILE\bin\viden.exe"
$env:PATH += ";$env:USERPROFILE\bin"
viden.exe --help

Quick Start

Run Viden. Clean installs use DeepSeek as the default online provider and open the cockpit TUI by default:

bash
viden

On a clean session the TUI starts on a focused welcome composer instead of opening setup automatically. It stays on that welcome surface while you run setup commands; the full cockpit appears after the first normal task prompt. Use Ctrl-P for commands, or submit one of these entries when you want provider/model setup:

bash
/setup
/setup provider
/connect
/models

Set a DeepSeek key for live turns:

bash
export DEEPSEEK_API_KEY="sk-..."
viden

If the selected model fails or is unavailable, Viden shows a switch-model prompt with concrete /model ..., /provider ..., and /provider doctor ... actions.

Run an explicit offline smoke session when you do not want a live provider:

bash
viden --provider fallback --model test-local

Use the legacy line REPL only when you explicitly need it:

bash
viden --no-tui --provider fallback --model test-local

Start from source during development:

bash
cargo run -p viden-cli -- --provider fallback --model test-local

Core Workflows

  1. Ask Viden to change code, then approve or deny each mutating tool call.
  2. Run /test to execute a test through the same permission path and keep failure evidence visible in /status and the TUI.
  3. Use /git diff, /diff, and /git status to review what changed before committing.
  4. Create a lightweight active brief with /brief or /spec ; use /brief steering init when project conventions should guide lanes.
  5. Track durable work with /task add, /tasks, /task resume-context, and /memory.
  6. Open side screens with /screen side-1 and /screen side-2 when you want a second terminal to watch agent lanes or ops evidence.
  7. Start supervised external work with /lane codex, /lane claude, /lane run, /lane tmux, or /agent run codex.

Essential TUI Controls

  • Enter submits the composer; Ctrl-J is the explicit send action.
  • Ctrl-K clears the composer, Ctrl-R reloads the latest user prompt, and Ctrl-N starts /task add ....
  • ? opens the in-TUI help surface when the composer is empty.
  • Esc or Ctrl-C exits; /quit and /exit also close the TUI.
  • While a provider turn is active, the cockpit keeps repainting the working state and elapsed time. Ctrl-C requests cancellation when the runtime can observe it, but an in-flight provider request may still finish.
  • Approval prompts default to Approve; press y to approve, n to deny, d to focus diff, or use Tab / arrow keys to move between actions.
  • Type / to open command suggestions. Provider and model commands stay in the compact completion surface while you are typing; they do not open a large modal until the command is submitted. Common entries include /help, /settings, /setup, /connect, /provider, /models, /status, /config, /permissions, /test, /sessions, /resume, /task, /brief, /spec, /memory, /lane, /agent, /screen, /lsp, /git, /web, /extensions, /mcp, and /skills. Long suggestion lists keep the selected row visible and support mouse completion on visible rows.

Configuration

Viden loads config from the platform config path and then from .viden/config.toml, with CLI flags taking precedence.

Inside the TUI, /connect, /provider, /setup provider, and /settings provider open an opencode-style provider picker. Select a supplier inside the panel, enter an API key there when required, and then use the provider config panel to change the key, clear the current session key, run doctor, or choose that provider's default model. Choosing that provider-scoped model saves the provider/model, runs provider doctor, and writes readiness evidence back into the transcript. /models, /model, /setup model, and /settings model open a provider-grouped model picker that only includes configured providers. For configured providers, the picker includes active, favorite, default, and known models; selecting a row applies the provider/model switch immediately. API keys are masked in the panel and Viden saves the env var name, not the raw key. Direct commands such as /settings provider ..., /models , and /model remain available for scripts and advanced users.

Live provider smoke evidence can be collected without opening the TUI:

bash
scripts/provider-live-smoke.sh --provider deepseek --model deepseek-v4-flash
scripts/provider-live-smoke.sh --provider dashscope-coding-plan --model qwen3.6-plus
scripts/deepseek-dev-scenario-smoke.sh --model deepseek-v4-flash

scripts/deepseek-dev-scenario-smoke.sh is the billable development smoke: it asks DeepSeek to create a tiny Python module, generate and run its test, and then writes usage.json plus a Markdown summary with input/output/total tokens and an estimated CNY cost.

toml
provider = "deepseek"
model = "deepseek-v4-flash"
permission_mode = "acceptEdits"
request_timeout_secs = 120
max_retries = 2

[providers.deepseek]
api_base = "https://api.deepseek.com"
api_key_env = "DEEPSEEK_API_KEY"
default_model = "deepseek-v4-flash"
models = ["deepseek-v4-flash", "deepseek-v4-pro"]
favorite_models = ["deepseek-v4-pro"]

Useful startup flags:

bash
viden --config .viden/config.toml
viden --no-tui --resume latest
viden --permissions plan
viden --tui-theme aurora
viden --provider fallback --model test-local --tui-startup-check

The V3 TUI always enters through the unified CoreClient cockpit. Legacy --tui-screen side-1|side-2 values are accepted for transition compatibility, but they no longer start a frontend-owned lane/process monitor. Available skins are aurora, ice, mono, amber, and phosphor; locale, color mode, density, and motion come from the Core-owned UI preference snapshot.

What Is Experimental

  • MCP and skills are visible through /mcp, /skills, and /extensions, but MCP-backed tools are not yet wired into the mutation permission path.
  • ACP appears as an experimental agent adapter surface.
  • Codex app-server write-capable delegated turns are guarded because live trials showed workspace writes can occur before Viden receives an approval event.

Documentation

README stays focused on product usage. Full usage and implementation detail live in the docs:

  • User Guide
  • Architecture
  • Product Requirements
  • Long-Term Roadmap
  • Staged Roadmap
  • Reference Analysis
  • Provider Live Matrix
  • TUI Cockpit Design
  • TUI Interaction Audit
  • Testing and Validation Plan
  • 0.1.26 Status
  • 0.1.26 Plan
  • 0.1.25 Status
  • 0.1.25 Plan
  • 0.1.23 Status
  • 0.1.21 Plan
  • 0.1.21 Status
  • 0.1.19 Plan
  • 0.1.19 Status
  • 0.1.18 Status
  • 0.1.17 Plan
  • 0.1.17 Status
  • 0.1.16 Plan
  • 0.1.15 Status
  • 0.1.15 Plan
  • 0.1.14 Status
  • 0.1.14 Plan
  • 0.1.13 Status
  • 0.1.13 Plan
  • 0.1.12 Status
  • 0.1.12 Plan
  • ContextBundle And Token Efficiency
  • Development Standards

Maintainer Checks

Build a local archive:

bash
scripts/package-release.sh

Run the release

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言