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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@2501-ai/cli

v0.0.38

Published

Welcome in 2501 Command Line ! Use 2501's autonomous agents in your shell to get instant answers to your coding questions, take action on your machine(s), and more !

Downloads

1,089

Readme

2501 CLI

Welcome in 2501 Command Line ! Use 2501's autonomous agents in your shell to get instant answers to your coding questions, take action on your machine(s), and more !

2501.ai

Our approach

At the heart of 2501 is an orchestration of multiple of the top-performing models on the market today. Our approach, referenced as MoM (or Mixture of Models) going forward, is designed to maximize the successful execution of coding projects derived from natural language instructions.

With no one-size-fits-all model available, output quality is highly task-dependent. Our approach is to decompose any complex software development requirements into bite-sized tasks that can then be assigned to the most suitable model for resolution.

That’s precisely why the MoM approach shines and 2501’s autonomy does not stop here. On top of that, we continually evaluate the resolution of each task with a second model to improve or fix potential hallucinations.

Performance

2501’s performance on the full HumanEval, has scored 96.951 after the most recent core updates. Check out our benchmark for more details.

Installation

This tool is available as an npm package. To install, run the following command:

npm install -g @2501-ai/cli

2501.ai

This will install the 2501 CLI globally on your system, making it available from anywhere in your terminal.

Next, set your API key retrieved from the 2501 accounts.

If you're not yet a 2501 user, register here and get your API key : https://accounts.2501.ai/pay

@2501 set api_key YOUR_API_KEY

Now you can use the 2501 CLI commands:

@2501 <query>

Commands

Set Command

  • Command: set

  • Description: Set configuration values.

  • Usage: @2501 set <key> <value>

    • api_key: Set the API key retrieved from the 2501 desktop app.

Config Command

  • Command: config
  • Description: Fetches configuration data from the API.
  • Usage: @2501 config

Query Command

  • Command: query
  • Description: Execute a query using the specified agent.
  • Usage: @2501 query <query> [--workspace <path>] [--agentId <id>]

Init Command

  • Command: init
  • Description: Initializes a new agent.
  • Usage: @2501 init [--name <name>] [--workspace <path>] [--config <config_id>]

Agents Command

  • Command: agents
  • Description: List agents in the current workspace or all agents on the machine.
  • Usage: @2501 agents [--workspace <path>] [--all] [--flush]

Jobs Command

  • Command: jobs

  • Description: Fetch jobs from API.

  • Usage: @2501 jobs [--workspace <path>] [--subscribe] [--listen]

    • --workspace <path>: Specify a different workspace path.
    • --subscribe: Subscribe every minute to the API for new jobs on the current workspace.
    • --unsubscribe: Unsubscribe the current workspace for new jobs.
    • --listen: Listen for new jobs from the API and execute them.

Contributing

Contributions to this project are welcome. For any questions or requests, please visit our website 2501.ai or contact us at [email protected].