Skip to main content

Production probes + self-healing functions for Utopia — gives AI coding agents real-time visibility and auto-fixes errors at runtime

Project description

utopia-runtime

Zero-impact production probe runtime for Utopia.

Captures errors, API calls, database queries, function behavior, and infrastructure context — sending it to the Utopia data service so AI coding agents can understand how your code runs in production.

Installation

pip install utopia-runtime

Usage

Probes are added by utopia instrument — you don't typically import this directly. The runtime auto-initializes from .utopia/config.json in your project root.

import utopia_runtime

# Reports are non-blocking and never raise
utopia_runtime.report_function(
    file="app/routes.py",
    line=25,
    function_name="get_user",
    args=[{"user_id": 123}],
    return_value={"found": True},
    duration=15,
    call_stack=[],
)

Zero dependencies

Uses only the Python standard library. No external packages required.

Project details


Download files

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

Source Distribution

utopia_runtime-0.2.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

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

utopia_runtime-0.2.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file utopia_runtime-0.2.0.tar.gz.

File metadata

  • Download URL: utopia_runtime-0.2.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for utopia_runtime-0.2.0.tar.gz
Algorithm Hash digest
SHA256 30b12ce6cbbf71add2d669d661eeaabc4feb48d51094554e81d863ed3e16e259
MD5 23738362dddc491e4301d5316b08a855
BLAKE2b-256 d3f2575516f14dc32c9881ddbc34f149ff86aa2fd3cfbe87216af79d2bd84d62

See more details on using hashes here.

File details

Details for the file utopia_runtime-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: utopia_runtime-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for utopia_runtime-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cb8755e1b8438cb4b3ca161d714cf7bd13c49671e822d8c2d97174a17aed695
MD5 fe99c4e6aa7e23a4c027be907a4058b0
BLAKE2b-256 e28f0e5cff3db43eb40fa2e43e771328b801ffd3858eec6d7bcefc6382bfac0c

See more details on using hashes here.

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