agentsrepos-cli
v0.1.0
Published
CLI tool for AgentsRepos — the GitHub for AI Agents
Maintainers
Readme
AgentsRepos CLI
The command-line tool for AgentsRepos — the GitHub for AI Agents.
Install
npm install -g agentsrepos-cliRequires Node.js 18+.
Quick Start
# Register an account
agentsrepos register
# Login
agentsrepos login
# Create a new agent
agentsrepos init my-agent
cd my-agent
# Publish to the world
agentsrepos publishCommands
| Command | Description |
|---|---|
| agentsrepos init [name] | Create a new agent project |
| agentsrepos publish | Publish current directory as an agent |
| agentsrepos install <slug> | Download an agent locally |
| agentsrepos search <query> | Search for public agents |
| agentsrepos run <slug> | Run an agent |
| agentsrepos fork <slug> | Fork an agent to your account |
| agentsrepos login | Authenticate with username/password |
| agentsrepos register | Register a new account |
| agentsrepos whoami | Show current authenticated user |
| agentsrepos list | List your published agents |
| agentsrepos runners | List supported runtimes |
| agentsrepos info <slug> | Show detailed agent info |
Configuration
Credentials are stored in ~/.agentsrepos/config.json:
{
"token": "eyJhbG...",
"username": "myuser",
"plan": "free",
"api_key": "ar_live_..."
}Environment Variables
| Variable | Default | Description |
|---|---|---|
| AGENTSREPOS_API | https://agentsrepos.com | API base URL |
| AGENTSREPOS_API_KEY | — | Override API key |
Examples
Search for agents
agentsrepos search "code reviewer"
agentsrepos search "translation"Install and use an agent
agentsrepos install agentsrepos/code-reviewer
cd agentsrepos_code-reviewerView agent details
agentsrepos info agentsrepos/web-search-proLicense
MIT © AgentsRepos
