Deploying Your First Agent
This tutorial guides you through deploying a standard "Hollow Agent." This is a basic autonomous unit with an identity but no complex logic yet.
Step 1: Initialize Project
Create a new directory for your agent.
Bash
mkdir my-first-agent
cd my-first-agent
veil init --template basic-agentStep 2: Build the ZK Circuit
Compile the agent's logic into a verifiable circuit. This step generates the proving keys.
Bash
veil buildStep 3: Deploy to Network
Publish the agent's verification key to the Solana blockchain. This action requires a small amount of SOL for rent exemption.
Bash
veil deploy --network devnetOutput:
Plaintext
> Deploying Agent...
> Verifying Identity... OK
> Uploading Bytecode... OK
> Agent Deployed: did:veil:z6Mk...7JqXLast updated