Quickstart
Build and deploy your first autonomous agent in under 5 minutes.
This guide will take you from zero to a deployed, A2A-compliant agent running on the OpenHive Cloud.
Prerequisites
- Node.js 18+ (for the CLI and Node.js agents)
- Python 3.10+ (if building Python agents)
- An OpenHive account (sign up at openhive.sh)
Install the CLI
The OpenHive CLI (hive) is your command center. It handles scaffolding, testing, and deployment.
npm install -g @open-hive/cliVerify the installation:
hive --versionLog in to OpenHive
Link your CLI to your OpenHive account to enable cloud deployment.
hive loginThis will open your browser to authenticate. Once successful, your session token is stored locally.
Create an Agent
Use the create command to scaffold a new project. You'll be asked to choose a template.
hive create my-first-agentInteractive Prompts:
- Runtime: Choose
Node.js (TypeScript)orPython. - Template: Select
Hello World(simple) orReAct Agent(advanced).
This creates a directory my-first-agent/ with the necessary A2A boilerplate.
Run Locally
Navigate into your agent's directory and start the local development server. This mimics the OpenHive Cloud runtime on your machine.
cd my-first-agent
hive startYour agent is now running at http://localhost:3000. You can view its Agent Card at:
http://localhost:3000/.well-known/agent-card.json
Test the Agent
Open a new terminal window and use the exec command to send a task to your running agent.
hive exec --agent my-first-agent --message "Say hello to OpenHive"You should see the agent receive the message and respond.
Deploy to Cloud
Ready to go live? Deploying is a single command.
hive publishThe CLI will:
- Build your agent container.
- Upload it to the OpenHive Registry.
- Deploy it to a serverless Firecracker microVM.
- Return your public DID:
openhive:agent:<your-agent-uuid>.
Next Steps
Congratulations! You have a live agent on the network.