Hardware Security Key for AI Agents
Protect your AI credentials with tamper-resistant silicon
NexusClaw is the first hardware security key designed specifically for AI agents. Built on the Agent Vault Protocol (AVP), it provides:
- Hardware-backed credential storage β API keys, tokens, and secrets stored in tamper-resistant silicon
- Cryptographic operations β Sign, verify, and attest without exposing private keys
- Plug-and-play USB β Works with any system via USB CDC serial interface
- Open source firmware β Fully auditable, community-driven development
AI agents need API keys and credentials to operate. Today, these are typically stored in:
- Environment variables (leaked via logs, env dumps)
- Config files (committed to git, backed up insecurely)
- Secret managers (still software-based, single point of failure)
A compromised credential gives attackers unlimited access to your AI services, billing, and data.
NexusClaw stores your credentials in a TROPIC01 secure element β the same class of hardware used in banking cards and hardware wallets. Keys are:
- Generated inside the chip using true random number generators
- Stored in tamper-resistant memory with active shields
- Never exported β cryptographic operations happen on-chip
- Protected by PIN with lockout after failed attempts
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β NexusClaw USB Key β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β STM32U535 MCU ββ
β β - USB CDC interface ββ
β β - AVP protocol processor ββ
β β - TrustZone isolation ββ
β ββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββββ
β β SPI (encrypted session) β
β ββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββββ
β β TROPIC01 Secure Element ββ
β β - 128 secure storage slots ββ
β β - ECC, AES-256-GCM, SHA-3 ββ
β β - Tamper detection ββ
β β - True random number generator ββ
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Feature | Description |
|---|---|
| TROPIC01 Secure Element | Tamper-resistant chip from Tropic Square |
| 128 Storage Slots | Store up to 128 secrets (256 bytes each) |
| ECC P-256 & Ed25519 | Hardware-based signing and verification |
| AES-256-GCM | Authenticated encryption for data protection |
| PIN Protection | 6-digit PIN with exponential backoff |
| Attestation | Verify device authenticity before trusting it |
| Integration | Status |
|---|---|
| AVP Python Client | β Ready |
| AVP TypeScript Client | β Ready |
| LangChain | β Ready |
| CrewAI | β Ready |
| ZeroClaw | β Ready |
| Claude MCP | β Ready |
| Custom Agents | β Any AVP client |
Plug NexusClaw into any USB port. It appears as a serial device:
- Linux:
/dev/ttyACM0 - macOS:
/dev/tty.usbmodem* - Windows:
COM3(or similar)
# Python
pip install avp-py
# Node.js
npm install @avp-protocol/avp-ts
# Rust
cargo add avp-rsfrom avp import Vault
# Connect to NexusClaw
vault = Vault("avp+usb:///dev/ttyACM0")
# Authenticate with PIN
vault.authenticate(pin="123456")
# Store your API key
vault.store("anthropic_api_key", "sk-ant-...")
# Later: retrieve it
api_key = vault.retrieve("anthropic_api_key")from langchain_anthropic import ChatAnthropic
from avp import Vault
vault = Vault("avp+usb:///dev/ttyACM0")
vault.authenticate(pin="123456")
# API key from hardware - never on disk
llm = ChatAnthropic(api_key=vault.retrieve("anthropic_api_key"))
response = llm.invoke("Hello from hardware-secured AI!")NexusClaw implements the full Agent Vault Protocol:
| Operation | Description |
|---|---|
DISCOVER |
Query device capabilities |
AUTHENTICATE |
Start secure session with PIN |
STORE |
Store a secret |
RETRIEVE |
Retrieve a secret |
DELETE |
Delete a secret |
LIST |
List stored secret names |
ROTATE |
Rotate a secret value |
| Operation | Description |
|---|---|
HW_CHALLENGE |
Verify device authenticity |
HW_SIGN |
Sign data with hardware key (key never exported) |
HW_ATTEST |
Get signed attestation of device state |
| Spec | Value |
|---|---|
| Connector | USB Type-A |
| Dimensions | 45mm Γ 18mm Γ 8mm |
| Weight | 8g |
| Operating Temp | -20Β°C to +70Β°C |
| Storage Temp | -40Β°C to +85Β°C |
| Spec | Value |
|---|---|
| Supply Voltage | 5V USB |
| Current (idle) | < 10mA |
| Current (active) | < 50mA |
| Spec | Value |
|---|---|
| Secure Element | TROPIC01 |
| Certifications | CC EAL5+ (pending) |
| Random Source | TRNG + PUF |
| Tamper Protection | Active mesh, sensors |
This repository contains the open-source firmware for NexusClaw. It is based on:
- MCU: STM32U535 (Cortex-M33, TrustZone)
- Secure Element: TROPIC01 via SPI
- USB: CDC ACM (serial) interface
- Protocol: AVP over JSON
# Prerequisites
apt install gcc-arm-none-eabi dfu-util
# Clone with submodules
git clone --recursive https://github.com/avp-protocol/nexusclaw.git
cd nexusclaw
# Build
cd app
make clean
make- Hold button while connecting USB (enters DFU mode)
- Flash with dfu-util:
dfu-util -a 0 -s 0x08000000:leave -D build/app.binβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β UNTRUSTED β
β Host OS, Network, Filesystem, Other Applications β
βββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ
β USB (AVP JSON commands)
βββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββ
β PARTIALLY TRUSTED β
β STM32U535 MCU β
β - Validates AVP commands β
β - Never sees plaintext keys β
β - Session tokens are ephemeral β
β - TrustZone isolates AVP code β
βββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββββββ
β SPI (encrypted L2 session)
βββββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββββββ
β FULLY TRUSTED β
β TROPIC01 Secure Element β
β - Keys generated internally (never imported) β
β - Keys stored in tamper-resistant memory β
β - Crypto operations performed on-chip β
β - Keys NEVER exported in plaintext β
β - Tamper detection β automatic key zeroization β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Feature | Env Vars | Secret Manager | HSM | NexusClaw |
|---|---|---|---|---|
| Cost | Free | $$ | $$$$ | $ |
| Hardware Security | β | β | β | β |
| Portable | β | β | β | β |
| Open Source | N/A | β | β | β |
| AI Agent Focused | β | β | β | β |
| Plug-and-Play | β | β | β | β |
- Fork TROPIC01 USB devkit firmware
- Add AVP protocol layer
- Production PCB design
- Injection molded enclosure
- FCC/CE certification
- CC EAL5+ certification
- Volume manufacturing
- Launch March 2026
NexusClaw is launching soon. Join the waitlist:
π Sign up for early access π
- AVP Specification β The protocol standard
- AVP-Tropic β Evaluation firmware for Secure Tropic Click
- avp-py β Python client
- avp-ts β TypeScript client
- avp-rs β Rust client
This project is licensed under the Apache License 2.0 - see LICENSE.txt for details.
The TROPIC01 secure element is an open hardware design from Tropic Square.
NexusClaw β Hardware Security for the AI Age
Part of the Agent Vault Protocol ecosystem