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

@manet/agent-cli

v0.0.4

Published

A flexible Agent CLI framework for building multimodal agent applications

Readme

MANET Agent CLI

A flexible Agent CLI framework built on top of the Agent Kernel (@manet/agent). Deploy and run agents with ease, featuring built-in Web UI and powerful extensibility.

Quick Start

Installation

npm install @manet/agent-cli

Basic Usage

# Start interactive Web UI (default)
manet

# Run with built-in agents
manet run sailors  # Agent Sailors
manet run omni-tars   # Omni-TARS
manet run mcp-agent   # MCP Agent

# Run with custom agent
manet run ./my-agent.js

# Start headless API server
manet serve

# Headless mode with direct input
manet --headless --input "Analyze current directory structure"

# Pipeline input
echo "Summarize this code" | manet --headless

Built-in Agents

manet CLI includes several built-in agents:

  • sailors - Agent Sailors: Advanced task automation and reasoning system
  • omni-tars - Omni-TARS: Multi-modal agent with comprehensive capabilities
  • mcp-agent - MCP Agent: Model Context Protocol agent for tool integration
# Use built-in agents
manet run sailors
manet run omni-tars
manet run mcp-agent

Core Commands

manet / manet run

Launches interactive Web UI for real-time conversation and file browsing.

manet run --port 8888 --open
manet run sailors --port 8888
manet run ./my-agent.js --port 8888

manet serve

Starts headless API server for system integration.

manet serve --port 8888
# API available at: http://localhost:8888/api/v1/

manet run --headless

Silent mode execution with stdout output, perfect for scripting.

# Text output (default)
manet run --headless --input "Analyze files" --format text

# JSON output
manet run --headless --input "Analyze files" --format json

# Include debug logs
manet run --headless --input "Analyze files" --include-logs

manet request

Direct LLM requests for debugging and testing.

manet request --provider openai --model gpt-4 --body '{"messages":[{"role":"user","content":"Hello"}]}'

manet workspace

Workspace management utilities.

manet workspace --init     # Initialize workspace
manet workspace --open     # Open in VSCode
manet workspace --status   # Show status

Configuration

Config Files

Supports multiple formats with auto-discovery of manet.config.{ts,yaml,json}:

// manet.config.ts
import { AgentAppConfig } from '@manet/interface';

const config: AgentAppConfig = {
  model: {
    provider: 'openai',
    id: 'gpt-4',
    apiKey: process.env.OPENAI_API_KEY,
  },
  workspace: './workspace',
  server: { port: 8888 },
};

export default config;

CLI Options

# Model configuration
manet --model.provider openai --model.id gpt-4 --model.apiKey sk-xxx

# Server settings
manet serve --port 3000

# Workspace path
manet --workspace ./my-workspace

# Debug mode
manet --debug

Priority Order

  1. CLI arguments (highest)
  2. Workspace config
  3. User config file (--config)
  4. Remote config URL
  5. Default config (lowest)

Custom Development

Coming soon

Advanced Features

Event System

Built on event-driven architecture for monitoring agent execution:

const eventStream = agent.getEventStream();

// Subscribe to all events
eventStream.subscribe((event) => {
  console.log('Event:', event.type, event);
});

// Subscribe to specific event types
eventStream.subscribeToTypes(['tool_call', 'tool_result'], (event) => {
  console.log('Tool event:', event);
});

Console Interception

Capture and process console output during execution:

import { ConsoleInterceptor } from '@manet/agent-cli';

const { result, logs } = await ConsoleInterceptor.run(
  async () => {
    return await agent.run('input');
  },
  {
    silent: true, // Suppress output
    capture: true, // Capture logs
  },
);

Tool & MCP Server Filtering

Filter available tools and MCP servers via configuration:

// In config
const config = {
  tool: {
    include: ['file_*', 'web_*'],
    exclude: ['dangerous_*'],
  },
  mcpServer: {
    include: ['filesystem', 'browser'],
    exclude: ['experimental_*'],
  },
};
# Via CLI
manet --tool.include "file_*,web_*" --tool.exclude "dangerous_*"
manet --mcpServer.include "filesystem" --mcpServer.exclude "experimental_*"

API Reference

Refer to TypeScript definitions:

Examples

[Placeholder: Add screenshots of Web UI interface and CLI usage examples]

Contributing

Welcome to submit issues and pull requests!

  1. Follow existing code style
  2. Add necessary test cases
  3. Update relevant documentation

License

Apache-2.0 License