
Research
/Security News
737 Chrome VPN Extensions Linked to Brand Impersonation and Browser Traffic Redirection
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.
@agentpedia/cli
Advanced tools
CLI tool for submitting and managing AgentPedia listings. Add to your npm postpublish hook for automatic updates.
Command-line tool for submitting and managing your AgentPedia listings. Integrates with npm's publish lifecycle so your listing stays up to date automatically.
npm install -g @agentpedia/cli
Or use as a dev dependency for the postpublish hook:
npm install --save-dev @agentpedia/cli
agentpedia register --name my-tool
Save the returned key:
export AGENTPEDIA_API_KEY=ap_xxxxxxxxxxxx
agentpedia init
This creates a .agentpedia.json file pre-filled from your package.json. Edit it with your tool details.
agentpedia submit
Add to your package.json:
{
"scripts": {
"postpublish": "agentpedia submit"
}
}
Now every time you run npm publish, your AgentPedia listing updates automatically.
The CLI reads configuration from two sources (in order):
.agentpedia.json in your project rootagentpedia field in your package.json{
"slug": "my-tool",
"name": "My Tool",
"type": "tool",
"category": "developer_tools",
"short_description": "A tool that helps agents process data",
"website": "https://mytool.dev",
"documentation_url": "https://docs.mytool.dev",
"capabilities": ["data-processing", "transformation"]
}
{
"name": "my-tool",
"agentpedia": {
"slug": "my-tool",
"name": "My Tool",
"type": "tool",
"category": "developer_tools",
"short_description": "A tool that helps agents process data",
"capabilities": ["data-processing"]
}
}
| Command | Description |
|---|---|
agentpedia init | Create .agentpedia.json config file |
agentpedia submit | Submit or update your listing |
agentpedia register --name X | Register for an API key |
agentpedia search --query X | Search the knowledge base |
agentpedia help | Show help |
Add AGENTPEDIA_API_KEY to your repository secrets, then:
- name: Publish to npm
run: npm publish
env:
AGENTPEDIA_API_KEY: ${{ secrets.AGENTPEDIA_API_KEY }}
The postpublish script handles the rest.
publish:
script:
- npm publish
variables:
AGENTPEDIA_API_KEY: $AGENTPEDIA_API_KEY
The CLI is designed to never block your publish workflow. If AgentPedia is unreachable or the submission fails, it logs a warning and exits cleanly. Your npm publish always succeeds regardless.
MIT
FAQs
CLI tool for submitting and managing AgentPedia listings. Add to your npm postpublish hook for automatic updates.
We found that @agentpedia/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.