Skip to main content

โšก Chakra AI

Agentic Coding Terminal ยท Multi-Engine MoE Inference ยท Made in India ๐Ÿ‡ฎ๐Ÿ‡ณ

PyPI Python 3.10+ License MIT 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

chakra_ai-0.2.0-py3-none-any.whl (87.7 kB view details)

Uploaded Python 3

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

Hashes for chakra_ai-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98a0b2d2db22762555cb60840618e2dba5e7f8e4d51613a92edf7869508ff949
MD5 298acfda280cd4a904a7b8b64f7a6048
BLAKE2b-256 ef81b492645cbfb8c92c102bfaec10bf400c95dfb2bee25ee5e07cb74faf4354

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