Skip to main content

Vifu Python SDK

The Python SDK embeds the Vifu Runtime, Agent Gateway, and local Server. Python functions can become local Agent providers. Vifu("name") creates or reopens one real App in the personal Server and records its project binding in .vifu/app.json.

Create an environment and install Vifu:

python3 -m venv .venv
. .venv/bin/activate
python -m pip install vifu

The wheel contains the generated UniFFI binding, native Rust library, and the same complete Vifu binary distributed in Vifu releases. That binary includes the Server, Dashboard, TUI, Gateway, SQLite storage, and Runtime APIs. The Python API calls the Runtime in the application process. It reuses a running local Server or starts the bundled binary in Server-only mode.

The public API provides:

  • Vifu for App identity, Agent registration, local Server connection, invocation, tracing, and remote calls.
  • VifuRuntime for persistent Runtime state, Agent registration, invocation, snapshots, and pending traces.
  • AgentTrace for activity, output deltas, and typed provider stages.
  • VifuGateway for explicit remote enrollment and advanced Gateway control.
  • VifuServer for advanced control of the bundled Vifu Server process.
  • VifuServerConfig for typed local Server startup configuration from Python.

Start with the Python tutorial. Runnable framework integrations are available for Google ADK and Foundry Local.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

vifu-0.1.4-py3-none-win_amd64.whl (16.0 MB view details)

Uploaded Python 3Windows x86-64

vifu-0.1.4-py3-none-manylinux_2_28_x86_64.whl (18.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

vifu-0.1.4-py3-none-manylinux_2_28_aarch64.whl (17.7 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

vifu-0.1.4-py3-none-macosx_11_0_arm64.whl (16.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

vifu-0.1.4-py3-none-macosx_10_12_x86_64.whl (17.2 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file vifu-0.1.4-py3-none-win_amd64.whl.

File metadata

  • Download URL: vifu-0.1.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 16.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vifu-0.1.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9a5a801b86582fad6b401f0b1cf192e67ec997a7f60dd793308775b0dcc83d0f
MD5 2740383783936de64e5222252f6561e8
BLAKE2b-256 b8d35681aa22afe3d7147bf61a7c3ec0fb94a8ba71cadaf1116a1d48cce97f75

See more details on using hashes here.

Provenance

The following attestation bundles were made for vifu-0.1.4-py3-none-win_amd64.whl:

Publisher: release-python.yml on vifudotdev/vifu

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

File details

Details for the file vifu-0.1.4-py3-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: vifu-0.1.4-py3-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 18.1 MB
  • Tags: Python 3, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vifu-0.1.4-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3a493c0dba94cdc9481573116e6b4c90ef59cfa1be2768f87a364b7c3ba5f9d8
MD5 a4427691179ce79a3ba6e13efaefad7c
BLAKE2b-256 8104b75d3abac06abff2efdb1e2a6d11009704cdfd003748730b104598b37c1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for vifu-0.1.4-py3-none-manylinux_2_28_x86_64.whl:

Publisher: release-python.yml on vifudotdev/vifu

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

File details

Details for the file vifu-0.1.4-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for vifu-0.1.4-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 473886f7828073082d981746c4fc96c04eb2ddcd0ea2b97d3a45dd476d1235b8
MD5 6d3a345d07ed8209a552af854e4a2be4
BLAKE2b-256 b9d49ec7f72ea9887e4c122b9d5310132b2559a599a1ae18bd975bef17f59bb1

See more details on using hashes here.

Provenance

The following attestation bundles were made for vifu-0.1.4-py3-none-manylinux_2_28_aarch64.whl:

Publisher: release-python.yml on vifudotdev/vifu

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

File details

Details for the file vifu-0.1.4-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: vifu-0.1.4-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 16.4 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vifu-0.1.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f9392b9cfb9f31e9e9e920d83062dd79a4d896fc4897f2837a43049bd9279e0a
MD5 c344d7c4a39a4ee10cf9da8cd2d21e17
BLAKE2b-256 320bd1c2fa969ad491d08cf57218dcfb5b517e71e4a22976f15b6c4f9639cc34

See more details on using hashes here.

Provenance

The following attestation bundles were made for vifu-0.1.4-py3-none-macosx_11_0_arm64.whl:

Publisher: release-python.yml on vifudotdev/vifu

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

File details

Details for the file vifu-0.1.4-py3-none-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: vifu-0.1.4-py3-none-macosx_10_12_x86_64.whl
  • Upload date:
  • Size: 17.2 MB
  • Tags: Python 3, macOS 10.12+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for vifu-0.1.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8d5445a3d3e7ea628f226d017ff6bcc47e7ea109bec182987f918c53e7a096de
MD5 01212e5d7749266e890ca195978b59ac
BLAKE2b-256 1fb268ec31e929c032ee02e2fcc9dbc5073807004153fef95d14d7f7cfefa7ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for vifu-0.1.4-py3-none-macosx_10_12_x86_64.whl:

Publisher: release-python.yml on vifudotdev/vifu

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

Release history Release notifications | RSS feed

0.1.7

5 files

0.1.6

5 files

0.1.5

5 files

This release

0.1.4 This release

5 files

0.1.3

5 files

0.1.2

5 files

0.1.1

5 files

0.1.0

5 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page