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.0.tar.gz (5.7 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.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gateagent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2a932ab545ab0e60c10e70e439dcafa35fd6a9fd3abdfdca92c293cce411fed3
MD5 445c54a34bf7f9f78287671fd4b55cfa
BLAKE2b-256 05b3ed7d608678ff1bffbae9de7560d9064ea1fbfbffd9ec6e19fb7d379e5eae

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gateagent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a11643699b6d8e035f43e664f20589312b341226585d34e92efd99687d523208
MD5 8cdc2e36797c1442df7e1b4172b4c0be
BLAKE2b-256 17a088f0907a4fa8bfc32e9661f602ad06faa8bc2a6c4d62cc258df50b8846e2

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