VIKI Code is governed coding infrastructure for teams that want an AI system to operate inside real repositories, under approvals, with rollback paths, live validation, and evidence-backed execution.
It is built for serious engineering workflows: bug-fixes, refactors, migrations, repo intelligence, local API control, IDE handoff, and chat-driven approvals across the same governed execution core. The current product flow is local-first, prompt-first, and designed to feel stable in a normal PowerShell or terminal session without requiring users to learn internal provider syntax.
Product Page | GitHub | Proof Report | Release Notes
If VIKI Code is relevant to your stack, star the repo to follow releases, proof updates, and benchmark progress.
- Real repo execution instead of chat-only suggestions.
- Local-first provider flow with Ollama as a first-class runtime when it is available.
- Approval-aware autonomy with diff preview, patch export, and rollback paths.
- Multi-agent execution designed for planning, implementation, validation, and review.
- Repo intelligence tuned for large codebases, monorepos, and targeted test selection.
- CLI, API, VS Code, Telegram, and WhatsApp surfaces over one execution model.
- Install locally and launch directly into the guided VIKI setup flow.
- Use Ollama locally if it is installed, or choose another provider preset without learning LiteLLM routing syntax.
- Pick a provider preset, reuse a shell API key if one is already present, and save a user-level config outside the repo.
- Let VIKI initialize the current repository safely, then ask for a real bug-fix, refactor, or repo summary in the same terminal session.
- Carry the same session model across CLI, API, IDE, and approval workflows.
| Signal | Current 4.1.4 evidence |
|---|---|
| Local regression suite | 100 passed |
| Live validation suite | 9/9 passed on fresh repos |
| Generic CLI live wins | 7/7 passed |
| Public live benchmark slice | 8/8 passed |
| Public offline benchmark slice | 8/8 passed |
| Human-style install validation | passed |
| Isolation validation | passed through real WSL-isolated execution |
| Local-first Ollama execution | passed locally on qwen2.5-coder:7b |
The project is public-release ready for its niche. It is not positioned here as fastest-in-class or benchmark leader overall, because the current proof still shows that live time-to-green is slower than the bundled baselines.
VIKI is built around controlled autonomy. Tasks run with worktree isolation, explicit validation, approval-aware flow control, reversible diffs, and artifacted evidence rather than optimistic "trust me" completion.
The system indexes repository structure, symbols, imports, impacted areas, and likely test targets so it can localize work and keep context tight on real codebases.
The same execution stack powers:
- the CLI for direct operator use
- a local HTTP API for orchestration and integrations
- VS Code tooling for repo-aware interaction
- Telegram and WhatsApp command flows for approvals, status, diff, and patch visibility
- platform and infra teams that want governed AI execution inside repositories
- engineering teams working in larger repos or monorepos
- teams that need approvals, rollback, and proof artifacts alongside automation
- builders who want a serious local coding agent surface, not only a hosted chat UX
The Rebootix website source now includes a dedicated /viki-code product route, while this repository remains the full engineering source, proof base, and release home.
Clone the repository and bootstrap a local install inside the checkout:
git clone https://github.com/rebootix-research/viki-code.git
cd viki-code
python scripts/install.py --path .After install, launch the product entrypoint:
vikiVIKI now opens with a guided first-run experience. If setup is incomplete, it launches the setup wizard automatically. If setup is already complete, it drops you into a prompt-first console. If Ollama is installed and reachable, VIKI treats it as the preferred local-first runtime and will guide you toward the strongest practical local coding model it can detect.
Start VIKI immediately after install:
python scripts/install.py --path . --runUpgrade an existing local install:
python scripts/install.py --path . --updateRemove the local install and launchers:
python scripts/install.py --path . --uninstallIf you prefer a built artifact flow, install from the release wheel:
pip install dist/viki_code-4.1.4-py3-none-any.whlIf you prefer a container package, pull the published GitHub Container Registry image:
docker pull ghcr.io/rebootix-research/viki-code:latest
docker run --rm ghcr.io/rebootix-research/viki-code:latest --helpThe intended first successful path is:
git clone https://github.com/rebootix-research/viki-code.git
cd viki-code
python scripts/install.py --path .
vikiOn first launch VIKI:
- shows a premium welcome screen
- shows the active workspace, provider state, GitHub state, recent workspaces, and recent sessions when available
- detects whether provider setup is complete
- launches the setup wizard automatically if it is not
- saves configuration at the user level instead of writing secrets into the repo
- initializes the current workspace safely when needed
- drops you into a prompt-first task entry flow with connected product actions
If you want to revisit setup explicitly, run:
viki setup
viki setup --repairThe guided setup flow is the primary path for normal users. It hides provider prefix syntax and offers provider presets instead:
- Ollama
- DashScope / Qwen
- OpenAI
- OpenRouter
- Anthropic
- Azure OpenAI
- NVIDIA with a first-class Kimi 2.5 preset over the OpenAI-compatible transport
- Generic OpenAI-compatible endpoints
The wizard asks for the minimum needed values, lets you reuse an API key that is already present in your shell, offers a sensible model profile, and saves the resulting config to a user-level file outside the repository. Provider selection is isolated by default, so the provider you choose becomes the active runtime instead of silently inheriting stale cloud fallbacks from previous runs.
For Ollama users, VIKI:
- detects whether Ollama is installed and reachable
- detects installed local models
- picks the strongest practical coding-capable local model automatically
- offers to pull the recommended local model when the runtime is reachable but no coding model is installed yet
- shows the actual active local model in
viki providers,viki doctor, and the home screen
For NVIDIA users, the wizard keeps the transport details out of the normal path: choose the NVIDIA preset, pick Kimi 2.5, paste the key, accept the default base URL, and start prompting.
On Windows PowerShell, VIKI now uses a safer secret-input path during setup. Optional Telegram or WhatsApp setup is clearly marked as optional and cannot corrupt the provider flow if you skip it.
Optional setup in the same flow:
- Telegram bot token and allowed chat IDs
- WhatsApp via Twilio
- default approval mode
- default session style
- default terminal theme
Advanced env-based setup is still available for operators who prefer it:
export VIKI_PROVIDER=ollama
export VIKI_PROVIDER_ALLOW_FALLBACKS=false
export OLLAMA_BASE_URL=http://127.0.0.1:11434
export OLLAMA_MODEL=qwen2.5-coder:7b
viki providers
viki doctor .PowerShell example:
$env:VIKI_PROVIDER = "ollama"
$env:VIKI_PROVIDER_ALLOW_FALLBACKS = "false"
$env:OLLAMA_BASE_URL = "http://127.0.0.1:11434"
$env:OLLAMA_MODEL = "qwen2.5-coder:7b"
viki providers
viki doctor .Installed launcher locations:
Linux / macOS: .viki-workspace/bin/viki-local
Windows CMD: .viki-workspace\bin\viki-local.cmd
PowerShell: .viki-workspace\bin\viki-local.ps1
Typical prompt-first flow after installation:
viki
# choose provider preset in the wizard if needed
# then use the home screen to open a repo, connect GitHub, resume a session, or type a task at `viki>`Connected product commands are also available directly:
viki github status
viki github repos --limit 10
viki github clone rebootix-research/viki-code
viki workspaces list
viki workspaces use /path/to/repo
viki sessions list .
viki sessions continue <session_id> --path .
viki providersExplicit task commands still work:
viki run "Fix the broken calculation and run the relevant tests" --path .
viki status .
viki diff <session_id> --path . --renderedPowerShell-friendly first run:
git clone https://github.com/rebootix-research/viki-code.git
cd viki-code
python scripts/install.py --path .
vikiVIKI ships with a premium terminal presentation layer for interactive use. In a capable terminal it renders a branded banner, session header, repo and branch context, provider and model strip, setup summaries, agent activity tables, approval panels, and readable diff previews.
- Default interactive theme:
premium - Alternate high-contrast theme:
contrast - Plain fallback: automatic in CI, non-interactive shells, and minimal terminals
- Explicit plain mode:
viki --plain ... - Forced themed capture for transcripts or screenshots:
viki --force-rich ... - Guided first run:
viki - Connected home screen with primary actions for GitHub, workspaces, setup, approvals, diffs, and session resume
- Explicit onboarding:
viki setup
Examples:
viki
viki setup
viki github status
viki workspaces list
viki sessions list .
viki --theme premium doctor .
viki --theme premium providers
viki --theme premium run "Fix the broken calculation and make tests pass" --path .
viki --plain run "Inspect this repo and summarize the next safe step" --path .
viki --force-rich --theme premium doctor .
viki --theme premium diff <session_id> --path . --renderedThe themed layer is designed for PowerShell, macOS Terminal, Linux shells, and modern Windows terminals without requiring shell-specific setup.
You do not need rigid internal command phrasing to get useful work out of VIKI. The default shell is designed to accept normal human requests such as:
fix this bug
make the tests pass
rename this helper everywhere
summarize this repo
continue the last task
show the last diff
set this up for me
When the request is actionable, VIKI uses repo context, recent session state, likely target files, and focused validation hints to shape the execution plan without forcing you to specify file paths up front.
Connected product commands:
viki
viki home
viki github status
viki github repos --limit 10
viki github clone rebootix-research/viki-code --destination ~/viki-workspaces
viki workspaces list
viki workspaces use ~/viki-workspaces/viki-code
viki sessions list .
viki sessions continue <session_id> --path .Repo intelligence and session tooling:
viki repo "auth migration" --path .
viki symbols "normalize_account" --path .
viki impact --changed-file viki/api/server.py --path .
viki diff <session_id> --path .
viki status . --session-id <session_id>Live task examples:
viki run "Fix the broken calculation and make tests pass" --path .
viki run "Refactor auth naming consistently and keep behavior green" --path .
viki run "Migrate the old consumer to the new API and run the relevant tests" --path .Start the local API:
viki up . --host 0.0.0.0 --port 8787Representative routes:
GET /healthzGET /protocolGET /runsPOST /runsGET /runs/{id}GET /runs/{id}/eventsGET /runs/{id}/diffGET /runs/{id}/resultGET /repo/profileGET /repo/context?q=...GET /repo/search?q=...GET /repo/symbols?q=...GET /repo/impact?path=...GET /approvalsPOST /approvals/{id}
Example run request:
curl -X POST http://127.0.0.1:8787/runs ^
-H "Content-Type: application/json" ^
-d "{\"prompt\":\"Fix the broken calculation and make tests pass\",\"workspace_path\":\".\"}"Generate workspace integration:
viki ide vscode .
viki ide vscode-extension .The VS Code surface is built to expose task submission, status visibility, diff review, approvals, and repo-aware lookup against the same underlying session model.
Telegram and WhatsApp webhook handlers support a command-driven operational surface, including:
/help
/latest
/sessions
/status <session_id>
/approvals
/approve <id>
/reject <id>
/diff <session_id>
/patch <session_id>
/symbols <query>
/repo <query>
/logs <session_id>
In the current public proof set, these messaging surfaces are harness-tested. They are not represented here as fully live-network validated end to end.
VIKI is designed to be useful under autonomy without pretending autonomy should be ungoverned.
- isolated task worktrees
- targeted validation before acceptance
- approval-aware action flow for risky operations
- diff preview and exported patch bundles
- redacted logs and proof artifacts
- rollback and revert paths preserved as first-class outputs
The current 4.1.4 evidence shows a credible, live-tested system:
9/9broader live validation tasks passed on fresh repos8/8public live benchmark cases passed8/8public offline scripted benchmark cases passed- real API bug-fix and API multi-agent refactor runs passed
- human-style install validation passed
- real WSL-isolated live execution passed
The honest limitation is speed: VIKI currently trails the bundled baselines on time-to-green even where it completes the task successfully.
VIKI now uses a PowerShell-safe secure prompt path for secrets when it can. If the terminal cannot support hidden entry cleanly, VIKI falls back to a safer visible single-line prompt and never prints the value back in setup summaries.
Run:
ollama list
ollama pull qwen2.5-coder:7b
viki providers
viki doctor .If ollama list works, VIKI should detect the local runtime and show the selected local model clearly.
Pin the provider explicitly:
export VIKI_PROVIDER=ollama
export VIKI_PROVIDER_ALLOW_FALLBACKS=falseThen run:
viki providers
viki doctor .The selected provider and fallback chain should reflect the active runtime directly.
viki/ Core runtime, repo intelligence, orchestration, API, IDE, integrations
scripts/ Install, validation, live-run, and release helpers
tests/ Unit, integration, CLI, API, and regression coverage
BENCHMARK_RESULTS/ Curated machine-readable benchmark artifacts
LIVE_RUN_RESULTS/ Curated live validation artifacts
docs/ Published benchmark board and supporting docs
assets/logo/ SVG brand assets for GitHub and release surfaces
Rebootix Artificial Intelligence Research and Development builds advanced AI systems, autonomous software infrastructure, and production-grade machine intelligence products.
Rebootix focuses on real-world execution, applied AI engineering, and high-performance intelligent systems. VIKI Code is part of that broader effort: practical AI software that operates inside real developer workflows and governed execution environments.
