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

antigravity-agent

v1.5.1

Published

Autonomous AI coding agent CLI powered by 9router with full Antigravity experience

Downloads

221

Readme

Antigravity CLI Agent (Powered by 9router) ⚡

Sebuah Autonomous AI Coding Assistant CLI terminal interaktif dengan alur kerja mirip Antigravity CLI, dilengkapi Persistent Chat Sessions (/resume), Token Saver (RTK & Ponytail), Searchable Slash Dropdown, dan Task Walkthrough.


🚀 Fitur Utama

  • Persistent Chat Sessions & Resume (/resume):
    • Semua percakapan, file context, dan token stats tersimpan otomatis secara real-time ke disk (~/.antigravity/sessions/).
    • Ketika terminal tertutup, mati lampu, atau PC restart, Anda bisa langsung melanjutkan percakapan tanpa harus mengulang analisis dari awal.
    • Perintah: /resume (menu interaktif sesi), /sessions (daftar riwayat sesi), /new (mulai sesi baru bersih), atau flag antigravity -r / antigravity --resume.
  • Searchable Slash Command Dropdown:
    • Cukup ketik / di terminal, dan floating dropdown menu interaktif akan langsung muncul lengkap dengan navigasi panah (/), deskripsi perintah, dan filter realtime.
  • Task Walkthrough & Summary Box:
    • Setelah menyelesaikan pekerjaan kode/tool, agent otomatis menampilkan kotak kesimpulan terstruktur (tindakan yang dilakukan, file yang diubah/dibuat, perintah shell yang dijalankan, dan langkah selanjutnya).
  • Token Saver (RTK & Ponytail):
    • RTK (Rolling Token Knowledge): Mengompresi hasil eksekusi tool lama agar context window tidak membengkak di turn-turn berikutnya. Hemat 30% - 60% token!
    • Ponytail Compression: Memadatkan system prompt & instruksi semantik ke tingkat densitas tinggi (ultra, high, medium).
  • Live Token Analytics (Per-Turn Breakdown):
    • Menampilkan rincian token setiap respons: Input/Prompt Tokens, Output Tokens, Reasoning/Thinking Tokens, Total Turn, Akumulasi Sesi, dan Kecepatan (tok/s).
  • Auto-Discovery 9router:
    • Otomatis mendeteksi 9router lokal di port 20128 dan membaca database key tanpa konfigurasi manual.
    • Endpoint & API key dapat diubah kapan saja via /config, /endpoint <url>, atau /key <key>.
  • Autonomous Tool Calling:
    • run_command, view_file, write_file, edit_file (dengan visualisasi Git Diff berwarna), list_dir, grep_search, find_files, read_url, web_search, ask_question.

💾 Menggunakan Fitur Resume Session

1. Melanjutkan Sesi Sebelumnya dari CLI:

antigravity -r
# atau
antigravity --resume

(Otomatis memuat sesi percakapan terakhir Anda lengkap dengan seluruh memori & konteks).

2. Memilih Sesi Tertentu di Dalam Chat:

Ketik di prompt interaktif:

/resume

Pilih sesi dari daftar yang muncul (dilengkapi judul topik, waktu, jumlah pesan, dan token).

3. Melihat Semua Riwayat Sesi:

/sessions

4. Memulai Sesi Baru Bersih:

/new

📦 Cara Instalasi Global (-g)

1. Install dari file tarball .tgz:

npm install -g ./antigravity-agent.tgz

2. Atau install dari direktori lokal:

cd /root/antigravity-agent
npm install -g .

Setelah terinstall, jalankan:

antigravity
# alias:
gravity
9agent
ag9

📋 Daftar Slash Commands

| Command | Deskripsi | |---|---| | /help | Menampilkan panduan command & shortcut | | /resume, /load | Melanjutkan / memilih sesi chat yang tersimpan | | /sessions, /history | Melihat daftar semua sesi chat yang tersimpan | | /new | Memulai sesi baru yang bersih tanpa menghapus sesi lama | | /config | Menu interaktif pengaturan Endpoint, Key, RTK, Ponytail, YOLO | | /endpoint [url] | Mengubah dan menyimpan 9router Base URL | | /key [api-key] | Mengubah dan menyimpan 9router API Key | | /rtk | Toggle RTK context compaction token saver (ON/OFF) | | /ponytail [level] | Mengatur level kompresi Ponytail (ultra, high, medium, off) | | /model [nama] | Mengganti model aktif atau memilih dari daftar interaktif | | /models | Menampilkan semua model yang tersedia di 9router | | /login / /auth | Wizard pengaturan step-by-step | | /yolo | Toggle mode auto-approval (ON/OFF) | | /tokens / /cost | Menampilkan rincian statistik token sesi & riwayat turn | | /diff | Menampilkan semua perubahan git di sesi aktif | | /rules | Membaca file .agentrules, AGENT.md, dsb. | | /compact | Mengompres konteks percakapan | | /clear / /reset | Me-reset konteks chat | | /export [file] | Mengekspor riwayat percakapan ke file Markdown | | /exit / /quit | Keluar dan menyimpan sesi CLI |


📄 Lisensi

MIT License