Skip to main content

ANIX Type

tests python license dependencies status

🇬🇧 English · 🇷🇺 Русский

Context-aware shell autocompletion and natural language command forge. Zero runtime dependencies. Sub-millisecond latency. Works 100% offline.

# 1. Instant heuristic autocompletion (<0.05ms):
PS C:\projects\anixcode> git p·ush origin main           [Tab]
PS C:\projects\anixcode> pyt·est -q                      [Tab]
PS C:\projects\anixcode> pnpm d·ev                       [Tab]

# 2. Natural language command forge:
PS C:\projects\anixcode> ?? undo last commit keep files  [Enter]
→ git reset --soft HEAD~1

PS C:\projects\anixcode> ?? kill port 3000               [Enter]
→ Stop-Process -Id (Get-NetTCPConnection -LocalPort 3000).OwningProcess -Force

# 3. Unlimited local AI via Ollama (qwen2.5-coder:1.5b):
PS C:\projects\anixcode> ?? top 5 memory heavy processes [Enter]
→ Get-Process | Sort-Object -Property WorkingSet -Descending | Select-Object -First 5

Why ANIX Type?

  • ⚡ Zero Runtime Dependencies: Built strictly on the Python 3 standard library (http.server, urllib, json). Installs in seconds, zero package conflicts.
  • ⚡ Sub-Millisecond Context Engine: Directly reads .git/HEAD (<0.05 ms), parses package.json scripts, detects Python/Docker environments on the fly.
  • 🔒 100% Offline & Private: Built-in heuristic engine handles 95% of everyday developer commands locally without touching the network.
  • 🧠 Unlimited AI Forge: Connects to local Ollama (qwen2.5-coder:1.5b) for complete offline privacy, or any OpenAI-compatible provider (DeepSeek, Groq, OpenAI).
  • 🌍 Bilingual (EN + RU): Natural language command forge understands both English and Russian prompts out of the box.
  • 💻 Native PowerShell Integration: Hooks cleanly into PSReadLine for instant Tab, RightArrow, and Enter replacement without prompt flickering.

Install

Requires Python 3.10+.

pip install anix-type

1. Hook into PowerShell

Run the install command once to add the integration hook to your PowerShell $PROFILE:

anix-type install

Reload your current terminal session:

. $PROFILE

(You will see ⚡ ANIX Type ready in your console).


Usage

Instant Autocompletion

Just type and press Tab or RightArrow (→):

What you type What ANIX Type predicts Context
git p + Tab git push origin <current-branch> Reads your actual .git/HEAD
git s + Tab git status Git repository
pyt + Tab pytest -q Python repository
py + Tab python Python environment
pnpm d + Tab pnpm dev Reads scripts from package.json
pip i + Tab pip install Python

Command Forge (?? <what you want to do>)

Type ?? followed by plain English or Russian, then press Enter:

# Git operations
?? undo last commit keep files       → git reset --soft HEAD~1
?? stash changes                     → git stash
?? pop stash                         → git stash pop
?? new branch feat-login             → git checkout -b feat-login
?? discard changes                   → git restore .

# System & ports
?? kill port 8080                    → Stop-Process -Id (Get-NetTCPConnection -LocalPort 8080).OwningProcess -Force
?? top memory processes              → Get-Process | Sort-Object -Property WorkingSet -Descending | Select-Object -First 5
?? folder size                       → calculates folder size in MB
?? find file settings.py             → Get-ChildItem -Recurse -Filter "*settings.py*"

# Python & Docker
?? create venv                       → python -m venv .venv
?? activate venv                     → .\.venv\Scripts\Activate.ps1
?? purge pip cache                   → pip cache purge
?? stop all docker containers        → docker stop $(docker ps -q)

AI Providers (Optional)

ANIX Type works completely offline using built-in heuristics. For complex, non-template queries, you can optionally connect an AI model:

# Install Ollama and pull lightweight coder model
winget install Ollama.Ollama
ollama run qwen2.5-coder:1.5b

# Switch ANIX Type to Ollama
anix-type config --ollama --model qwen2.5-coder:1.5b

2. DeepSeek / OpenAI / Custom Proxy

anix-type config --openai-key sk-... --base-url https://api.deepseek.com/v1 --model deepseek-chat

3. Groq (Ultra-fast cloud)

anix-type config --groq-key gsk_...

CLI Reference

anix-type status    # Check daemon health, port, and AI provider
anix-type start     # Start daemon in background (auto-starts on terminal open)
anix-type stop      # Stop background daemon
anix-type daemon    # Run daemon in foreground with --verbose logging
anix-type config    # Configure AI model and API keys
anix-type install   # Install integration hook into PowerShell profile

Architecture

                  ┌──────────────────────────────────────────────┐
                  │            Terminal (PSReadLine)             │
                  └───────────────┬──────────────────────────────┘
                                  │ HTTP / JSON (<2ms)
                                  ▼
                  ┌──────────────────────────────────────────────┐
                  │      ANIX Type Daemon (127.0.0.1:8766)       │
                  ├──────────────────────────────┬───────────────┤
                  │     Context Engine (<0.05ms) │ History Index │
                  └───────────────┬──────────────┴───────────────┘
                                  │
                  ┌───────────────┴───────────────┐
                  ▼                               ▼
       [Offline Heuristics Engine]     [AI Forge Layer]
       • Direct .git/HEAD reader       • Local Ollama (qwen2.5-coder)
       • package.json script parser    • DeepSeek / OpenAI / Groq
       • Bilingual intent patterns     • 100% offline fallback

License

MIT © an1zy

Metadata

Release files for anix-type 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anix-type 0.1.0
File Size Uploaded Provenance Actions
anix_type-0.1.0.tar.gz 25.4 kB Without provenance Details for anix_type-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anix-type 0.1.0
File Interpreter ABI Platform Actions
anix_type-0.1.0-py3-none-any.whl Python 3 none any Details for anix_type-0.1.0-py3-none-any.whl

Total release size: 50.2 kB

Release files / anix_type-0.1.0.tar.gz

Download URL anix_type-0.1.0.tar.gz
Size 25.4 kB
Tags Source
SHA-256 checksum
How to use checksums
826205fe69d5d36cac8bc3b8ed9cd55b010de64c95c68a5f1f12a67d0193c816
BLAKE2b-256 checksum
How to use checksums
b3577a39e8a6ef3f61035c64d1e8f1bf5599aaec0bbf814b9a1f6516f3ba93a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / anix_type-0.1.0-py3-none-any.whl

Download URL anix_type-0.1.0-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c00e4396273b65f8d80fa063ab2b91c3cda3049686c137224e6302677b9bb64
BLAKE2b-256 checksum
How to use checksums
07525218a07cd84d09cc61c3339483be5c0719c26179354eff2997b2bc4c8d0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for anix-type 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page