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

our-agent

v1.0.0

Published

Write AI agents in .conf — run anywhere.

Downloads

30

Readme


Overview

our-agent run agent.conf          # CLI interactive
our-agent build agent.conf        # Package as executable
our-agent export agent.conf       # Export as Skill / MCP

Write a .conf file to define your AI agent. One config, many runtimes.

Quick Start

npm install -g our-agent          # Install via npm
# or from source:
# git clone https://github.com/stevenwang15/our-agent && cd our-agent
# ./install.sh                    # macOS / Linux
# .\install.ps1                   # Windows (PowerShell)

# Set your API key
export OUR_AGENT_KEY="sk-your-key"

# Run an example
our-agent run examples/translator.conf

.conf Format

Two styles — use whichever you prefer:

Bracket style:

[agent]
name = translator
desc = Professional translator

[prompt]
system = "You are a professional translation assistant."
welcome = "Enter text to translate."

[settings]
provider = openai
temperature = 0.3

[tools]
allow = web_search, current_time

[ui]
icon = 🌐
color = #22c55e

Brace style:

agent {
    name = "translator";
    desc = "Professional translator";

    prompt {
        system = "You are a professional translation assistant.";
        welcome = "Enter text to translate.";
    }

    settings {
        provider = "openai";
        temperature = 0.3;
    }
}

Key rule: never store API keys, models, or base URLs in .conf — these are injected at runtime via environment variables or CLI flags.

CLI Commands

| Command | Description | |---------|-------------| | run <file> | Run an agent (interactive or one-shot with -P) | | build <file> | Package as standalone executable (macOS / Windows / Linux) | | export <file> | Export as Skill JSON or MCP server | | lint <file> | Validate .conf syntax | | init [name] | Scaffold a new agent config | | providers | List all supported LLM providers |

Run Examples

# Interactive mode
our-agent run agent.conf

# One-shot prompt
our-agent run agent.conf -P "Translate: Hello World"

# Custom provider
our-agent run agent.conf --provider deepseek
our-agent run agent.conf --provider ollama --base-url http://localhost:11434/v1

# With env vars (don't hardcode in .conf)
OUR_AGENT_KEY=sk-xxx our-agent run agent.conf

Build Executable

# Build for current platform
our-agent build agent.conf -o ./dist

# Build for specific target
our-agent build agent.conf -t win-x64 -o ./dist
our-agent build agent.conf -t linux-x64 -o ./dist
our-agent build agent.conf -t mac-arm64 -o ./dist

Export

# Export as Skill
our-agent export agent.conf -f skill -o ./exports

# Export as MCP server
our-agent export agent.conf -f mcp -o ./exports

# Export all formats
our-agent export agent.conf -o ./exports

Supported Providers

| Provider | Default Model | Auth | |----------|--------------|------| | openai | GPT-4o | Bearer token | | anthropic | Claude 3.5 Sonnet | x-api-key | | google | Gemini 1.5 Pro | Bearer token | | deepseek | DeepSeek V3 | Bearer token | | ollama | llama3 | None (local) | | openrouter | auto | Bearer token |

Built-in Tools

| Tool | Description | License | |------|-------------|---------| | web_search | Web search via DuckDuckGo | MIT (duck-duck-scrape) | | read_file | Read files (cwd only) | Built-in | | write_file | Write files (cwd only) | Built-in | | list_files | List directory contents | Built-in | | execute_command | Run shell commands | Built-in | | current_time | Get current date/time | Built-in |

Installation

From npm (recommended)

npm install -g our-agent

From source (macOS / Linux)

git clone https://github.com/stevenwang15/our-agent && cd our-agent
./install.sh

From source (Windows)

git clone https://github.com/stevenwang15/our-agent; cd our-agent
.\install.ps1

Manual

git clone https://github.com/stevenwang15/our-agent && cd our-agent
npm install
npm install -g .

Uninstall

npm uninstall -g our-agent
# or: ./uninstall.sh        # macOS / Linux

Project Structure

our-agent/
├── bin/our-agent.js           # CLI entry point
├── src/
│   ├── conf/parser.js         # .conf parser
│   ├── runtime/               # Engine, LLM, tools, session
│   └── commands/              # CLI command implementations
├── examples/                  # Sample .conf files
├── install.sh / install.ps1   # Install scripts
├── uninstall.sh               # Uninstall script
└── LICENSE                    # Apache 2.0

Why .conf?

  • One format, multiple runtimes — CLI, export, package
  • Secrets-free — no keys, models, or URLs in config files
  • Composable — mix sections, include files, override at runtime

License

Apache 2.0 — see LICENSE.