npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@airachat/airacode

v0.1.26

Published

AiraCode — Persian-localized agentic coding CLI by AiraChat

Readme

AiraCode

اولین ابزار کدنویسی بومی ایران · The first Iran-native agentic coding CLI with persistent cognitive memory.

Built for Iranian developers. Works through Iran's internet restrictions — no extra setup needed. Top up your wallet with a domestic Rial card. Persistent memory through CogX so you never re-explain your project twice.

curl -fsSL https://airachat.ir/airacode/install.sh | bash
aira login
aira

npm docs


Why AiraCode

  • 🇮🇷 Works through Iran's internet restrictions. The CLI talks to app.airachat.ir, an in-country edge that handles routing to global model providers on your behalf. When the wider network is slow or blocked, AiraCode still answers.
  • 🧠 Persistent cognitive memory. Aira remembers your projects, decisions, codebase quirks across sessions, devices, and weeks. Walk away for a month, come back — she already knows. No flag to flip, no opt-in.
  • 💵 Rial payment, AiraCredit unit. Top up your AiraChat wallet from a domestic Shetab card. Spend in AiraCredits (AC) — Aira's transparent in-house unit. Every turn shows the AC cost.
  • 🎯 Task-based model selection. Pick by what you're doing — Code, Deep Think, Docs, Fast — not by aira-gpt5 or aira-opus. Underlying provider is hidden by default.
  • 💬 Persian-native. RTL terminal, Persian system prompts, Vazirmatn fonts. Speak Persian, get Persian back; speak English, get English.
  • 🌐 Sessions in the browser too. Long-running agent runs at airachat.ir/airacode so your terminal stays free.

Install

One-liner:

curl -fsSL https://airachat.ir/airacode/install.sh | bash

Auto-detects platform (macOS, Linux, WSL), installs Node and bun if needed, pulls the binary from npm.

Or with npm directly:

npm install -g @airachat/airacode

Verify:

aira --version
# → 0.1.x (AiraCode)

First-run

aira login           # opens app.airachat.ir OAuth in your browser
aira                 # start an interactive session

The first aira login connects your AiraChat account — that's your billing identity, Rial wallet, and persistent memory. Already an airachat.ir user? You're already signed up.


Everyday use

aira                                  # interactive REPL
aira -p "explain this codebase"       # one-shot prompt
aira --model aira-deep -p "refactor"  # pick a heavier level for one turn
aira balance                          # AC balance + plan + budget
aira credits 7                        # 7-day AC usage breakdown
aira topup                            # open the topup page

Inside the REPL:

/balance          # موجودی + پلن
/credits 30       # ۳۰ روز مصرف
/topup            # شارژ
/model            # انتخاب سطح هوشمند
/memory           # حافظهٔ این پروژه

Aira Levels (task-based model selection)

--model <alias> accepts any of these task-based levels. Pick by what you're doing, not by which underlying model. AiraCode picks the right provider behind the scenes.

| Level | Badge | Best for | |---|---|---| | aira-balanced (default) | پیشنهادی | day-to-day coding, balanced quality / speed / cost | | aira-deep | حرفه‌ای | complex reasoning, architecture, strategic planning | | aira-code | حرفه‌ای | refactoring, debugging, agentic tool use | | aira-docs | حرفه‌ای | long context, PDFs, image / file analysis | | aira-fast | سریع | quick answers, titles, summaries, intent detection | | aira-lite | اقتصادی | classification, extraction, high-volume light work | | aira-max | پرچم‌دار | top quality, multi-pass reasoning, deepest recall |

Each level bundles model + recall depth + thinking budget + chat context — not just a model choice. Custom dial available in airachat.ir/settings/level.

Full catalog inside any session: /model. Power users can pin a specific underlying model via the advanced picker.


BYOK — Bring Your Own Key

If you'd rather pay inference cost directly to Anthropic / OpenAI / OpenRouter and use AiraCode purely as the memory + cognition layer:

export ANTHROPIC_API_KEY="sk-ant-..."          # or OPENAI_API_KEY, OPENROUTER_API_KEY
aira                                           # AiraCode now routes inference via your key

Only memory operations (recall, save) consume AiraCredits. Token costs go directly to the provider. Configure persistent BYOK in airachat.ir/settings/level.


Pricing

Pay in AiraCredits (AC) — Aira's in-house unit, topped up with Rial via Shetab card (Zibal, IDPay, ZarinPal).

Plans:

  • رایگان (Free) — حافظه + تفکر سبک. سهمیهٔ روزانهٔ محدود. مناسب برای آشنایی.
  • دوست (Doost) — اشتراک ماهانهٔ Rial، هدیهٔ AC ماهانه، ۲۰۰ پیام روزانه، صدا + TTS.
  • رفیق (Rafiq) — اشتراک Rial، AC ماهانهٔ بیشتر، پیام نامحدود، حافظهٔ عمیق‌تر، اولویت پشتیبانی.
  • یار (Yaar) — اشتراک Rial، AC ماهانهٔ پرحجم، همه چیز نامحدود، دسترسی به سطح Aira Max، قابلیت‌های آزمایشی.
  • PAYG — بدون اشتراک، فقط AC از کیف پول مصرف می‌شود.

Top-up packs: ۱۰۰ هزار / ۵۰۰ هزار / ۱ میلیون / ۵ میلیون / ۱۰ میلیون تومان — به AC تبدیل و قفل می‌شود در لحظهٔ خرید.

Live pricing + AC quotes: airachat.ir/settings/billing.


Docs & support


License

Apache 2.0. AiraCode is a substantially-modified Iranian product. Full attribution in LICENSE.