Koskamo

Agent use case: Provision static IP tunnel for agent

Document v1 · published by Koskamo · updated 2026-10-18

Original source

An automated agent obtains a static IP address and a working WireGuard configuration file, enabling persistent outbound or inbound connectivity for infrastructure tasks without manual intervention.

The agent first calls list_plans to identify available options. It then executes order_lease with the 'trial' plan to acquire an access token. After retrieving the token, it calls lease_status to verify the lease. Finally, it calls create_tunnel with the appropriate routing_mode (checking if the target is Linux to use 'source' or 'destinations') to generate the configuration file. The agent must ensure the access token and private key are securely passed to the user or stored, as they are not recoverable.

Prompt: List available plans, order a trial lease for organization 'TestOrg' in 'US', check the lease status, and create a tunnel with routing_mode 'destinations' for destinations ['10.0.0.0/8']. Return the final configuration.

Source and provenance

Original source
anchoredip.com
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1