Skip to content
System One

kxzk/typesafe-jev-drone-demo

Three.js drone simulation with a typed Python and FastAPI backend where jev-latest chooses each navigation action. The Choice distribution, Noul obstruction estimate, confidence, latency and the exact model input and output are visible beside the flight.

kxzk/typesafe-jev-drone-demo on GitHub

Stars
1
Forks
0
Language
Python
Last push
17 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

started = time.monotonic()
for attempt in range(3):
    try:
        response = await self.client.post(
            "https://api.typesafe.ai/v1/systemone",
            headers={"Authorization": f"Bearer {self.settings.typesafe_api_key}"},
            json=payload,
        )
    except httpx.RequestError as error:
        raise NavigationError(
            "TypeSafe could not be reached. Flight paused; try again."
        ) from error
    if response.status_code in {429, 529} and attempt < 2:
        await asyncio.sleep(2**attempt)
        continue

View in backend/jev.py

Open on GitHub

PrimitivesChoiceNoul

More like this

Use cases this is tagged with