[UNTESTED] [VaseGod/Aegis-Gateway] 1 endpoint(s)
ChatGPT
API Proxy/ChatGPT
1,746 characters
Status: [UNTESTED]
Endpoints found:
http://localhost:8000/v1/chat/completions
Source: https://github.com/VaseGod/Aegis-Gateway
# Aegis Gateway
A lightweight, high-performance local proxy server built with Python, FastAPI, and AsyncIO.
It sits between developer environments/agent CLI harnesses and upstream LLM providers to dynamically route requests to optimize cost and performance while logging task execution failures.
## Features
- **Core API Proxy Layer**: Reverse proxy for `/v1/chat/completions` and `/v1/messages`.
- **Session & KV-Cache Tracker**: Tracks context window warmth to avoid unnecessary cache re-population latency.
- **Step-Wise Route Decision Engine**: Dynamically routes based on prompt complexity.
- **Failure Trajectory Collector**: Logs failed executions to `./logs/failures/`.
## Setup
1. Install dependencies:
```bash
pip install -r requirements.txt
```
2. Run the proxy server:
```bash
uvicorn src.proxy.server:app --reload
```
## Usage
Point your agents or CLI tools to use `http://localhost:8000` as the base URL.
**For OpenAI clients:**
```bash
export OPENAI_BASE_URL="http://localhost:8000/v1"
```
**For Anthropic clients:**
```bash
export ANTHROPIC_BASE_URL="http://localhost:8000/v1" # Aegis Gateway handles routing the /messages endpoint
```
Example request:
```bash
curl -X POST http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "Hello!"}]
}'
```
--- README.MD ---
404: Not Found
--- Readme.md ---
404: Not Found
--- README.txt ---
404: Not Found
--- readme.txt ---
404: Not Found
--- README.rst ---
404: Not Found