Skip to main content

Local gateway for collecting and managing agent events with Google Sheets integration

Project description

Revert Gate

A local gateway server for collecting and managing agent events with Google Sheets integration.

Features

  • FastAPI-based REST API for tracking agent events
  • SQLite database for event storage
  • Google OAuth2 authentication
  • Google Sheets integration for data export
  • Simple CLI to start the server

Installation

pip install revert-gate

Usage

Start the gateway server:

revert-gate

The server will start on http://0.0.0.0:5001

API Endpoints

  • GET /api/healthcheck - Health check endpoint
  • POST /api/track - Track agent events
  • GET /api/events - Retrieve tracked events
  • GET /api/auth/google/url - Get Google OAuth URL
  • GET /api/auth/google/callback - OAuth callback handler

Configuration

Set your Google OAuth credentials in src/google_oauth.py:

GOOGLE_CLIENT_ID = "your-client-id.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET = "your-client-secret"

Development

Install with dev dependencies:

pip install -e ".[dev]"

License

MIT

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

gateagent-0.1.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

gateagent-0.1.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file gateagent-0.1.2.tar.gz.

File metadata

  • Download URL: gateagent-0.1.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for gateagent-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2799ca55cabe98731cd36a2e0da6fac11e9ca1d24bbcbb1bb79ef773d9c8a6ab
MD5 27764b64d409319033b2534d75804fb5
BLAKE2b-256 930aa3c5622cb543d193318d754badf1b815365d26e086bd28031aa68f59ff3e

See more details on using hashes here.

File details

Details for the file gateagent-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gateagent-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for gateagent-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 389235cdb4e6e33a5aa5ab20295b3a84e13fce951c59df5fc8484fd3545012f9
MD5 dbf8ddc565a35b02dce25d6385e1006e
BLAKE2b-256 306281b75035e2801a6864d44b4960c7bb2277bfbf4ecc50cb67b96eacac213b

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