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

@newsails/veil-cli

v1.0.1

Published

VeilCLI - Enterprise autonomous agent runtime — local, API-first, multi-model

Readme

VeilCLI

Enterprise autonomous agent runtime — local, API-first, multi-model.

VeilCLI lets you define AI agents as simple files, run them as a local REST server, and control them through a clean HTTP API or interactive CLI. Agents can chat, run multi-step tasks with tools, spawn sub-agents, schedule cron jobs, and maintain persistent memory — all without external services.


Key Features

  • 4 agent modes — Chat, Task, Daemon (cron), Subagent
  • 24 built-in tools — bash, file I/O, web search/fetch, memory, multi-agent communication, todos, and more
  • Persistent memory — per-agent and project-wide Markdown memory files
  • Multi-agent orchestration — parallel fan-out, durable subscriptions, sync/async spawning
  • Layered config — global → project → local → CLI flags
  • Any OpenAI-compatible LLM — OpenRouter, local Ollama, Azure, etc.
  • Zero external dependencies — SQLite storage, native fetch, Node.js only

Requirements

  • Node.js ≥ 18.3.0
  • An OpenAI-compatible API key (e.g. OpenRouter)

Installation

npm install -g @newsails/veil-cli

Quick Start

# 1. Set up a workspace
mkdir my-workspace && cd my-workspace

# 2. Save your API key (Optional)
veil login --key sk-or-v1-...

# 3. Start the server
veil start

# 4. Chat with the default agent
curl -X POST http://localhost:5050/agents/hello/chat \
  -H "Content-Type: application/json" \
  -d '{"message": "Hello!"}'

# 5. Run a task with tools
curl -X POST http://localhost:5050/agents/assistant/task \
  -H "Content-Type: application/json" \
  -d '{"input": "List all .js files in the current directory"}'

→ See docs/guide/01-quickstart.md for the full walkthrough.


Documentation

API Reference

| Doc | Contents | |-----|----------| | docs/api/README.md | Overview, auth, error codes | | docs/api/01-system.md | /health, /status, /shutdown | | docs/api/02-agents.md | List and inspect agents | | docs/api/03-chat.md | Chat endpoint, multi-turn sessions | | docs/api/04-tasks.md | Task lifecycle, events, polling | | docs/api/05-sessions.md | Session management and messages | | docs/api/06-daemons.md | Daemon control endpoints |

Project Guide

| Doc | Contents | |-----|----------| | docs/guide/README.md | Guide index | | docs/guide/01-quickstart.md | Install, first agent, first request | | docs/guide/02-folder-structure.md | .veil/ layout explained | | docs/guide/03-configuration.md | settings.json + auth.json full reference | | docs/guide/04-agents.md | agent.json, AGENT.md, all 4 modes | | docs/guide/05-cli.md | veil CLI commands reference | | docs/guide/06-tools.md | All 24 built-in tools | | docs/guide/07-permissions.md | Permissions system | | docs/guide/08-memory.md | Memory + context compaction | | docs/guide/09-multi-agent.md | Orchestration patterns | | docs/guide/10-daemons.md | Daemon / cron agents |


CLI Reference (Quick)

veil start [--port 5050] [--folder ./workspace] [--secret <token>]
veil run --agent hello --input "What time is it?"
veil stop
veil status
veil agents list
veil agents inspect <name>
veil login --key <api-key> [--global]

→ Full reference: docs/guide/05-cli.md


Project Layout

VeilCli/
  cli/          ← Veil CLI entry point
  api/          ← Express REST server + routes
  core/         ← agent loader, loop, router, memory, compaction
  tools/        ← 24 built-in tools
  infrastructure/ ← SQLite database + scheduler
  utils/        ← settings, paths, context
  schemas/      ← JSON schemas for agent.json and settings.json
  system-prompts/ ← base system prompt layers
  examples/     ← reference agent definitions

License

MIT