Step 2: Installation¶
The CapiscIO CLI is available for Node.js and Python. Choose your preferred platform.
Install the CLI¶
Verify the installation:
Expected output:
Verify the installation:
Expected output:
How It Works
The npm and pip packages are thin wrappers around the capiscio-core Go binary. On first run, they automatically download the correct binary for your platform. This ensures consistent behavior across all languages.
First Run¶
The first time you run capiscio, it will download the core binary:
You should see:
The core engine for the CapiscIO ecosystem.
Validates Agent Cards, verifies signatures, and scores agent trust and availability.
Usage:
capiscio [command]
Available Commands:
badge Manage Trust Badges
gateway Start the CapiscIO Gateway
help Help about any command
key Manage Cryptographic Keys
validate Validate an Agent Card
Flags:
-h, --help help for capiscio
-v, --version version for capiscio
Use "capiscio [command] --help" for more information about a command.
Troubleshooting¶
Permission denied on npm install
If you get a permission error, try:
Or use a Node version manager like nvm to avoid permission issues.
Binary download fails
The CLI downloads the binary from GitHub releases. If you're behind a corporate firewall:
- Download the binary manually from GitHub Releases
- Place it in
~/.capiscio/bin/ - Make it executable:
chmod +x ~/.capiscio/bin/capiscio
Command not found after install
Ensure your PATH includes the npm/pip global bin directory:
Create a Sample Agent Card¶
Before we validate, let's create a sample agent card to work with:
cat > agent-card.json << 'EOF'
{
"name": "My First Agent",
"description": "A sample A2A agent for learning CapiscIO",
"url": "https://example.com/agent",
"version": "1.0.0",
"protocolVersion": "0.2.0",
"provider": {
"organization": "My Company"
},
"capabilities": {
"streaming": false,
"pushNotifications": false
},
"skills": [
{
"id": "greeting",
"name": "Greeting",
"description": "Returns a friendly greeting"
}
]
}
EOF
Verify the file was created:
What's Next?¶
You now have:
- CapiscIO CLI installed
- A sample agent-card.json file
Let's run your first validation!