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

agentim

v0.1.0

Published

Gateway CLI for connecting AI coding agents to AgentIM

Readme

agentim

CLI tool for connecting AI coding agents to AgentIM.

Installation

npm install -g agentim

Both agentim and aim are available as CLI commands.

Quick Start

# Login to your AgentIM server
AGENTIM_PASSWORD=YourPassword aim login -s http://localhost:3000 -u admin

# Configure agent credentials (interactive wizard)
aim setup claude-code

# Start a Claude Code agent in the current directory (interactive mode)
aim claude

# Start with bypass permissions (auto-approve all tool calls)
aim claude /path/to/project -y

# Start the daemon (server can remotely launch agents)
aim daemon

Supported Agents

| Type | Description | | ------------- | ------------------------------ | | claude-code | Anthropic Claude Code CLI | | codex | OpenAI Codex CLI | | opencode | OpenCode AI CLI | | gemini | Google Gemini CLI (coming soon) | | generic | Any CLI tool (custom commands) | | Custom | User-defined via ~/.agentim/adapters.json |

Commands

  • aim login -- Authenticate with an AgentIM server
  • aim logout -- Clear saved credentials
  • aim setup [agent-type] -- Interactive setup wizard for agent credentials
  • aim claude [path] -- Start a Claude Code agent (default: current directory)
  • aim codex [path] -- Start a Codex agent
  • aim opencode [path] -- Start an OpenCode agent
  • aim gemini [path] -- Start a Gemini CLI agent
  • aim daemon -- Start daemon mode (server-managed agents)
  • aim list -- List running agent daemons
  • aim stop <name> -- Gracefully stop a running agent daemon
  • aim rm <name> -- Stop and clean up an agent daemon
  • aim adapters -- List all available adapter types (built-in + custom)
  • aim status -- Show configuration status

Permission Modes

Agent commands (claude, codex, gemini, daemon) support a -y, --yes flag to control permission behavior:

| Flag | Mode | Description | |------|------|-------------| | (default) | interactive | Tool calls require human approval via the Web UI | | -y / --yes | bypass | All tool calls are auto-approved without confirmation |

In interactive mode, when an agent wants to use a tool (e.g., Bash, Write, Edit), a permission card appears in the chat UI with Allow/Deny buttons. If not responded to within 5 minutes, the request is automatically denied.

Custom Adapters

You can define custom adapter types without modifying source code by creating ~/.agentim/adapters.json:

{
  "my-copilot": {
    "command": "copilot-cli",
    "args": ["--mode", "chat"],
    "promptVia": "stdin",
    "env": { "MODEL": "gpt-4" },
    "description": "My custom copilot adapter"
  }
}

Custom adapters use the GenericAdapter under the hood. List all available adapters with aim adapters.

Running as a Service

The built-in daemon mode (aim claude .) spawns a detached background process but does not automatically restart on crashes. For long-running production use, wrap the command with a process manager:

# PM2
pm2 start "aim claude /path/to/project --foreground" --name my-agent

# systemd (create a unit file)
# ExecStart=/usr/bin/aim claude /path/to/project --foreground

Use --foreground when managed by an external supervisor so the process stays in the foreground.

License

AGPL-3.0 -- see LICENSE