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

yuan-agent

v1.0.3

Published

A personal AI Agent like OpenClaw, including tools, skills, memory, hook, sub-agent, MCP sever, etc. Run in the terminal.

Readme

Yuan-Agent

AI 小助手有tool skill mcp ...... Run in the terminal.

tech

  • runtime: nodejs
  • language: typescript
  • package tool: pnpm
  • agent framework: langGraph
  • LLM API: moonshot kimi
  • CLI tool: commander.js

command

pnpm add -g yuan-agent --allow-build=better-sqlite3
pnpm add -g yuan-agent
pnpm remove -g yuan-agent
pnpm dev
pnpm test
pnpm build & npm link
yuan
npm unlink 
yuan-agent

model config

Agent model configuration is loaded from user config file:

  • Windows: %USERPROFILE%/.yuan_agent/yuan_agent_setting.json
  • macOS/Linux: ~/.yuan_agent/yuan_agent_setting.json

If the config file is missing or invalid, the agent will fail fast with an error message.

Use /model to interactively switch default model in this file.

Full example (with MCP and env):

{
	"models": {
		"moonshot": {
			"provider": "moonshot",
			"baseURL": "https://api.moonshot.cn/v1",
			"models": [
				{
					"id": "kimi-k2.6",
					"name": "Kimi K2.6",
					"apiKey": "<MOONSHOT_API_KEY>"
				},
				{
					"id": "moonshot-v1-8k",
					"name": "moonshot-v1 8k",
					"apiKey": "<MOONSHOT_API_KEY_2>"
				}
			]
		},
		"deepseek": {
			"provider": "deepseek",
			"baseURL": "https://api.deepseek.com",
			"models": [
				{
					"id": "deepseek-v4-pro",
					"name": "DeepSeek V4 Pro",
					"apiKey": "<DEEPSEEK_API_KEY>"
				}
			]
		},
		"minimax": {
			"provider": "minimax",
			"baseURL": "https://api.minimaxi.com/v1",
			"models": [
				{
					"id": "MiniMax-M3",
					"name": "MiniMax-M3",
					"apiKey": "<MINIMAX_API_KEY>"
				}
			]
		},
		"gml": {
			"provider": "gml",
			"baseURL": "https://open.bigmodel.cn/api/paas/v4/",
			"models": [
				{
					"id": "glm-4.6v",
					"name": "GLM 4.6v",
					"apiKey": "<GLM_API_KEY>"
				},
				{
					"id": "GLM-5.1",
					"name": "GLM-5.1",
					"apiKey": "<GLM_API_KEY_2>"
				},
				{
					"id": "GLM-5.2",
					"name": "GLM-5.2",
					"apiKey": "<GLM_API_KEY_3>"
				}
			]
		}
	},
	"defaults": {
		"provider": "moonshot",
		"model": "kimi-k2.6"
	},
	"mcpServers": {
		"github": {
			"type": "http",
			"url": "https://api.githubcopilot.com/mcp/",
			"headers": {
				"Authorization": "Bearer <GITHUB_TOKEN>"
			}
		},
		"playwright": {
			"type": "stdio",
			"command": "npx",
			"cwd": "tmp",
			"args": ["-y", "@playwright/mcp@latest"]
		}
	},
	"env": {
		"TAVILY_API_KEY": "<TAVILY_API_KEY>",
		"AGENT_ENABLE_MCP_TOOLS": "false"
	}
}

Security note:

  • Do not commit real API keys/tokens into Git.
  • Use placeholders in docs and keep real secrets only in your local ~/.yuan_agent/yuan_agent_setting.json.

Node.js version requirement

  • Minimum: Node.js 20
  • Recommended: Node.js 22 LTS

Why:

Quick check:

node -v