Skip to content
Conduit

skill

VritraAI

πŸš€ Open-source AI coding agent for your terminal, multi-model support, tool execution, code editing, approvals, failover routing, project context, and agentic workflows.

MrHacker-X/VritraAIcommunitylistedunreviewednot running here yet

Set up

Skills are installed by placing their folder where your agent loads skills.

Install instructions come from the README

Skills do not use an MCP config. Follow the steps in the README below; one-click install arrives with accounts.

README

synced Oct 14, 2026

🎯 Why VritraAI? Because chatbots paste snippets and IDEs babysit one file. VritraAI runs an agent loop in your terminal: read the repo, edit multiple files, run shell, verify, and stop when the task is done - with diffs you approve first. No server UI. No silent writes.

🧭 Tool Purpose - local coding agent for real project work. Free-tier keys (Gemini / OpenRouter :free / Groq) are enough to start. Only approve changes you understand.

πŸ“š Full docs: https://vritraai.vritrasec.com/ (guides, slash commands, providers, approvals, troubleshooting).


πŸ“‹ Table of contents


πŸ“Έ Preview

vritraai β€Ί Scaffold a FastAPI service with /health, pytest, and a short README

Β· workspace /home/you/demo
Β· Calling model …
Β· Create  app/main.py
Β· Create  tests/test_health.py
Β· $ python3 -m pytest -q
Done - health route green, README written.

✨ Features

Feature≀0.30.x (shell)1.0.0-cli (agent)
Product modelAI-enhanced interactive shellβœ… full coding agent
Plain-text inputshell / chatβœ… agent task (no / prefix)
Multi-step tools❌ limitedβœ… read Β· write Β· edit Β· shell Β· verify Β· git Β· todos
Multi-file delivery❌ manualβœ… batch writes + exact-match edits
Stub rejectionβŒβœ… hollow HTML/CSS/JS rejected
Multi-providerpartialβœ… Gemini Β· OpenRouter Β· Groq Β· Mistral Β· NVIDIA
FailoverβŒβœ… free-tier routing, skip paid dead-ends
Diff approvalsdangerous-cmd onlyβœ… ask / auto / safe per workspace
Slash utilitiesshell helpersβœ… /review /security /optimize /refactor /doc /project …
Streaming UIvariesβœ… live narration + clean code previews
Docs siteshell-era archiveβœ… vritraai.vritrasec.com

🧠 How it works

flowchart LR
    U["You: plain-language task"] --> L["Agent loop"]
    L --> M["Model + failover"]
    M --> T{"Tools"}
    T -->|read / search| W[("Workspace")]
    T -->|write / shell| A{"Approval"}
    A -->|ok| W
    A -->|deny| M
    W --> M
    M -->|finish_task| D["Done"]
  1. You open a folder with vritraai.
  2. Plain text becomes a task - the model calls tools in a loop.
  3. Writes and shell hit the approval gate (unless trust is auto).
  4. The agent verifies work, then calls finish_task with a summary.

Deep dive: Agent loop docs


πŸ“¦ Installation

SystemSupported
Termux (Android)βœ…
Linux (any distro)βœ…
macOSβœ…

Requirements: Python 3.9+ (3.10+ preferred), network for model APIs, at least one provider key. No root.

pip install vritraai

Termux:

pkg install python
pip install -U vritraai

No Rust build tools needed - VritraAI does not depend on openai / jiter (those break on Termux). OpenAI-compatible providers use a pure-Python requests client.

From source:

git clone https://github.com/MrHacker-X/VritraAI.git
cd VritraAI
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Single-line:

pip install vritraai && vritraai .

The package installs the vritraai console script on your $PATH.

Install guide: vritraai.vritrasec.com/docs/installation/


πŸš€ Usage

Interactive:

vritraai
vritraai ~/projects/my-app

First session:

/setup          # add Gemini / OpenRouter / Groq / … keys
/model          # pick gemini-flash-latest or openrouter/free
Build a FastAPI /health service with pytest and a short README
  1. Choose a permission mode - ask before changes (default), trust this workspace, or strict.
  2. Run /setup and add at least one key (free Gemini or OpenRouter is enough).
  3. Run /model - good defaults: gemini-flash-latest or openrouter/free.
  4. Type a real task. No / prefix = coding agent.

More task ideas:

Add pytest coverage for auth/ and fix whatever fails.
Refactor utils/dates.py to use zoneinfo - keep public API stable.
Scan this repo for common web vulns and open a SECURITY_NOTES.md.

Utilities:

vritraai --help
vritraai -h
vritraai --version
vritraai -v

Quick start: vritraai.vritrasec.com/docs/getting-started/


🧰 Agent modes

ModeWhat it doesBest for
plain textmulti-step agent loop: tools until finish_taskbuilding, fixing, scaffolding
/setup Β· /modelconfigure keys and active modelfirst run, switching providers
/review Β· /security Β· /optimize Β· /refactorfocused slash utilitiesaudits without leaving the CLI
/doc Β· /projectdocs generation + project healthreadmes, deps, missing pieces
approval askpreview every write / shelldefault, safest
approval autotrust this workspacetrusted local folders
approval safestrict for this workspaceunfamiliar trees

Every write and shell command hits the approval gate unless you chose auto. Failover skips dead model IDs and prefers free-tier routes when paid credits are gone.

Approvals guide: vritraai.vritrasec.com/docs/approvals/


⌨️ Slash commands

Type / for the autocomplete menu.

CommandWhat it does
/setupConfigure API keys
/modelChoose the active model
/helpList commands
/reviewAI code review
/explainExplain a command or concept
/securitySecurity vulnerability scan
/optimizeOptimize a source file
/refactorRefactor or convert a file
/summarizeSummarize a file or directory
/learnLearn a topic with examples
/cheatsheetQuick reference
/docDocs (docstring Β· readme Β· diagram)
/projectanalyze Β· type Β· deps Β· health Β· missing Β· optimize
/clearClear the screen
/exitQuit

Aliases: /models β†’ /model, /cheat β†’ /cheatsheet.

Full command reference: vritraai.vritrasec.com/docs/commands/


πŸ”Œ Providers

Configure with /setup, pick with /model.

ProviderGet a keyTypical use
Geminiaistudio.google.com/apikeyDefault free path - gemini-flash-latest
OpenRouteropenrouter.ai/keysBroad catalog - prefer :free
Groqconsole.groq.com/keysFast open-weight; strong failover
Mistralconsole.mistral.ai/api-keysPrefer Codestral for tools
NVIDIAbuild.nvidia.comOptional Integrate API models

Failover skips dead IDs, avoids burning paid OpenRouter when credits are gone, and keeps other free OpenRouter models after a single 429.

Providers guide: vritraai.vritrasec.com/docs/providers/


πŸ“ Where files go

~/.config-vritrasecz/vritraai/     ← user config (outside any repo)
β”œβ”€β”€ config.json                   ← API keys, model, trust
└── session.log

your-project/                     ← the folder you opened with vritraai
└── .vritraai/
    └── agent_memory.json         ← workspace-scoped agent memory

🌍 Environment

VariablePurpose
VRITRA_APPROVALask | auto | safe - skip the trust prompt
VRITRA_RESET_TRUST1 - forget cached folder trust
VRITRA_AGENT_MAX_ITERMax agent turns (default 32)
VRITRA_MODEL_TIMEOUTPer-model wall-clock seconds (default 120)
VRITRA_AGENT_STREAM0 to disable streaming narration

🩺 Setup check

vritraai .
# then inside the REPL:
/setup
/model
/help
CheckMeaning
Python 3.9+runtime
pip install vritraaivritraai on $PATH
/setupat least one provider key
/modela working free or paid model ID
networkmodel API reachability
approval modeask / auto / safe for this folder

Stuck? Troubleshooting


πŸ“š Documentation

ResourceLink
Docs homehttps://vritraai.vritrasec.com/
Getting starteddocs/getting-started
Installationdocs/installation
Agent loopdocs/agent
Toolsdocs/tools
Approvalsdocs/approvals
Providersdocs/providers
Slash commandsdocs/commands
Configurationdocs/configuration
Securitydocs/security
Troubleshootingdocs/troubleshooting
Local docs treevritraai-docs/ in this repo
Legacy shell docsvritraai-og/

Serve the local docs tree:

cd vritraai-docs && python3 -m http.server 8080
# open http://127.0.0.1:8080/

❓ FAQ

Do I need a paid API key?
No. A free Gemini key or OpenRouter :free models are enough; Groq free tier works well as failover.

Where are my keys stored?
~/.config-vritrasecz/vritraai/config.json - outside any repository, never committed.

What happened to the old 0.30.x shell?
Previous product line. From 1.0.0-cli VritraAI is a coding agent - see CHANGELOG.md and About.

Can the agent touch files outside my project?
It works inside the workspace you open; every write or shell command is gated by your approval mode.

Where is the full manual?
https://vritraai.vritrasec.com/


πŸ” Changelog

1.0.0-cli - full rewrite (the upgrade from ≀0.30.x)

≀0.30.x1.0.0-cli
Themeable AI shell / REPLterminal coding agent
Command-centric UXgoal β†’ tools β†’ verify β†’ finish_task
Limited multi-file workmulti-file writes + exact edits
Provider setup variedunified /setup + /model
No agent failover storyfree-tier failover routing
Approval = dangerous cmdsdiff preview + workspace trust modes
Docs for shell eravritraai.vritrasec.com

Full history: CHANGELOG.md.


⚠️ Disclaimer

VritraAI can read, write, and run shell commands inside the workspace you open. You are responsible for the keys you configure, the diffs you approve, and the commands you allow. Do not point it at folders or credentials you are not allowed to modify. Treat it as a powerful local tool - review every change.

Security notes: vritraai.vritrasec.com/docs/security/ Β· Contact: contact@vritrasec.com


πŸ“œ License

Released under the MIT License - see LICENSE.

MIT Β© Alex Butler / Vritra Security Organization


πŸ”— Links

Documentationvritraai.vritrasec.com
PyPIpypi.org/project/vritraai
GitHubMrHacker-X/VritraAI
IssuesIssues
Websitevritrasec.com
ChangelogCHANGELOG.md
↑↓ navigate openesc close