Platform Overview
SkyKoi as the orchestration layer for kois on dedicated EC2 instances.
SkyKoi sits between your business and the cloud infrastructure. It's the orchestration layer that turns "I want a koi" into a fully provisioned, dedicated server running your personal assistant.
Architecture Diagram
text
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SKYKOI PLATFORM โ
โ โ
โ Dashboard โโโถ API โโโถ EC2 Provisioner โ
โ โ โ โ
โ โ Clerk Auth ยท Stripe Billing โ
โ โ โ โ
โ โผ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ AWS Infrastructure โ โ
โ โ EC2 Instances (t3.small) โ โ
โ โ IAM Instance Profiles โ โ
โ โ Security Groups โ โ
โ โ User-Data Provisioning โ โ
โ โโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโโโโผโโโโโโโโโ โ
โ โผ โผ โผ โ
โ โโโโโโ โโโโโโ โโโโโโ Dedicated Instances โ
โ โEC2 โ โEC2 โ โEC2 โ (1 per user) โ
โ โ #1 โ โ #2 โ โ #3 โ โ
โ โโโโโโ โโโโโโ โโโโโโ โ
โ โ โ โ โ
โ Koi Koi Koi (Claude Opus 4.6 โ
โ via AWS Bedrock) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโWhat SkyKoi Manages
- โขEC2 Provisioning โ Launches dedicated t3.small instances with Ubuntu 22.04 and a user-data script that installs everything automatically
- โขConfig Generation โ
config-generator.tscreates valid koi config with Bedrock model config, token auth, and Gateway settings - โขWorkspace Provisioning โ Seeds koi workspaces with KOIS.md, SOUL.md, USER.md, TOOLS.md, and IDENTITY.md
- โขTLS & Networking โ nginx reverse proxy with self-signed TLS (port 443 โ localhost:18789)
- โขIAM & Security โ Instance profile
skykoi-tenant-koi-profilefor Bedrock access, security groups for network control - โขBilling โ Maps Stripe subscriptions to resource allocation and usage tracking
- โขMonitoring โ Tracks Gateway health, koi status, and token usage
What the Koi Runtime Handles
- โขGateway Daemon โ Long-lived systemd service managing the WebSocket API, message routing, and session state
- โขKoi Runtime โ Claude Opus 4.6 via AWS Bedrock with workspace files, JSONL sessions, tools (exec/read/write/browser/etc.), and skills
- โขMessage Processing โ Queuing, debouncing, streaming, block chunking, and delivery
- โขAutomation โ Heartbeats, cron jobs, and proactive koi actions
- โขTool Execution โ Full shell access (
exec.security: "full"), web browsing, file operations, and more
๐กSkyKoi adds the business layer (auth, billing, provisioning, monitoring) on top of the koi engine. The koi runtime provides full-featured capabilities out of the box.
