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.3-py3-none-win_amd64.whl (15.9 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.28+ x86-64

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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

vifu-0.1.3-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.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: vifu-0.1.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 15.9 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.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3e0b8b99fcb02dc3a3ca7b7fe4a4f63f945bb70e80bfe11274c8c9e86f2dc403
MD5 b6450f08a0c970145dd86d866fa29655
BLAKE2b-256 57858743ebf867030f22459a826588da1f9a8d34eafcdc4530e59c8589f74efe

See more details on using hashes here.

Provenance

The following attestation bundles were made for vifu-0.1.3-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.3-py3-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: vifu-0.1.3-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.3-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2708b6eb461fbc0ee6168daafe5d6b87ae30368ca53d6577cde67fb837c1aa37
MD5 878ae3b3a7e168f62dffd0e150707d02
BLAKE2b-256 1a86f87890ee3a97911d628587d01b6856b509b78c45286f582401570e77320b

See more details on using hashes here.

Provenance

The following attestation bundles were made for vifu-0.1.3-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.3-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for vifu-0.1.3-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8b56cdf8f6e53b340ce014e475ff5643d19bfc00201b5a0b6abd7974c832c318
MD5 60e41db15a480634a1ebb6ee58367a7e
BLAKE2b-256 8be137f167a20dcf725913bfdb1aab5fd90f438dc365a03820f84887ee9813ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for vifu-0.1.3-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.3-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: vifu-0.1.3-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.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 61439db6defdb9dc072b5b1f11a2666e054c405f9453072bb62ada561b72631c
MD5 3753d287894e856a438152976cac0c35
BLAKE2b-256 d56b2d5de68628c7cf8c26009547d32c9a5aa267403da385ae1c2838bb93f63a

See more details on using hashes here.

Provenance

The following attestation bundles were made for vifu-0.1.3-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.3-py3-none-macosx_10_12_x86_64.whl.

File metadata

  • Download URL: vifu-0.1.3-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.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e336b678967a8f12f51edddc7acaafeef19d088fff7c2ac773ba697a7dc00c9c
MD5 1a50444e18f393103dbd10ddccf0a716
BLAKE2b-256 56dd62c6be1cb51dca08168b55363da12a8cdcf96ea1102cccf69c0b259b77d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for vifu-0.1.3-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

0.1.4

5 files

This release

0.1.3 This release

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