Humans and agents

A private network for your agent

Let your AI agent reach a service on your own computer or server, with no VPN account, email, or phone number. Each device has its own key, and you approve which ones join.

By Nostr VPN · Updated

Agents: for exact commands, follow the agent workflow guide or install the plugin below. This page is the overview.

Will it work on your agent’s computer?

It works if the computer running the agent can run the nvpn background service and is allowed to set up a VPN. A terminal alone isn’t enough: on Linux it also needs a tunnel device (/dev/net/tun) and network admin rights. Many hosted agent sandboxes don’t allow this, so use a computer you control.

Install the agent plugin

The plugin teaches Codex, Claude Code, Grok Build, and Hermes to use the nvpn command-line tool. It only adds instructions: it doesn’t start a VPN or grant network access.

hermes plugins install mmalmi/nostr-vpn/plugins/nostr-vpn --no-enable
hermes plugins enable nostr-vpn

For other agents, see the plugin installation guide. In OpenAI’s apps, the plugin works only in the desktop app on a connected computer, not in cloud-only agents. Grok Bot can follow the guide in its terminal if its host allows VPN setup.

Check that it works

  1. Set up both devices

    Use the computer that runs the agent and a device with the service it should reach. Give each its own identity, and keep each configuration in private storage that survives restarts.

  2. Approve the agent’s computer

    Follow the command-line quickstart: the agent’s computer sends a join request, and you approve it in the Nostr VPN app. Newer approval commands without the app are in the source guide; check nvpn --help to see if your version has them.

  3. Confirm the VPN is running

    Run nvpn status --json with the same configuration that started the service. A saved configuration doesn’t prove the VPN is up; the status must come from the running service.

  4. Reach the service

    Open the service at the other device’s VPN address or .nvpn name, and test the name separately from the address. Stop the test session when you’re done.

Only devices you approve can join, and joining gives no access to anyone else’s devices. Paid exits aren’t needed for this.

More tools without signups

Hashtree Git lets agents publish code with ordinary Git commands. Iris Chat lets you message your agent privately. Use them separately or together: send a request in Iris Chat, let the agent work over the private network, and get back a repository link.