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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@wren-coder/wren-coder-cli

v0.0.1-alpha.13

Published

[![npm version](https://badge.fury.io/js/@wren-coder%2Fwren-coder-cli.svg)](https://badge.fury.io/js/@wren-coder%2Fwren-coder-cli) [![npm downloads](https://img.shields.io/npm/dm/@wren-coder/wren-coder-cli.svg)](https://www.npmjs.com/package/@wren-coder/w

Downloads

20

Readme

Wren Coder

npm version npm downloads License Node.js Version GitHub stars GitHub forks

CI E2E Tests Release codecov

GitHub issues GitHub pull requests GitHub contributors Discord

Wren Coder Screenshot

Wren Coder is a model-agnostic command-line AI workflow tool forked from Qwen CLI Coder, which was itself a fork of Gemini CLI (Please refer to this document for more details). Currently supports OpenAI-compatible APIs, with plans to expand support to non-OpenAI-compatible models in the future.

[!WARNING] Wren Coder may issue multiple API calls per cycle, resulting in higher token usage, similar to Claude Code. We’re actively working to enhance API efficiency and improve the overall developer experience.

Key Features

  • Model Agnostic - Currently supports OpenAI-compatible APIs with plans for broader model support
  • Code Understanding & Editing - Query and edit large codebases beyond traditional context window limits
  • Workflow Automation - Automate operational tasks like handling pull requests and complex rebases
  • Enhanced Tool Support - Comprehensive tool ecosystem for file operations, shell commands, and web integration

Quick Start

Prerequisites

Ensure you have Node.js version 20 or higher installed.

curl -qL https://www.npmjs.com/install.sh | sh

Installation

npm install -g @wren-coder/wren-coder-cli
wren --version

Then run from anywhere:

wren

Or you can install it from source:

git clone https://github.com/wren-coder/wren-coder-cli.git
cd wren-coder
npm install
npm install -g .

API Configuration

Wren Coder currently works with OpenAI-compatible APIs. Configure your API settings using environment variables or a .env file in your project root.

export OPENAI_API_KEY="your_api_key_here"
export OPENAI_BASE_URL="your_api_base_url_here"  # e.g., https://api.openai.com/v1
export OPENAI_MODEL="your_model_name_here"       # e.g., gpt-4, deepseek-coder, etc.

Currently Supported (OpenAI-Compatible):

  • OpenAI (GPT-4, GPT-3.5)
  • DeepSeek (deepseek-coder, deepseek-chat)
  • Anthropic (via OpenAI-compatible proxy)
  • Local models (Ollama, vLLM, etc.)
  • Any OpenAI-compatible API endpoint

Future Support Planned:

  • Native Ollama integration
  • Direct Anthropic API support
  • Additional model providers and protocols

See our ROADMAP.md for detailed plans on expanding model support.

Usage Examples

Explore Codebases

cd your-project/
wren
> Describe the main pieces of this system's architecture

Code Development

> Refactor this function to improve readability and performance

Automate Workflows

> Analyze git commits from the last 7 days, grouped by feature and team member
> Convert all images in this directory to PNG format

Popular Tasks

Understand New Codebases

> What are the core business logic components?
> What security mechanisms are in place?
> How does the data flow work?

Code Refactoring & Optimization

> What parts of this module can be optimized?
> Help me refactor this class to follow better design patterns
> Add proper error handling and logging

Documentation & Testing

> Generate comprehensive JSDoc comments for this function
> Write unit tests for this component
> Create API documentation

Benchmark Results

Terminal-Bench

| Agent | Model | Accuracy | | ----- | ----- | -------- |

Project Structure

wren-coder/
├── packages/           # Core packages
│   ├── cli/           # Command-line interface
│   ├── core/          # Core functionality
│   └── vscode-ide-companion/  # VS Code extension
├── docs/              # Documentation
├── examples/          # Example code
└── tests/            # Test files

For detailed development plans and upcoming features, see our ROADMAP.md.

Development & Contributing

See CONTRIBUTING.md to learn how to contribute to the project.

Troubleshooting

If you encounter issues, check the troubleshooting guide.

Acknowledgments

This project is a fork of Qwen CLI Coder, which was originally forked from Google Gemini CLI. We acknowledge and appreciate the excellent work of both the Gemini CLI team and the Qwen team. Our main contribution focuses on creating a model-agnostic solution with enhanced tool support and improved compatibility across different AI providers.

License

LICENSE