bifrost-agent
Mac path-tunnel agent for Bifrost. Connects outbound over WebSocket and exposes a local HTTP app under Bifrost’s tunnels base path (default /tunnels/{slug}).
Install
pipx install bifrost-agent
# or: pip install bifrost-agent (inside a venv)
Requires Python 3.11+.
Connect
- In Bifrost Console → Tunnels, create a tunnel and attach a path route (set Local URL there, e.g.
http://127.0.0.1:3000). - Copy the one-time install command and run:
sudo bifrost tunnel install <token>
The token embeds the Bifrost WebSocket URL and auth secret. Local upstream URLs are not passed on the CLI — they come from the console on each request.
You can install multiple tokens on one Mac; each gets its own LaunchDaemon and instance id.
Commands
sudo bifrost tunnel install <token> # add/replace one instance
bifrost tunnel list # id, state, url, logs path
bifrost tunnel logs <id> # last lines of that instance
bifrost tunnel logs <id> -f # follow logs
sudo bifrost tunnel uninstall <id> # remove one instance
sudo bifrost tunnel uninstall --all # remove every instance
bifrost version
list example:
a1b2c3d4e5f6
state: running
url: wss://bifrost.enfeca.cloud/api/v1/tunnel/connect
logs: /Library/Logs/bifrost-tunnel-a1b2c3d4e5f6.log
Per-instance paths:
- Config:
/Library/Application Support/bifrost/instances/<id>/config.json - Logs:
/Library/Logs/bifrost-tunnel-<id>.log - LaunchDaemon:
com.bifrost.tunnel.<id>
A pre-0.2.0 install appears as instance id legacy.
Develop
python -m venv .venv
source .venv/bin/activate
pip install -e .
bifrost version
bifrost tunnel list
Publish
Repo: https://github.com/eskeon/bifrost-agent
Tag a release (v*); GitHub Actions builds and publishes to PyPI as bifrost-agent.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bifrost_agent-0.2.0.tar.gz.
File metadata
- Download URL: bifrost_agent-0.2.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d5cb69efcaad8e3a906872edc2bb18f20d6b9a5262951528e3c63608c394fe5
|
|
| MD5 |
ac7c049385430e4570f6cd6b99ab8c54
|
|
| BLAKE2b-256 |
c4eb332494f1f3f68144bb67515075163e0284572c0b35ee60aff012f1991b6c
|
Provenance
The following attestation bundles were made for bifrost_agent-0.2.0.tar.gz:
Publisher:
publish.yml on eskeon/bifrost-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bifrost_agent-0.2.0.tar.gz -
Subject digest:
3d5cb69efcaad8e3a906872edc2bb18f20d6b9a5262951528e3c63608c394fe5 - Sigstore transparency entry: 2351042711
- Sigstore integration time:
-
Permalink:
eskeon/bifrost-agent@aeede11eac18539097da536886d6b620e20faa1b -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/eskeon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@aeede11eac18539097da536886d6b620e20faa1b -
Trigger Event:
push
-
Statement type:
File details
Details for the file bifrost_agent-0.2.0-py3-none-any.whl.
File metadata
- Download URL: bifrost_agent-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85200bc4fc95e2edd51eb2c9ed6c697853648a6d6895662f4b08acd1fd89c3c7
|
|
| MD5 |
41fc883022cc4ebd3d01d4c321553868
|
|
| BLAKE2b-256 |
d19d0fe82c47131718ebad979e58d49a3dc8d3b17f6fdaa7675377f55f6fba34
|
Provenance
The following attestation bundles were made for bifrost_agent-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on eskeon/bifrost-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
bifrost_agent-0.2.0-py3-none-any.whl -
Subject digest:
85200bc4fc95e2edd51eb2c9ed6c697853648a6d6895662f4b08acd1fd89c3c7 - Sigstore transparency entry: 2351043343
- Sigstore integration time:
-
Permalink:
eskeon/bifrost-agent@aeede11eac18539097da536886d6b620e20faa1b -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/eskeon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@aeede11eac18539097da536886d6b620e20faa1b -
Trigger Event:
push
-
Statement type: