The Visor Development Kit in Python.
Meta glasses from your scripts and agents, over adb or the network, through Visor.
Install | Connect | Use it | Layouts | Testing
Call any method of the VDK, follow its topics and read its feeds: the glasses' status, the camera, the Display,
the Neural Band, voice and the assistant. All of it is asyncio.
Install
pip install visor-kit # over adb
pip install "visor-kit[network]" # also the network door and visor fake
From a clone of visor-kit: pip install "./clients/python[network]".
Connect
import asyncio
import visor_kit
async def main():
async with await visor_kit.connect_adb() as visor:
print(await visor.call("glasses.status"))
async for gesture in visor.subscribe("band.gestures"):
print(gesture["finger"], gesture["derived"])
asyncio.run(main())
| Connect with | What it needs | Scopes |
|---|---|---|
connect_adb(serial=None) |
adb, and Developer mode on in Visor | Every scope |
connect_network("ws://127.0.0.1:7333/rpc", token) |
A client the person made in Visor's Advanced settings, under Network access, and the network extra | That client's |
connect_fake() |
visor fake running on this computer, and the network extra |
The ones the fake grants |
Use it
call(method, params)returns the result.subscribe(topic, params)yields events, and subscribes when the iteration starts.open(topic, params)subscribes first and returns aStreamto iterate andaclose(), for events that follow something you do.feed(name, params)yields a feed's records as(header, payload), the payload as bytes.supports(name)says whether this Visor answers a method, topic or feed;welcomeholds its whole hello.
All of them raise VisorError, whose code and reason are the VDK's. Every method and topic works this way, by
its name, with the scopes the connection holds. The JSON-RPC docs
list them all, and openrpc.json
describes them for tools.
Layouts and Briefing cards
visor_kit.layout builds layouts and Briefing cards for the Display as plain dicts, with the same pieces as the
Kotlin builder. Fields take snake_case: max_lines=1 is maxLines.
from visor_kit.layout import card, header, stat, progress, page, chart, field
await visor.call("display.cards.set", card(
"pasta", "Kitchen timer",
header("Kitchen timer", icon="clock"),
stat("4:00", "Pasta"),
progress(0.6),
icon="clock",
pages=[page(field("Started", "19:42")), page(chart([20, 60, 95, 100]))],
))
It has column, row, text, image, icon, button, buttons, video, chart, pager and page, and the
blocks header, stat, change, field and progress. image_file(path) turns a photo into a data: URI for
image(); Visor scales it to the Display.
Test without the glasses
visor fake runs a fake Visor on your computer, with a Display simulator in the browser that draws your layouts and
cards. Connect to it with connect_fake(). Install the command with one line:
curl -fsSL https://visor.macedonga.com/install.sh | sh # macOS and Linux
irm https://visor.macedonga.com/install.ps1 | iex # Windows
Docs
- The network door: tokens, scopes and MCP
- Testing: the
visorcommand andvisor fake - AI-assisted development: a prompt that sets up your agent
- All the docs
License
Apache 2.0.
Metadata
Release files for visor-kit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| visor_kit-0.1.0.tar.gz | 49.0 kB | With provenance | Details for visor_kit-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| visor_kit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for visor_kit-0.1.0-py3-none-any.whl |
Total release size: 62.3 kB
Release files / visor_kit-0.1.0.tar.gz
| Download URL | visor_kit-0.1.0.tar.gz |
|---|---|
| Size | 49.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c27034fa10fb40d349399d6a5ff49a569788accc48d7eb68f60875ec5b802243
|
|
BLAKE2b-256 checksum How to use checksums |
d1ffb56492b5fe83a649709f05220271bdc4ec99d4a4633e4420f9400fba569d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / visor_kit-0.1.0-py3-none-any.whl
| Download URL | visor_kit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b64ecc257128ef76fae024deb7c09666e0e08fd4b74d5616b9b607c79558a94
|
|
BLAKE2b-256 checksum How to use checksums |
0049e6a57bd177d047b760503e5e504b1292e9e4763ecb63d72133c69cada0ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logSecurity for visor-kit 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for visor_kit-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.