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

@buckeyestudio/agent-aegis

v0.84.5

Published

Aegis security agent CLI with read, bash, edit, write tools and session management

Readme


Aegis is a security-focused terminal coding agent based on pi. It provides read, bash, edit, and write tools with full session management, designed for penetration testing and security assessments.

Aegis runs in Docker containers with pre-installed security tools (Kali, Ubuntu, Debian) and connects to local Ollama models for offline operation.

Quick Start

Install globally

npm install -g @buckeyestudio/agent-aegis

Run with Docker

# Kali container with pentest toolkit
.\docker-run.ps1 -ContainerType kali

# Ubuntu container
.\docker-run.ps1 -ContainerType ubuntu

# Debian container
.\docker-run.ps1 -ContainerType debian

# With vulnerable target containers
.\docker-run.ps1 -ContainerType kali -VulnContainer redis
.\docker-run.ps1 -ContainerType kali -VulnContainer web

Run directly

export ANTHROPIC_API_KEY=sk-ant-...
aegis

Or use your existing subscription:

aegis
/login  # Then select provider

Docker Containers

Aegis ships with three container types:

| Container | Base | Tools | |-----------|------|-------| | kali | Kali Linux | nmap, sqlmap, nikto, metasploit, john, hashcat, hydra, aircrack-ng, impacket, pwntools | | ubuntu | Ubuntu 24.04 | nmap, netcat, redis-tools, python3 | | debian | Debian Bookworm | nmap, netcat, python3 |

All containers include Node.js 24.x and aegis installed globally.

Vulnerable Target Containers

| Target | Description | Port | |--------|-------------|------| | redis | Redis 5.0.7 with CVE-2022-0543 | 6379 | | web | Flask web application | 5000 |

Configuration

Aegis stores configuration in ~/.aegis/agent/:

| File | Purpose | |------|---------| | models.json | Provider and model configurations | | auth.json | Authentication credentials | | settings.json | User preferences | | extensions/ | Custom extensions | | skills/ | Custom skills | | prompts/ | Prompt templates | | themes/ | Custom themes | | sessions/ | Session history |

Docker Configuration

The Docker entrypoint generates models.json automatically, connecting to your host Ollama instance:

# Default model
.\docker-run.ps1 -Model "qwen3.6:35b"

# Custom workspace
.\docker-run.ps1 -WorkspaceDir "C:\my-project" -Model "llama3.1:8b"

CLI Reference

aegis [options] [@files...] [messages...]

Modes

| Flag | Description | |------|-------------| | (default) | Interactive mode | | -p, --print | Print response and exit | | --mode json | Output all events as JSON lines | | --mode rpc | RPC mode for process integration |

Model Options

| Option | Description | |--------|-------------| | --provider <name> | Provider (anthropic, openai, google, etc.) | | --model <pattern> | Model pattern or ID | | --api-key <key> | API key (overrides env vars) | | --thinking <level> | off, minimal, low, medium, high, xhigh, max |

Session Options

| Option | Description | |--------|-------------| | -c, --continue | Continue most recent session | | -r, --resume | Browse and select session | | --session <path\|id> | Use specific session file | | --no-session | Ephemeral mode (don't save) | | --name <name> | Set session display name |

Examples

# Interactive with initial prompt
aegis "List all .ts files in src/"

# Non-interactive
aegis -p "Summarize this codebase"

# Different model
aegis --provider openai --model gpt-4o "Help me refactor"

# Read-only mode
aegis --tools read,grep,find,ls -p "Review the code"

Environment Variables

| Variable | Description | |----------|-------------| | AI_AGENT | Set to aegis by the CLI entry point | | PI_CODING_AGENT | Set to true by the CLI entry point | | AEGIS_CODING_AGENT_DIR | Override config directory (default: ~/.aegis/agent) | | PI_OFFLINE | Disable startup network operations | | PI_SKIP_VERSION_CHECK | Skip version update check | | PI_TELEMETRY | Override install/update telemetry |

Keyboard Shortcuts

| Key | Action | |-----|--------| | Ctrl+C | Clear editor | | Ctrl+C twice | Quit | | Escape | Cancel/abort | | Ctrl+L | Open model selector | | Ctrl+O | Collapse/expand tool output | | / | Trigger commands |

Customization

Extensions

TypeScript modules that extend aegis with custom tools, commands, and UI:

export default function (aegis: ExtensionAPI) {
  aegis.registerTool({ name: "deploy", ... });
  aegis.registerCommand("stats", { ... });
}

Place in ~/.aegis/agent/extensions/ or .aegis/extensions/.

Skills

On-demand capability packages:

<!-- ~/.aegis/agent/skills/my-skill/SKILL.md -->
# My Skill
Use this skill when the user asks about X.

Place in ~/.aegis/agent/skills/ or .aegis/skills/.

Themes

Built-in: dark, light. Hot-reload supported.

Place in ~/.aegis/agent/themes/ or .aegis/themes/.

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT

See Also