Local defense and self-setup prompt with agentd
Paste a single prompt into your coding agent or start the official agentd container (Docker, Podman, Dev Containers, Kubernetes or native amd64, arm64 and macOS packages) with Agentalog's five verified defense rule packages.
Updated
1Copy and paste the prompt so the agent configures itself
Paste the prompt below into Claude Code, Codex, Pi, Gemini CLI, Antigravity or Cursor (or query GET /api/agentd/setup).
- Automatic detection: the agent detects your OS and CPU architecture (amd64 or arm64).
- Cryptographic verification: downloads the official prebuilt binary from
https://github.com/wrpbr/agentd/releasesand verifies its SHA-256 againstSHA256SUMS. - Full activation: registers native hooks across all installed coding agents and enables all five defense packages from Agentalog's verified catalog.
Install and configure agentd (https://github.com/wrpbr/agentd) on this machine:
1. Detect OS and CPU architecture (amd64 or arm64).
2. Download SHA256SUMS and the matching prebuilt bundle from https://github.com/wrpbr/agentd/releases/download/v0.1.0/ and verify with sha256sum -c --ignore-missing SHA256SUMS.
3. Extract to ~/.local/share/agentd and run: ~/.local/share/agentd/agentd-install --native --native-bin-dir ~/.local/share/agentd --no-feature-ui --agents all
4. Add https://agentalog.com/api/agentd/catalog with ~/.local/bin/agentd --catalog-add, run --catalog-sync, and install agent-governance-core, secret-exfiltration-defense, production-db-defense, supply-chain-defense, and mcp-tool-defense.2Or start in 10 seconds with Docker, Podman, Dev Containers or native packages
With Docker or Podman, download only docker-compose.yml and start the official wrpbr/agentd:latest image.
The container automatically wires local hooks into ~/.claude, ~/.codex, ~/.pi, ~/.gemini and ~/.cursor, syncs Agentalog rules and exposes the default /tmp/safeguard/safeguard-daemon.sock socket plus TCP port 127.0.0.1:9477.
- Rootless Podman Quadlet: install
containers/podman/agentd.containerunder~/.config/containers/systemd/for native user-systemd management. - VS Code, Cursor and GitHub Codespaces: copy
.devcontainer/devcontainer.jsonto provisionagentdautomatically when the workspace starts. - Kubernetes Sidecar: apply
kubernetes/agentd-sidecar.yamlto guard autonomous agent pods over an in-memory shared Unix socket. - Native packages without containers: run the 1-line
install.shinstaller for.deb,.rpm,.pkg.tar.zst,.apk,.tar.gzoragentd.rb(macOS) across amd64 and arm64.
curl -fsSLO https://raw.githubusercontent.com/wrpbr/agentd/main/docker-compose.yml && docker compose up -d3Sync the five defense rule packages verified by Agentalog
The GET /api/agentd/catalog endpoint distributes five SHA-256-verified declarative packages to the C++20 daemon:
agent-governance-core: blocks remote installers piped directly into a shell (curl | sh) and monitors secret reads.secret-exfiltration-defense: blocks outbound network commands leaking .env files, SSH/GPG private keys and inline API tokens.production-db-defense: blocks DROP DATABASE, TRUNCATE TABLE, Redis FLUSHALL, terraform destroy, docker compose down -v and force push to main.supply-chain-defense: blocks unverified HTTP URL package execution and tampering with authorized_keys or sudoers.mcp-tool-defense: blocks writes to sensitive system paths and embedded PEM/OpenSSH private keys in workspace files.
agentd --catalog-add https://agentalog.com/api/agentd/catalog && agentd --catalog-sync && agentd --catalog-install agent-governance-core --catalog-install secret-exfiltration-defense --catalog-install production-db-defense --catalog-install supply-chain-defense --catalog-install mcp-tool-defense4Combine local guardrails with Agentalog's free MCP protection gateway
While agentd guards local shell commands and workspace files in real time, Agentalog protects the remote MCP servers and external skills connected to your agents.
- Free starter quota: every Agentalog account includes 3 free protected services on the MCP gateway (
/g/<id>/mcp) and verified skill copies. - Per-call human approval: require single-use authorization by the exact SHA-256 argument hash for sensitive write, database or deletion tools.