Own your AI

Vishwa is an AI-powered terminal coding assistant that thinks, reasons, and acts. Named after Vishwakarma, the divine architect, it brings intelligent code assistance right to your terminal and VS Code.

Terminal
- Agentic Coding Assistant
Working directory: ~/projects/my-app
Type /help for commands or start chatting
> Explain to me how vishwa works

Vishwa is an AI-powered coding assistant with two main components: a terminal agent and VS Code autocomplete functionality. Here's how it works:

Architecture Overview

Vishwa (named after Vishwakarma, the Hindu god of engineering) operates as a dual-purpose coding assistant:

1. Terminal Agent (vishwa command)

ReAct Agent Loop: Uses a reasoning-acting cycle to break down complex tasks

Multi-LLM Support: Supports Claude, GPT-4, Ollama (local), and Novita providers

Core Tools: Bash, file operations (read/write/edit), git operations, web search

Configuration: Managed through ~/.vishwa/.env file with model selection

2. VS Code Autocomplete Extension

Background Service: Runs as a Python service communicating via JSON-RPC over stdio

Real-time Suggestions: Provides AI-powered code completions as you type

Caching System: Uses LRU cache with TTL for performance (100 suggestions, 5min TTL)

Context Awareness: Analyzes surrounding code to provide relevant suggestions

Intelligent Coding Assistant

Vishwa combines the power of multiple AI models with a sophisticated tool ecosystem to help you code smarter, not harder.

ReAct Reasoning

Think, act, observe, repeat. Vishwa uses the ReAct pattern to iteratively solve complex problems with up to 15 reasoning iterations per task.

Multi-LLM Support

Use Claude Sonnet 4.5, GPT-5.1, or open-source models like Kimi K2 and GLM-4.6 via Novita. Switch seamlessly with intelligent fallback chains.

VS Code Autocomplete

Ultra-fast suggestions with <100ms latency. Context-aware completions that understand your code structure as you type.

11+ Specialized Tools

File operations, git commands, code analysis, web search, and more. Vishwa has the tools to handle any coding task.

Privacy First

Run entirely local with Ollama models. Your code never leaves your machine when you choose privacy-first mode.

Safe by Design

User approval for file changes, surgical string replacements, and git integration for easy rollback. Your code is protected.

How Vishwa Works

A sophisticated agentic loop that thinks before it acts

1

You Ask

Describe what you want to accomplish in natural language

2

Vishwa Thinks

AI analyzes your codebase and plans the approach

3

Tools Execute

Specialized tools read, analyze, and modify your code

4

You Review

Approve changes and iterate until satisfied

VS Code Autocomplete

AI-powered code completions that understand your codebase

Ultra-Fast

<100ms latency with local models, smart caching delivers 50-70% cache hit rates

Context-Aware

Analyzes surrounding code, imports, and file structure for relevant suggestions

Always-On Mode

Ghost text suggestions appear automatically as you type - Tab to accept, Esc to dismiss

Multi-Language

Python, JavaScript, TypeScript, Go, Rust, and more - works with any language

app.py
1from flask import Flask, request
2from datetime import datetime
3
4app = Flask(__name__)
5
6@app.route('/api/users')
7def get_users():
8 return jsonify({'users': [], 'timestamp': datetime.now().isoformat()})
9

How It Works

VS Code TypeScript Extension
JSON-RPC
Python Service Context Builder + Cache
API
LLM Claude / GPT / Ollama

Your Choice of AI

Use the best model for your task, or run completely offline

Cloud Models

  • Claude Sonnet 4.5Recommended
  • Claude Haiku 4.5Fast
  • Claude Opus 4
  • GPT-5.1 Pro

Local / Novita Models

  • Kimi K2 ThinkingReasoning
  • DeepSeek V3.2
  • GLM-4.6
  • Qwen3 Next 80B

Get Started in Seconds

Choose your platform and start coding with AI

1. Clone and install
git clone https://github.com/srujan375/Vishwa.git && cd Vishwa && ./install.sh
2. Set your API key
export ANTHROPIC_API_KEY="your-key-here"
3. Start Vishwa
vishwa "Explain this codebase"
1. Clone and install (PowerShell)
git clone https://github.com/srujan375/Vishwa.git; cd Vishwa; .\install.ps1
2. Set your API key
$env:ANTHROPIC_API_KEY="your-key-here"
3. Start Vishwa
vishwa "Explain this codebase"
1. Clone the repository
git clone https://github.com/srujan375/Vishwa.git && cd Vishwa
2. Create virtual environment
python -m venv .venv && source .venv/bin/activate
3. Install in editable mode
pip install -e .

Want to use local models? Install Ollama and run ollama pull gemma3:4b