How It Works
Fishnet sits between OpenClaw and AI providers (OpenAI, Anthropic). When you configure OpenClaw to use Fishnet’s proxy endpoints:- OpenClaw sends requests to
localhost:8473instead of directly to OpenAI/Anthropic - Fishnet intercepts the request and applies security policies
- Fishnet injects real credentials from its encrypted vault
- The request is forwarded to the upstream provider
- All actions are logged in Fishnet’s tamper-proof audit trail
Prerequisites
- Fishnet running locally on port
8473(see Installation) - API keys stored in Fishnet’s credential vault
- OpenClaw installed
Setup
Store your API keys in Fishnet
Add your OpenAI and Anthropic credentials to Fishnet’s encrypted vault:
These keys are encrypted and never exposed to your agent. Fishnet injects them at the proxy layer.
Security Features
Once integrated, Fishnet automatically enforces:Credential Isolation
OpenClaw never sees your real API keys. Even if an agent is compromised, credentials remain isolated in Fishnet’s vault.Spend Caps
Set daily budgets infishnet.toml:
Rate Limiting
Prevent request floods:Prompt Drift Detection
Fishnet watches for unexpected changes in system prompts:Audit Trail
Every approved and denied action is logged in a Merkle tree. Optionally generate ZK proofs for compliance attestation.Example Configuration
Completefishnet.toml for OpenClaw:
Troubleshooting
OpenClaw can't connect to Fishnet
OpenClaw can't connect to Fishnet
Verify Fishnet is running:Check the proxy is listening on port 8473:If Fishnet isn’t running, start it:
401 Unauthorized errors
401 Unauthorized errors
Requests are slow
Requests are slow
Fishnet adds minimal latency (typically less than 10ms). If requests are slow:
- Check your upstream provider’s status
- Verify you’re not hitting rate limits
- Review Fishnet logs for errors:
Next Steps
Configure Spend Limits
Set daily budgets and prevent runaway costs
Block Endpoints
Prevent your agent from accessing dangerous APIs
Alerts & Webhooks
Get notified when policies are violated
Audit Trail
Review and export all agent actions