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.3.tar.gz (5.4 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.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gateagent-0.1.3.tar.gz
  • Upload date:
  • Size: 5.4 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.3.tar.gz
Algorithm Hash digest
SHA256 0bc2cff66d8eb11549848f069f132ee0bff6ea6d9a42e2243aa881cf5e78b10a
MD5 db60d1509cc662c6295bd8e629ad8cdd
BLAKE2b-256 5ed29a6df9bbc959231ccf2256b2708a36ab7d3803f3ccd03a0e3e3a9cec1817

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gateagent-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2cb488c9b62d58aaf4e5fd2665f833a310e8fd46e31ce59ea1a6d00e40c10812
MD5 3d09cc539777d1bea3282dcda75d7ee9
BLAKE2b-256 f8d2601dbfd3a1e745940a02d1cab64d43fc2b93de7e76c7d88726ee0f2c5884

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