Skip to content

Start building

Integration · Developer

AI agents for Tailscale

Manage a Tailscale network (tailnet): list devices and users, see which devices are offline, out of date or about to expire, authorize, tag, expire or remove devices, create auth keys for new machines.

Actions
10
Read
5
Write
5

Actions

What your agents can do in Tailscale

Manage a Tailscale network (tailnet): list devices and users, see which devices are offline, out of date or about to expire, authorize, tag, expire or remove devices, create auth keys for new machines, and read the access policy, with a Tailscale OAuth client.

Read 5

Look things up. Nothing changes.

  • List devices

    Lists the tailnet's devices, optionally only exact matches on a top-level field (like hostname, os or a tag).

  • Get a device

    Reads one device with all its fields: addresses, OS and client version, owner, tags, authorization, last seen, key expiry, approved and advertised subnet routes.

  • List users

    Lists the tailnet's users, by type (member, shared, all) and role (owner, admin, member, it-admin, network-admin, billing-admin, auditor).

  • List keys

    Lists the tailnet's active keys the OAuth client can see (auth keys and trust credentials), as keys.

  • Get the access policy

    Reads the tailnet policy file as JSON: acls or grants (who may reach what), groups, tagOwners, hosts, ssh rules, autoApprovers and tests.

Write 5

Create, change or send.

  • Authorize a device

    Approves a new device so it can join a tailnet that requires device approval, or (with authorized false) removes its approval so it is cut off until approved again.

  • Set a device's tags

    Replaces a device's tags (like ["tag:prod", "tag:db"]); the tags then own the device and the access policy's tag rules apply to it.

  • Expire a device's keyDeletes data

    Expires a device's node key now: the device is disconnected until someone signs it in again.

  • Remove a deviceDeletes data

    Removes a device from the tailnet for good; it must be added again with a new sign-in or auth key to return.

  • Create an auth key

    Creates an auth key that registers new machines into the tailnet without a person signing in (for servers, containers, CI).

A person can approve first

Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything. Actions that delete data ask first by default.

Connection

How it connects

Connect it once in the console, then give it to the agents and workflows that need it.

App credentials

Paste the client ID and secret of an app your organization registered with Tailscale. The platform fetches its tokens itself (OAuth client credentials).

Kept safe

  • Credentials are stored encrypted with your organization's own keys.
  • They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
  • Calls go only to the tool's own servers.

How we protect your data

Ideas

Ideas to start with

Starting points made only from the actions above. Mix them with any other tool your agents can use.

  • 01

    Ask about your Tailscale data

    Ask a question in plain words. The agent can list devices, get a device or list users in Tailscale, then answers with what it found.

  • 02

    Let an agent update Tailscale

    Have the agent set a device's tags or create an auth key in Tailscale as part of a larger task. Turn on approval and a person signs off on each change first.

  • 03

    Share what it finds in Slack

    Give one agent Tailscale and Slack: it can list devices in Tailscale and post a summary to a Slack channel in the same run.

FAQ

Tailscale and MyDeepAgents

Can MyDeepAgents connect to Tailscale?

Yes. The Tailscale connector has 10 actions: 5 read and 5 make changes. Your agents can call them as tools, and your workflows can run them as steps.

How do I connect Tailscale?

Paste the client ID and secret of an app your organization registered with Tailscale. The platform fetches its tokens itself (OAuth client credentials). Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.

Can an agent change data in Tailscale without asking?

Only if you let it. Each of the 5 actions that change data can be set to wait for a person's approval before it runs, and the 2 that delete data ask first by default.

Can I use Tailscale in workflows as well as agents?

Yes. Every Tailscale action also works as a step in a workflow, and the same connection serves your agents and your workflows.

Early access

Put Tailscale to work

Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.