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 endpointPOST /api/track- Track agent eventsGET /api/events- Retrieve tracked eventsGET /api/auth/google/url- Get Google OAuth URLGET /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
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 gateagent-0.1.1.tar.gz.
File metadata
- Download URL: gateagent-0.1.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68af486cb7ce362221e154f6c4c420b6a247fb15ff7a8865e6dd0ca4b8be73ab
|
|
| MD5 |
2542602422030882407b1f8989511f7a
|
|
| BLAKE2b-256 |
3ae6afcb01c6b8ac13440dbef7dc9f04395d1ebbbde64380c997d8aa5c852183
|
File details
Details for the file gateagent-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gateagent-0.1.1-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.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ac94822322c94ccb033fdf40e84f54ce82a49628eda98a3a835ab8f81f5cee7
|
|
| MD5 |
50320445c791bce84b21f897c185f772
|
|
| BLAKE2b-256 |
c9920901ce45f9d8c1d049d31d54c22c848559a401392edf701621da51e34b06
|