Skip to content

[PROD-871] gumloop browser proxy link links this computer so agents can browse from it - #107

Closed
daniel-gumloop wants to merge 7 commits into
mainfrom
daniel-prod-871-device-proxies
Closed

daniel-gumloop wants to merge 7 commits into
mainfrom
daniel-prod-871-device-proxies

Conversation

@daniel-gumloop

@daniel-gumloop daniel-gumloop commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

What

SDK and CLI side of PROD-871 linked proxies: gumloop browser proxy link links this computer and keeps a tunnel open to Gumloop's linked proxy gateway in the background, so an agent's browser can send its traffic out through this computer.

  • gumloop browser proxy link | status | unlink: link generates an Ed25519 key, registers the machine through POST /api/v1/linked-proxies/cli, and installs a background service (launchd on macOS, a systemd user unit on Linux). status shows the computer's name and whether it's connected, connecting (with the last failure in plain words) or not running.
  • gumloop.linked_proxy: the tunnel. It signs in to the gateway with a token signed by the machine key that carries a short-lived gateway token from the backend, carries the gateway's streams to public destinations only (private and special-purpose addresses are refused), verifies TLS against certifi's roots only, and reconnects with backoff. It stops and forgets the registration when the backend says the linked proxy was revoked.
  • client.linked_proxies: the SDK resource for registering and getting gateway tokens, with the new types.
  • Local state lives under ~/.gumloop/linked-proxy/: the registration per backend host (private key in the OS keychain), a status file the service writes, and a lock so only one tunnel runs per host.
  • New dependencies: websockets>=14 and certifi.

Why

Lets an agent browse from a member's own network address instead of a datacenter or residential proxy.

Compatibility

  • Additive. No existing command or type changes.
  • The routes it calls exist only on backends with the backend stack (gumloop/gumloop_backend#14520 through gumloop/gumloop_backend#14793) and the linked-proxies flag on for the org. Elsewhere link fails with the backend's 404 and registers nothing.
  • Version is 0.5.16.

How it's tested

  • Unit tests for frames, destinations, TLS check, sign-in, connection, tunnel, the key and service files, the command, and the SDK resource.
  • Manual: registered a computer against a local backend from a Linux VM. The end-to-end tunnel is being tested on staging-vpc.

Companion PRs: backend gumloop/gumloop_backend#14520 (stack of 15), frontend gumloop/gumloop_frontend#10318 (stack of 3).

github-advanced-security[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-device-proxies branch from 5a42f5f to 6f39f02 Compare November 24, 2026 18:17
devin-ai-integration[bot]

This comment was marked as resolved.

@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-device-proxies branch from 6f39f02 to bdda134 Compare November 24, 2026 18:21
devin-ai-integration[bot]

This comment was marked as resolved.

@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-device-proxies branch 2 times, most recently from 17cb868 to 874dc76 Compare November 24, 2026 18:50
@daniel-gumloop daniel-gumloop changed the title [PROD-871] gumloop browser location adds this computer as a browser location agents can browse from [PROD-871] gumloop browser computer link links this computer so agents can browse from it Nov 24, 2026
@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-device-proxies branch from 874dc76 to 4c7a03f Compare November 24, 2026 23:15
@daniel-gumloop daniel-gumloop changed the title [PROD-871] gumloop browser computer link links this computer so agents can browse from it [PROD-871] gumloop browser proxy link links this computer so agents can browse from it Nov 24, 2026

@devin-ai-integration devin-ai-integration Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

Devin Review found 1 new potential issue.

1 flag not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

Comment thread src/gumloop/cli/linked_proxy_service.py Resolved
@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-device-proxies branch from 81412b1 to 0439317 Compare November 25, 2026 22:48
@blacksmith-sh

This comment has been minimized.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 new potential issues.

3 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

Comment thread src/gumloop/linked_proxy/connection.py Resolved
Comment thread src/gumloop/cli/linked_proxy_service.py Resolved
@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-device-proxies branch from 0439317 to b867313 Compare November 25, 2026 23:06
@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-device-proxies branch from b867313 to c5c2b39 Compare November 25, 2026 23:23
Comment thread tests/cli/test_linked_proxy_command.py Dismissed
@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-device-proxies branch from c5c2b39 to d5ac60f Compare November 25, 2026 23:25
daniel-gumloop and others added 3 commits November 25, 2026 23:33
…d where Linux has no systemd user session

Co-authored-by: Cursor <[email protected]>
…hen it was unlinked, and says why Gumloop refused it otherwise

Co-authored-by: Cursor <[email protected]>
@daniel-gumloop
daniel-gumloop force-pushed the daniel-prod-871-device-proxies branch from d5ac60f to f41fe87 Compare November 25, 2026 23:33
@daniel-gumloop

Copy link
Copy Markdown
Collaborator Author

Split into a stack of 3: #109, #110, #111.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants