Skip to main content

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

  1. In Bifrost Console → Tunnels, create a tunnel and attach a path route (set Local URL there, e.g. http://127.0.0.1:3000).
  2. 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

State uses a green ● when the LaunchDaemon is running, red ● when stopped.

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

bifrost_agent-0.2.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bifrost_agent-0.2.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file bifrost_agent-0.2.1.tar.gz.

File metadata

  • Download URL: bifrost_agent-0.2.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for bifrost_agent-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e6ac8e59b5ef3e6956e1223a3b2fd355fcbb3844c5f2a4a6f92acbb5d2e4c0f9
MD5 17f2572f8103294d81fe0e4bd0bf0e20
BLAKE2b-256 7f8a4ffa6f197cb1ba2e4d782b2559da690957562f7fa21a8b9fef9ffede8ee9

See more details on using hashes here.

Provenance

The following attestation bundles were made for bifrost_agent-0.2.1.tar.gz:

Publisher: publish.yml on eskeon/bifrost-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bifrost_agent-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: bifrost_agent-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for bifrost_agent-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7e5be833ab1134f3d4a39ac075bdf3e66c1507d5fc8d1fe58f2703bd34c1fa9
MD5 6c2633eaa98e01d7aca9edacca48c907
BLAKE2b-256 193bdbee6e20264bb2b655709199e38bfa016c2b1f09ac7488960f6fb3ffb72d

See more details on using hashes here.

Provenance

The following attestation bundles were made for bifrost_agent-0.2.1-py3-none-any.whl:

Publisher: publish.yml on eskeon/bifrost-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page