AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Open-source platform for building and running AI agents. TypeScript monorepo. SDK and client libraries MIT-licensed; server components AGPL-3.0.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Shogo is an open-source platform for building AI agents that do real work:
reading from your systems, taking actions, and running workflows end to
end. TypeScript throughout. Self-host it or use Shogo Cloud.
Shogo combines a Hono API, Expo-based clients, agent runtimes, project
runtimes, and a developer SDK into one platform for building and operating
agentic products.README 전문 보기 ↗Shogo is an open-source platform for building AI agents that do real work: reading from your systems, taking actions, and running workflows end to end. TypeScript throughout. Self-host it or use Shogo Cloud.
Website · Launch Studio · Documentation
Shogo combines a Hono API, Expo-based clients, agent runtimes, project runtimes, and a developer SDK into one platform for building and operating agentic products.
License: the SDK and client libraries you actually integrate
(@shogo-ai/*, plus the mobile/desktop clients) are MIT. The server
components behind Shogo Cloud (apps/api/, packages/agent-runtime/,
packages/shared-runtime/) are AGPL-3.0-or-later — a moat against hosted
resellers, not a restriction on your own use, modification, or
self-hosting. Full breakdown in Open Source Model
below and docs/LICENSING.md.
There's no one-command quickstart yet. Running Shogo locally means cloning the repo, installing with Bun, starting Postgres/Redis/MinIO in Docker, and running migrations — realistically a few minutes, not 60 seconds. The real steps are in Local development below.
Shogo uses a split-license model. AGPL-3.0-or-later guards the cloud-service surface a competitor would need to ship a hosted clone; everything else is MIT so adoption is friction-free.
apps/api/, packages/agent-runtime/,
packages/shared-runtime/@shogo-ai/* libraries, apps/mobile/, apps/desktop/,
packages/shared-app/, packages/shared-ui/, packages/ui-kit/,
packages/domain-stores/, templates/runtime-template/apps/docs/, docs/terraform/, k8s/, deploy-examples/,
.github/workflows/ (see INFRASTRUCTURE-LICENSE.md)See docs/LICENSING.md for the full strategy and
rationale, plus LICENSE, NOTICE, INFRASTRUCTURE-LICENSE.md, and
TRADEMARK.md.
License is shown inline so the AGPL/MIT boundary is visible at a glance.
| Path | License | Purpose |
|---|---|---|
apps/api/ | AGPL | Hono API server, auth, billing, runtime orchestration |
apps/mobile/ | MIT | Expo app for web, iOS, and Android |
apps/desktop/ | MIT | Local desktop distribution |
apps/docs/ | CC BY 4.0 | Documentation site |
packages/sdk/ | MIT | Client SDK; back-compat shims for moved subpaths |
packages/core/ | MIT | Logger, OTEL instrumentation, stream-buffer, chat-message |
packages/agent/ | MIT | Agent loop, model router, hooks, pi-ai adapter |
packages/db/ | MIT | Prisma adapter helpers (PG / SQLite / libSQL) |
packages/email/ | MIT | Transactional email (SES / SMTP / OCI) |
packages/voice/ | MIT | ElevenLabs + Twilio voice infra; React + RN UI |
packages/cli/ | MIT | validateManifest / runDeploy / pkg helpers |
packages/shogo-worker/ | MIT | shogo-worker self-host CLI |
packages/model-catalog/ | MIT | Thin re-export shim (workspace-only) |
packages/agent-runtime/ | AGPL | Agent gateway, tools, integrations |
packages/shared-runtime/ | AGPL | Server-side glue (s3-sync, server framework) |
packages/shared-app/ | MIT | Shared app/domain logic |
packages/shared-ui/ | MIT | Shared UI components |
packages/ui-kit/ | MIT | Theme and routing helpers |
packages/domain-stores/ | MIT | Domain store layer |
Prerequisites:
bun install
cp .env.example .env.local
bun run docker:infra
bun run db:migrate:deploy
bun run build:packages
bun run dev:all
Open http://localhost:8081.
Shogo can be self-hosted locally or on your own infrastructure. For setup
details, required environment variables, storage, and deployment notes, see
docs/SELF_HOSTING.md.
Local desktop/offline usage is documented in apps/desktop/README.md.
Published to npm (MIT, lockstep release on the sdk-v* tag):
| Package | Description |
|---|---|
@shogo-ai/sdk | Client SDK — auth, db client, LLM gateway, voice client |
@shogo-ai/core | Logger, OTEL instrumentation, stream-buffer, chat-message |
@shogo-ai/agent | Agent loop, model catalog/router, hooks, pi-ai adapter |
@shogo-ai/db | Prisma adapter helpers (PG / SQLite / libSQL) |
@shogo-ai/email | Transactional email — SES / SMTP / OCI |
@shogo-ai/voice | ElevenLabs + Twilio voice; React + React Native UI |
@shogo-ai/cli | validateManifest / runDeploy / pkg helpers |
Old @shogo-ai/sdk/<subpath> imports keep working through deprecated
re-export shims; see packages/sdk/MIGRATION.md.
Workspace-only (AGPL):
| Package | Description |
|---|---|
@shogo/api | API server and platform orchestration |
@shogo/agent-runtime | Agent runtime and tool gateway |
@shogo/shared-runtime | Server-side glue used only by the AGPL surface above |
Workspace-only (MIT):
| Package | Description |
|---|---|
@shogo/mobile | Primary client app |
shogo | Desktop packaging layer |
@shogo/shared-app | Shared app/domain logic |
@shogo/shared-ui | Shared UI components |
@shogo/ui-kit | Theme and routing helpers |
@shogo/domain-stores | Domain store layer |
| Command | Description |
|---|---|
bun run dev:all | Start API and web app |
bun run dev:backend | Start API only |
bun run docker:infra | Start Postgres, Redis, and MinIO |
bun run db:migrate:deploy | Apply migrations |
bun run build | Build the monorepo |
bun run build:packages | Build all 7 published @shogo-ai/* packages |
bun run build:sdk / :core / :agent / :db / :email / :voice / :cli | Build a single package |
bun run test | Run tests |
bun run typecheck | Run TypeScript checks |
bun run lint | Run linters |
CONTRIBUTING.md for contribution guidelinesCLA.md for contributor licensing termsSECURITY.md for responsible disclosureTRADEMARK.md for branding and name usagedocs/GETTING_STARTED.mddocs/ARCHITECTURE.mddocs/SELF_HOSTING.mdpackages/sdk/README.mdtemplates/runtime-template/ | MIT | Project template |