Skip to content

Releases: YashManek1/Yantra

v0.3.0 — Windows manifest, full feature guide, SmartScreen fix

Choose a tag to compare

@YashManek1 YashManek1 released this 31 May 17:54

⚠️ Windows SmartScreen — How to run yantra.exe

When you first launch yantra.exe, Windows shows "Windows protected your PC".

This is expected for any unsigned open-source binary. To run it:

  1. Click "More info" (the blue link)
  2. Click "Run anyway"

You only need to do this once. After that, Windows remembers.

This version embeds a proper Windows application manifest (SankalpSystems.Yantra) and version-info resources (ProductName, FileDescription, Copyright) so the binary now shows up correctly in Explorer → Properties → Details, and Windows Defender can build reputation for it over time.


What's in v0.3.0

Windows application manifest (the SmartScreen fix)

yantra.exe now has a proper embedded Windows identity:

  • ProductName: Yantra
  • FileDescription: Yantra — Rust-native agentic coding runtime
  • CompanyName: Sankalp Systems
  • LegalCopyright: Apache-2.0
  • Standard-user privilege level (no UAC elevation)
  • Long-path awareness enabled
  • Windows 10/11 compatibility declared

Complete feature guide (README rewritten from scratch)

Every command is now documented with examples, a configuration guide, architecture overview, crate map, and FAQ.


All commands at a glance

Command What it does
yantra start The main entrypoint. Unified Console TUI: streaming Q&A + live CRG graph panel + live telemetry footer
yantra index . Build the Code-Review Graph (run this first)
yantra ask "…" CRG-grounded Q&A — asks your codebase a question
yantra run "…" Full STVP + multi-agent pipeline: verifies intent → writes code → verifies → commits
yantra canvas <url> Clone any website into an editable React+Tailwind project, preview in-browser
yantra graph Terminal CRG dashboard (communities, hub symbols); press g for vis.js browser view
yantra observe Live telemetry TUI: cost gauge, spans/min, error rate
yantra night --tasks "…" Autonomous overnight run with Dawn Digest report
yantra doctor Preflight health checks
yantra status Cost snapshot for the current session
yantra context "…" Token-budget preview for a task (Context Lens)

Quick start

# 1. Download yantra.exe, place on your PATH
# 2. Install Ollama → ollama pull qwen2.5-coder:7b
# 3. Index your project:
yantra index .
# 4. Launch the Console:
yantra start
# 5. Type any question or command in the Console

The Yantra Console (yantra start)

┌─────────────────────────────────┬──────────────────────┐
│  Conversation                   │  Graph               │
│  > what does run_ask do?       │  S:2218 E:17752      │
│                                 │  Communities         │
│  The run_ask function in       │   312  forge-cli     │
│  commands/ask.rs implements    │   198  forge-crg     │
│  the streaming ask pipeline... │  Hubs                │
│                                 │    42  AppState      │
│  Cost: $0.000012               │    38  GraphCache    │
├─────────────────────────────────┴──────────────────────┤
│  › _                                                    │
├─────────────────────────────────────────────────────────┤
│  $0.0001  │  3/min  │  err 0.0%  │  Ok                 │
└─────────────────────────────────────────────────────────┘

Left: conversation pane — bare prose asks the codebase; run <task> starts the multi-agent pipeline.
Right: live CRG graph — auto-refreshes every 5 s and after index/run.
Bottom: live telemetry — cost + spans + error rate from .yantra/traces.sqlite.


The Three Pillars

★ STVP (Source-Truth Validation Protocol): Every run task goes through 3–5 clarifying questions, producing a cryptographically-signed intent proof. No code is written without it.

★ CRG (Code-Review Graph): Compresses 200K-token codebases to a 3–4K token subgraph. Grounds all answers against real symbols — hallucinated function names are flagged automatically.

★ Night Mode: Front-load all decisions before sleep → run autonomously → wake up to a Dawn Digest report. Zero babysitting required.


Build from source

git clone https://github.com/YashManek1/Yantra.git
cd Yantra
cargo build --release
# binary: target/release/yantra.exe

Requires Rust 1.86+ and Ollama with qwen2.5-coder:7b.


576/576 tests pass · 0 clippy warnings · Apache-2.0

v0.2.0 — Yantra Console + Canvas Preview Fix

Choose a tag to compare

@YashManek1 YashManek1 released this 31 May 17:34

What's new in v0.2.0

Canvas preview fixed

yantra canvas <url> now renders the cloned page in the editor preview pane.
Root cause: the pipeline only wrote .tsx files and the iframe had nothing to load.
A new HTML serializer generates a self-contained index.html with data-yantra-id markers (click-to-inspect), inlined CSS, and local copies of images/fonts.

Yantra Console (yantra start)

Replaces the old stub REPL with a unified full-screen terminal app:

  • Conversation pane — stream ask answers (CRG-grounded Q&A); send run, index, night, canvas, observe, doctor, help
  • Live graph side panel — CRG stats + communities + hub symbols, auto-refreshes every 5 s and after index/run
  • Live telemetry footer — cost gauge, spans/min, error rate from .yantra/traces.sqlite

Under the hood

  • Shared commands/metrics.rs — no duplication between graph/observe/console
  • Shared commands/ask.rs — one streaming ask pipeline for both CLI and Console
  • ADR-005 documents the suspend/resume design for terminal-owning subcommands

Installation (Windows)

Download yantra.exe below, place it on your PATH, then:

yantra index .
yantra start