Get your first agent authenticated and running in under 10 minutes
pip install liberty-cli)Choose your preferred language:
Python:pip install lockstock
cargo add lockstock
Create a new agent in your LockStock Dashboard:
my_first_bot)The genesis token is NOT the secret - it's safe to copy/paste. The actual secret is generated during binding.
On the target machine where your agent will run:
# Bind the agent identity to this machine's hardware liberty bind --agent agent_abc123_my_first_bot --token YOUR_GENESIS_TOKEN # Verify the binding succeeded liberty show agent_abc123_my_first_bot
Liberty encrypts the agent secret using your machine's hardware fingerprint. The secret never exists in plaintext and cannot be copied to another machine.
Load the agent from Liberty vault - no hardcoded secrets:
Python:from lockstock import LockStockAgent
# Load agent from Liberty vault (no secrets in code!)
agent = LockStockAgent.from_liberty("agent_abc123_my_first_bot")
# Agent passport is now active
print(f"Agent initialized: {agent.agent_id}")
use lockstock::LockStockAgent;
#[tokio::main]
async fn main() -> Result<()> {
// Load agent from Liberty vault
let agent = LockStockAgent::from_liberty(
"agent_abc123_my_first_bot"
).await?;
println!("Agent initialized: {}", agent.agent_id);
Ok(())
}
Execute your first authenticated operation:
# Python
result = await agent.authenticate("DEPLOY", {"target": "production"})
print(f"Hash chain extended: {result.current_hash[:16]}...")
# Rust
let result = agent.authenticate("DEPLOY", json!({"target": "production"})).await?;
What just happened: LockStock verified the agent's identity, extended the hash chain, computed the matrix transition, and logged the operation to the immutable audit trail.
Check the verifiable history of your agent:
// Retrieve audit log
audit_log = agent.get_audit_trail()
for entry in audit_log:
print(f"Seq: {entry.sequence} | Task: {entry.task} | Hash: {entry.parent_hash[:8]}...")
You now have mathematical proof of every action your agent has taken—no timestamps required.
Liberty Binding Failed: Ensure the genesis token hasn't expired (24h limit) and hasn't been used before.
Hardware Mismatch: The vault is locked to the original machine. Re-provision for new hardware.
Replay Error: You're attempting to reuse a parent hash. Each state transition must be unique.
Need Help? Email hello@d3cipher.ai