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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file utopia_runtime-0.3.0.tar.gz.
File metadata
- Download URL: utopia_runtime-0.3.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38d2a227516d77eba720a6525c0bc9a7b7df932536c49a89fc4536e7f1dabfe6
|
|
| MD5 |
d76198dc1fec4db67494f2e986a16456
|
|
| BLAKE2b-256 |
ab2139fe20272d15af1f24dd79fefd8216f28d4464490474ace1f53f3a636828
|
File details
Details for the file utopia_runtime-0.3.0-py3-none-any.whl.
File metadata
- Download URL: utopia_runtime-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d450ddcf2a3e2050f64390308dab14e8608852a77c92d2d05024c007ce17395
|
|
| MD5 |
23d300ea004dc7ed47d66e27ecd8db0e
|
|
| BLAKE2b-256 |
cf9de2a903c9bfeb6886628a417d60a5b83508d8869b1a6d769ca3a36382e76f
|