
Security News
Insecure Agents Podcast: How to Keep AI Agents From Bypassing Security Controls
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.
@open-hive/cli
Advanced tools
The Official Command-Line Interface for the OpenHive Platform
Build, manage, and deploy A2A-compliant AI agents with ease.
# Install globally with npm
npm install -g @open-hive/cli
# Or with yarn
yarn global add @open-hive/cli
# Verify installation
hive --version
# Create a new agent interactively
hive create my-agent
# The CLI will prompt you to select a runtime (e.g., Node.js, Python) and a template.
# Navigate to your agent
cd my-agent
# Install dependencies
npm install # or: pip install -r requirements.txt
# Start your agent locally (reads .agent-card.json)
hive start
| Command | Description |
|---|---|
hive create <name> | Interactively create a new A2A-compliant agent project |
hive list | List agents from a registry |
hive delete | Delete an agent from a registry |
hive exec | Execute an agent by sending a task request |
hive start | Start a local agent from .hive.yml |
hive up | Start the local agent registry server |
hive publish --local | Publish an agent to the local registry |
Examples:
# Create an agent (you will be prompted for runtime and template)
hive create my-new-agent
# In a new terminal, start the local registry (and leave it running)
hive up
# In your agent's directory, publish it to the local registry
hive publish --local
# Start your agent
hive start
# Execute/Test an agent
hive exec
# Or with flags
hive exec --agent my-agent --message "Hello"
| Command | Description |
|---|---|
hive login | Authenticate with OpenHive Platform |
hive logout | Log out from OpenHive Platform |
hive whoami | Display current user information |
hive publish | Publish agent to OpenHive Platform |
hive deploy <name> | Trigger deployment for agent's latest version |
hive install <agent> | Install an agent from OpenHive Platform |
Examples:
# Login to OpenHive Platform
hive login
# Check who you're logged in as
hive whoami
# Alternatively, use an API Key for CI/CD environments
export HIVE_API_KEY="your-api-key"
hive whoami
# Publish your agent (from agent directory)
hive publish
# Trigger a deployment for the latest version of an agent
hive deploy my-agent
# Install a public agent
hive install weather-agent
# Install a specific version
hive install weather-agent@1.2.0
| Command | Description |
|---|---|
hive config get <key> | Get a configuration value |
hive config set <key> <value> | Set a configuration value |
hive config list | List all configuration values |
Examples:
# View current platform URL
hive config get url
# Change platform URL
hive config set url https://www.openhive.sh
# List all config
hive config list
When you create an agent with hive create, you get a complete project structure:
my-agent/
├── .agent-card.json # Agent configuration (AgentCard)
├── package.json # Dependencies
├── src/
│ └── index.ts # A2A-compliant agent implementation
└── tsconfig.json # TypeScript configuration
my-agent/
├── .agent-card.json # Agent configuration (AgentCard)
├── requirements.txt # Dependencies
└── main.py # A2A-compliant agent implementation
The .agent-card.json file is your A2A AgentCard - it defines your agent's metadata and skills:
{
"name": "my-agent",
"description": "An A2A-compliant AI agent",
"protocolVersion": "0.3.0",
"version": "0.1.0",
"url": "http://localhost:8080",
"runtime": "node",
"skills": [
{
"id": "hello-world",
"name": "Hello World",
"description": "A simple skill that returns a greeting",
"tags": ["greeting", "demo"]
}
]
}
The agent code loads this directly - no conversion needed!
OpenHive CLI creates agents using the official A2A SDKs:
@a2a-js/sdk - Built by the A2A teama2a-sdk - Official Python implementationThe A2A SDKs automatically provide these standard endpoints:
GET /.well-known/agent-card.json - Returns agent metadata and skillsGET /health - Health checkPOST /tasks - Execute a skillGET /tasks/:taskId - Get task statusAgents use the AgentExecutor pattern:
// Node.js
class MyAgentExecutor extends AgentExecutor {
async execute(requestContext, eventBus) {
// Your skill logic here
eventBus.publish(responseMessage)
eventBus.finished()
}
}
# Python
class MyAgentExecutor(AgentExecutor):
async def execute(self, request_context, event_bus):
# Your skill logic here
event_bus.publish(response_message)
event_bus.finished()
FAQs
Official OpenHive CLI to build, manage, and deploy A2A-compliant AI agents
The npm package @open-hive/cli receives a total of 0 weekly downloads. As such, @open-hive/cli popularity was classified as not popular.
We found that @open-hive/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.

Security News
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.

Security News
GPT-6 Astra tried to plant malicious code in simulated open source projects using fake GitHub accounts and deceptive PRs during an assigned CTF challenge.

Security News
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.