Skip to main content

Corp Error Agent

A lightweight runtime agent that captures uncaught exceptions and environment snapshots.

Install this in your project to capture errors and send them to a backend for further processing and fix suggestions.

Backend URL Configuration

The backend URL defaults to http://127.0.0.1:8000, but you can change it in two ways:

  1. Environment Variable (recommended for quick changes):

    • Set the environment variable ERROR_AGENT_URL to your backend URL before running your Python process.
      • On Windows (cmd): set ERROR_AGENT_URL=http://your-backend:port
      • On PowerShell: $env:ERROR_AGENT_URL="http://your-backend:port"
      • On Unix/bash: export ERROR_AGENT_URL=http://your-backend:port
  2. Persistent CLI Configuration:

    • Use the provided CLI helper to set the backend URL once per machine:
      python -m corp_error_agent.cli configure --url http://your-backend:port
      
    • This stores the URL in a user config file for persistent use.

Telemetry Server

You can use or further customize the corp_error_agent_server Django REST project as a telemetry server for this package.


Metadata

Release files for corp-error-agent 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for corp-error-agent 0.4.2
File Size Uploaded
corp_error_agent-0.4.2.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for corp-error-agent 0.4.2
File Interpreter ABI Platform
corp_error_agent-0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / corp_error_agent-0.4.2.tar.gz

Download URL corp_error_agent-0.4.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aada24a4f5316bac2cb39ad361a71c81136ddd4aa5076daaff7d7a4cf9eeceff
BLAKE2b-256 checksum
How to use checksums
340775b83d99798ef61031929a2e6ac63dd453048e9e62a226ce6da67955d2cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Release files / corp_error_agent-0.4.2-py3-none-any.whl

Download URL corp_error_agent-0.4.2-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff0c8895a4d7ce99d1753223a8c6706a14584649d5e09cde21c569960482bc07
BLAKE2b-256 checksum
How to use checksums
0ba0b31a8a5e5f47d5f86449c721cdeeac3cbb843b02473855cced7e4add1487
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release 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