Skip to main content

Visual Intent Contract Orchestrator: freeze project slices, evolve capsules, verify intent contracts.

Project description

Vico

AI Cost Tracking

PyPI Version Python License AI Cost Human Time Model

  • 🤖 LLM usage: $0.5133 (5 commits)
  • 👤 Human dev: ~$231 (2.3h @ $100/h, 30min dedup)

Generated on 2026-05-29 using openrouter/qwen/qwen3-coder-next


VicoVisual Intent Contract Orchestrator.

Vico is a Python package and CLI for creating small, isolated project capsules from a large codebase. It helps you freeze a baseline, extract a slice of code/data/contracts, evolve that slice through multiple LLM or human iterations, and verify the result against formal intent contracts before promoting it back.

The core workflow is:

freeze → capsule create → blueprint → iterate → export-prompt → verify → promote

Vico is designed to work with Intract-style intent contracts, but it can run as a standalone prototype. The goal is not to make an LLM magically correct. The goal is to keep the LLM inside a small, versioned, contract-bound sandbox and detect when its output diverges from declared intent.

What changed in 0.2.0

The second iteration adds the missing practical loop around capsules:

  • baseline hash lock per capsule,
  • capsule diff against the frozen slice,
  • source drift check against the original files,
  • generated UI/API/test blueprint,
  • LLM-ready prompt export,
  • capsule status command,
  • richer verification with evidence for outputs, forbidden effects, required intents and secret-like values.

Why Vico?

Long-running IDE prompting has a common failure mode:

large repo + vague task + many steps = context drift and hallucinated implementation

Vico changes the operating model:

large repo
  ↓ freeze baseline
small capsule
  ↓ evolve only this capsule
verified result
  ↓ promote to the real project

Install locally

python -m venv .venv
. .venv/bin/activate
pip install -e .[dev]
vico --help

First run

vico init .
vico freeze . --name baseline
vico capsule create . --name menu-icons --domain menu --include "examples/frontend_view/src/**" --route /menu-icons
vico capsule blueprint menu-icons --print
vico capsule iterate menu-icons --steps 3 --goal "Add preview, confidence and reason fields"
vico capsule export-prompt menu-icons
vico capsule verify menu-icons
vico capsule diff menu-icons
vico capsule drift menu-icons
vico capsule promote menu-icons --dry-run

Important folders

src/vico/       Python package
docs/           documentation
examples/       runnable example projects
tests/          unit tests

Documentation

Start here:

Main commands

vico init .
vico freeze . --name baseline
vico capsule create . --name my-slice --include "src/my_module/**"
vico capsule list
vico capsule status my-slice
vico capsule blueprint my-slice
vico capsule iterate my-slice --steps 10 --goal "Evolve final screen"
vico capsule export-prompt my-slice
vico capsule diff my-slice
vico capsule drift my-slice
vico capsule verify my-slice
vico capsule promote my-slice --dry-run

License

Licensed under Apache-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexu-0.2.5.tar.gz (266.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexu-0.2.5-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file nexu-0.2.5.tar.gz.

File metadata

  • Download URL: nexu-0.2.5.tar.gz
  • Upload date:
  • Size: 266.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for nexu-0.2.5.tar.gz
Algorithm Hash digest
SHA256 7633f664c0cf8a9e82f317928352ba7bfa5b2bfebbafe5bbc3ed00a1f5213186
MD5 dbdd33f45024de86a48fa4758e778fa0
BLAKE2b-256 eed140c7297fde917341012cae860ed1e3b7b197e1892002e72bd86757c3eb11

See more details on using hashes here.

File details

Details for the file nexu-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: nexu-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for nexu-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b1e5fecbe1e4bcaaab561fdec342f9b321785cc5e3ac927c70fd59c194be60c4
MD5 dec9ce5437bf0b9bdac5a75e03bbe421
BLAKE2b-256 ba484c6775a94dd50182d68934a093120a8f02255213f569a82decd7d94a9fbf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page