InnerI commited on
Commit
ecac2a2
·
verified ·
1 Parent(s): e505e9b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -1
README.md CHANGED
@@ -10,4 +10,52 @@ pinned: false
10
  license: mit
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  license: mit
11
  ---
12
 
13
+ # Inner I Studio Admin-Locked + Monetization (HF All-in-One)
14
+
15
+ Single Hugging Face Space that includes:
16
+ - Public user signup/login + multi-agent chat workspace
17
+ - **Admin-only** control plane (Agents, Tools, Users, Audit)
18
+ - Policy enforcement (deny-by-default + sandbox)
19
+ - Schema-locked tool calls (vetted tool registry)
20
+ - Signed receipts + tamper-evident audit chain
21
+ - SQLite persistence (HF-friendly)
22
+ - **Stripe billing built-in** (subscription + optional credit packs) via Checkout + Webhooks
23
+
24
+ ## Deploy to Hugging Face
25
+ Create a **Gradio** Space and upload these files.
26
+
27
+ ### Set Secrets (recommended)
28
+ **Security**
29
+ - `INNERI_ADMIN_PASSWORD` (strong)
30
+ - `INNERI_JWT_SIGNING_KEY` (strong)
31
+ - `INNERI_RECEIPT_SIGNING_KEY` (strong)
32
+
33
+ **Stripe (optional, for charging)**
34
+ - `STRIPE_SECRET_KEY`
35
+ - `STRIPE_WEBHOOK_SECRET`
36
+ - `STRIPE_PRICE_PRO`
37
+ - `STRIPE_PRICE_CREDITS_STARTER / CREATOR / POWER` (optional)
38
+ - `PUBLIC_BASE_URL` (your Space URL)
39
+
40
+ Webhook endpoint:
41
+ - `POST /stripe/webhook`
42
+
43
+ ## Local run
44
+ ```bash
45
+ python -m venv .venv && source .venv/bin/activate
46
+ pip install -r requirements.txt
47
+ uvicorn app:app --host 0.0.0.0 --port 7860
48
+ ```
49
+
50
+
51
+ ## Baked Plans
52
+ - Free: Observer — 25 runs/day, low-risk tools
53
+ - Pro: Builder — 500 runs/day, medium-risk tools
54
+ - Enterprise: Sovereign — 5000 runs/day, high-risk tools
55
+
56
+ ## Stripe env vars (updated)
57
+ - STRIPE_PRICE_PRO
58
+ - STRIPE_PRICE_ENTERPRISE
59
+ - STRIPE_PRICE_CREDITS_STARTER
60
+ - STRIPE_PRICE_CREDITS_CREATOR
61
+ - STRIPE_PRICE_CREDITS_POWER