โก Chakra AI
Agentic Coding Terminal ยท Multi-Engine MoE Inference ยท Made in India ๐ฎ๐ณ
A terminal where you talk to AI like a pair programmer. Writes code, runs it in a sandbox, audits for security bugs, self-debugs โ all 100% offline on 8GB RAM. โก
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โโโ โก C H A K R A A I โโโ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Made by Abhirup Guha ยท Info Security Solution ยท insec.in
โ๏ธ Quick Start
One command. That's it.
pip install chakra-ai
chakra
On first run, auto-downloads the model (~1 GB) and benchmarks your system.
# Full one-liner (Windows)
powershell -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/fir3storm/chakra-ai/main/install.ps1 | iex"
# Full one-liner (Linux/macOS)
curl -fsSL https://raw.githubusercontent.com/fir3storm/chakra-ai/main/setup.sh | bash
โก Speed: ~300 tokens/sec via llama.cpp GGUF โ code generation takes under 1 second. ~1 GB RAM. No GPU. Offline.
โจ Features
| Category | What It Does |
|---|---|
| โก Blazing Fast | 300+ tok/s via llama.cpp GGUF ยท ~1 GB RAM |
| ๐ง Multi-Agent Team | Architect โ Coder โ Auditor โ Supervisor |
| ๐ Task Planner | /plan build a REST API โ breaks into steps, executes each |
| โ๏ธ File Editing | /edit main.py fix the bug โ reads, edits, shows diff |
| ๐ Security Auditor | 10+ OWASP checks (secrets, SQL injection, eval, weak crypto) |
| ๐ Sandbox Execution | Isolated subprocess with restricted environment |
| ๐ Self-Debugging | Errors feed back to model โ auto-fixes with targeted guidance |
| ๐ญ Persona Switcher | fullstack, infosec, architect, devops |
| ๐พ Session Memory | /sessions, /resume, .chakra_memory project context |
| ๐ฒ Workspace Aware | Auto-scans files, builds context for better code |
| โก Streaming Output | Tokens appear as generated โ like a real conversation |
| ๐ป Git Integration | /git status, /git commit from the REPL |
| ๐ System Benchmark | Auto-measures tokens/sec, configures optimal settings |
๐ฎ The Terminal
โก [SYSTEM] [INFO] Tuesday, August 05, 2026 00:16 | win32
โก [ENGINE] [INFO] llama.cpp GGUF backend (fastest)
โก [WORKSPACE] [INFO] project: main.py (234L), utils.py (45L)
(fullstack) > make a python calculator
โ Thinking about: make a python calculator...
โ Thinking... 28 lines (0.9s)
๐พ chakra_output/generated_script.py โ 28 lines
โก Sandbox execution โ Exit 0
(fullstack) > /plan build a REST API with Flask
Step 1/4: app.py with routes โ
Step 2/4: database.py with models โ
Step 3/4: auth.py with JWT โ
Step 4/4: test_api.py โ
(fullstack) > /git status
M app.py M database.py
(fullstack) > /git commit -m "Add REST API modules"
โ Committed: a1b2c3d
๐ง All Commands
| Command | What it does |
|---|---|
<prompt> |
Code generation + sandbox execution + self-debug |
/plan <task> |
Multi-step task breakdown & execution |
/edit <file> <cmd> |
AI-powered file editing with diff preview |
/team <prompt> |
Multi-agent collaboration |
/persona [role] |
Switch persona |
/audit <file> |
OWASP security audit |
/scan-vuln |
Scan all Python files |
/git [cmd] |
Run git commands from REPL |
/memory [text] |
Save/load project context |
/context / /tree |
Workspace overview |
/status |
Engine, RAM, session info |
/sessions / /resume |
Session management |
/help |
All commands |
/exit |
Save and quit |
๐ Three Engine Tiers
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ENGINE A ENGINE B ENGINE C (default) โ
โ kimi-k3-in-c PyTorch K3 llama.cpp GGUF โ
โ
โ Full 2.78T model Full 2.78T model Qwen2.5-Coder 1.5B โ
โ 8.24 GB RAM 8-10 GB RAM 1 GB RAM โ
โ 1.56 TB disk 1.56 TB disk 1 GB disk โ
โ Linux only Windows/Linux Any OS โ
โ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โ
โ --trunk <path> --trunk <path> pip install chakra-aiโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Security Auditing
10+ OWASP rules: hardcoded credentials, SQL injection, eval()/exec(), os.system, subprocess(shell=True), MD5/SHA1, weak ciphers, unsafe deserialization, dynamic imports.
โ๏ธ CLI Flags
chakra [OPTIONS]
--preset {laptop,desktop,workstation,server}
--engine {auto,c-backend,pytorch,local}
--gen INT Max tokens (default: 512)
--prompt TEXT Single-shot mode
--device {cpu,cuda}
๐ Made in India ๐ฎ๐ณ
Chakra AI is built in India. "Chakra" (เคเคเฅเคฐ) means "wheel" โ the continuous cycle of code generation, execution, auditing, and refinement.
| Chakra | Component | Role |
|---|---|---|
| ๐ฌ Vishuddha | Chat Engine | Understanding intent |
| ๐ง Ajna | Architect Agent | Blueprint design |
| โ Manipura | Coder Agent | Writing code |
| ๐ก Anahata | Auditor Agent | Security vigilance |
| ๐ Sahasrara | Supervisor | Orchestration |
Author: Abhirup Guha ยท Organization: Info Security Solution ยท Web: insec.in
๐ Architecture
Speed
- llama.cpp GGUF โ Q4_K_M quantized, SIMD kernels, 300+ tok/s
- Float16 โ PyTorch fallback at half precision
- Multi-threaded โ All CPU cores
Kernel (Engine B โ Full Kimi K3)
- Fused MXFP4 Matmul โ 7.5x less memory traffic
- Ring Buffer Trunk Streaming โ Pinned prefix + ring slot
- Direct I/O โ
O_DIRECT/FILE_FLAG_NO_BUFFERING
chakra-ai/
โโโ chakra/ # Core engine (19 files)
โ โโโ agent.py # Sandbox, self-debugging
โ โโโ cli.py # REPL, /plan, /edit, /git, /memory
โ โโโ engine_llama.py # llama.cpp GGUF backend
โ โโโ engine_c_backend.py
โ โโโ model.py # PyTorch K3 + MXFP4Linear
โ โโโ multi_agent.py # Multi-agent orchestrator
โ โโโ security.py # InfoSecAuditor (OWASP)
โ โโโ ui.py # Modern terminal UI
โโโ tests/ # Test suite
โโโ install.ps1 # Windows one-liner
โโโ setup.sh # Linux one-liner
โโโ README.md
๐ Acknowledgments
Built on the pioneering work of Fareed Khan and kimi-k3-in-c โ a 176 KB C99 binary proving 2.78T parameter inference on 8GB RAM.
โ License
MIT License ยท ยฉ 2026 Abhirup Guha ยท Info Security Solution ยท insec.in ยท Made in India ๐ฎ๐ณ
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chakra_ai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: chakra_ai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 87.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98a0b2d2db22762555cb60840618e2dba5e7f8e4d51613a92edf7869508ff949
|
|
| MD5 |
298acfda280cd4a904a7b8b64f7a6048
|
|
| BLAKE2b-256 |
ef81b492645cbfb8c92c102bfaec10bf400c95dfb2bee25ee5e07cb74faf4354
|