dumbtv
dumbtv가 ADB로 Fire TV에서 광고·추적·업데이트 알림을 제거, 루트·앱 변경 없이, 무료 오픈소스
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기5-minute AI gateway quickstart for Python — route OpenAI and Anthropic SDK traffic through identity, audit, policy, and kill-switch controls with a one-line change.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
AI gateway quickstart for Python — OpenAI & Anthropic compatible
Track, govern, and secure autonomous agents with exactly 1 line of code. Zero data-plane refactoring required.
Put an enforcement and observability layer between your Python application and OpenAI or Anthropic — identity, audit logging, spend limits, and kill switches — without rewriting your app.
After — route through an AI gateway (one-line change):
Your application keeps using the native OpenAI SDK. No model migration. No application rewrite. The gateway becomes the control point.README 전문 보기 ↗Track, govern, and secure autonomous agents with exactly 1 line of code. Zero data-plane refactoring required.
New Kimss gateway integration starts at control-plane ONBOARDING.md. This repo is a tutorial demo of the invisible-proxy pattern — not a second contract.
Put an enforcement and observability layer between your Python application and OpenAI or Anthropic — identity, audit logging, spend limits, and kill switches — without rewriting your app.
Before — call the provider directly:
from openai import OpenAI
client = OpenAI(api_key=OPENAI_API_KEY)
After — route through an AI gateway (one-line change):
from openai import OpenAI
client = OpenAI(
base_url="https://api.kimss.ai/v1",
api_key=KIMSS_API_KEY,
)
Your application keeps using the native OpenAI SDK. No model migration. No application rewrite. The gateway becomes the control point.
Clone and run a local gateway simulator (no Kimss signup, no provider key, no network beyond localhost):
git clone https://github.com/kimss-ai/kimss-python-quickstart.git
cd kimss-python-quickstart
pip install -r requirements.txt
python demo_local_gateway.py
Expected output:
[ok] Request authenticated
[ok] Agent identified
[ok] Policy evaluated
[ok] Request routed
[ok] Audit event recorded
--- assistant reply ---
This reply came from the local gateway simulator — no provider was called.
Note:
demo_local_gateway.pysimulates the gateway contract on loopback. It is not Kimss itself and does not call any model provider. Use the 3-step setup below to route real traffic.
Try enforcement modes:
KIMSS_DEMO_MODE=kill_switch python demo_local_gateway.py # 403 agent_disabled
KIMSS_DEMO_MODE=exhausted python demo_local_gateway.py # 429 governed_requests_exhausted
AI agents increasingly have access to production APIs, databases, and internal tools. The model is only one part of the system.
This quickstart demonstrates how to insert an enforcement and observability layer between your application and the model provider — without rewriting the application. Kimss provides the gateway implementation; this repo shows the integration pattern.
example_02_openai_override.py — point the official openai client at the gateway with base_url + Agent-Id headers.
python example_02_openai_override.py
| # | Script | What it proves |
|---|---|---|
| 2 | example_01_gateway_proxy.py | Raw HTTP / Kimss SDK path |
| 3 | example_03_kill_switch_and_429.py | Kill switch + monthly cap errors |
Create Free Account →. Open Governance → Connected Infrastructure and vault your provider endpoint + key.
Gateway → Generate Key at https://kimss.ai/app/keys. Copy kimss_... into KIMSS_API_KEY (alias KIMSS_WORKSPACE_KEY). Pick a stable agent_id slug for X-Kimss-Agent-Id — the Agents inventory row appears after the first attributed call (JIT). You do not need to pre-register the agent in the UI.
git clone https://github.com/kimss-ai/kimss-python-quickstart.git
cd kimss-python-quickstart
pip install -r requirements.txt
cp .env.example .env # KIMSS_WORKSPACE_KEY / KIMSS_API_KEY, KIMSS_AGENT_ID, KIMSS_MODEL
python example_02_openai_override.py
Open Gateway → Recent calls to see the governed audit trail.
Dual-listener: OpenAI (/v1/chat/completions) and Anthropic (/v1/messages). Keep your native SDK.
import os
from openai import OpenAI
client = OpenAI(
base_url=os.getenv("KIMSS_GATEWAY_URL", "https://api.kimss.ai/v1"),
api_key=os.getenv("KIMSS_API_KEY") or os.getenv("KIMSS_WORKSPACE_KEY"),
)
resp = client.chat.completions.create(
model=os.getenv("KIMSS_MODEL", "custom:your-vaulted-model"),
messages=[{"role": "user", "content": "Hello via Kimss"}],
extra_headers={
"X-Kimss-Agent-Id": os.getenv("KIMSS_AGENT_ID", "my_agent"),
"X-Kimss-Agent-Name": os.getenv("KIMSS_AGENT_NAME", "My Agent"),
},
)
| Symptom | Likely cause | Fix |
|---|---|---|
401 / invalid API key | Wrong or missing KIMSS_WORKSPACE_KEY | Mint a new key under Gateway → Generate Key |
400 / missing agent | No X-Kimss-Agent-Id header | Set KIMSS_AGENT_ID and pass it via extra_headers |
403 / agent_disabled | Kill switch is on | Re-enable the agent under Agents (/app/agents) |
429 / governed_requests_exhausted | Monthly allowance reached | Wait for reset or upgrade at kimss.ai/pricing |
| Model not found | Model not vaulted | Vault the provider endpoint + model under Governance → Connected Infrastructure |
AI_INTEGRATION.md · local AI_INTEGRATION.mdMIT — see LICENSE.