Skip to content
项目

关于

Say yes to non-technical employees building useful internal tools with AI. Set it up once, and manage policies as code. They build from whatever builder they want.

安全与隐私

这些数字如何统计

73 星标7 复刻 +2 24小时

实测星标增长

24小时
+2
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Kuriko

Kuriko

Say yes to non-technical employees building useful internal tools with AI. Set it up once, and manage policies as code. They build from whatever builder they want.


License: Apache 2.0 npm npm downloads CI PRs welcome OpenSSF Scorecard

Google Cloud AWS coming soon Azure coming soon

Claude MCP PostgreSQL BigQuery Snowflake

Website · Docs · Quick start · Security · Contributing


Demo: an admin installs Kuriko with kuriko install, someone signs in with their work account, asks Claude for a tool and shares it with their team


People build tools in the AI they already use (Claude Code, Codex, Cursor and others). Kuriko hosts those tools, signs people in with their company accounts, connects tools to company data with each person's own access, and keeps them running, without the technical team babysitting. Self-host it in your own cloud for free, or let Kuriko run it for you.


Build with the AI you already useConnect Claude Code, Codex, Cursor or another MCP app and ask for a tool. Kuriko builds it, gives you a preview, and publishes it when you say so.
Your cloud or oursSelf-host it in your own Google Cloud project (AWS and Azure are coming), or let Kuriko run it for you, in a project of its own. People sign in with Google Workspace; managed installs also take Okta, Entra ID or another OIDC provider.
Company data, safelyTools read Postgres, BigQuery, Snowflake and JSON APIs only through Kuriko's gateway, as each viewer, with their grants, masking and row rules. Tools never hold a credential, and every read is in the audit log.
Shared like a documentShare a tool with people, teams or everyone, as viewers or editors. Admins can require a review before a tool is shared with everyone.
Deploys you can undoEvery deploy is a preview first. Publishing moves traffic; rolling back moves it back.
Access as codeRoles, data sources and grants live in one policy.yaml in your own git repository, applied with kuriko policy plan and apply.

Reading this as an AI agent?

Kuriko is an MCP server. To connect to an install, your human gives you its MCP address (it ends in /mcp), then for Claude Code:

claude mcp add --transport http kuriko https://<the install's gateway>/mcp

Signing in opens the browser for your human: you act as them, with their access, never more. Then list_connectors shows the data you can use and register_tool, deploy_files and publish_tool build a tool. The server's own instructions say the rest.

To try Kuriko locally, run the quick start and connect to http://localhost:3939/mcp. To self-host it, npx kuriko install asks its questions in a terminal, so hand your human the command rather than running it. Working on this repository? Read CLAUDE.md first.


Quick start

Needs Node 22.18+ and Docker (running):

git clone https://github.com/UseKuriko/kuriko && cd kuriko
npm ci
npm run try

That starts Kuriko on your machine with a made-up company to try it with: six people in different teams, a demo database and a Demo CRM full of made-up data, and rules for who sees what. When it's ready:

  1. Open http://localhost:3000, choose Continue with SSO and pick Dan (sales, builds tools).
  2. Connect Claude Code:
    claude mcp add --transport http kuriko-local http://localhost:3939/mcp
    
    then run /mcp in Claude Code and sign in as Dan.
  3. Ask Claude for a tool, for example: "a revenue forecast from the demo database's deals, with best, base and worst scenarios the team can save and compare". npm run try prints the full prompt.
  4. See it as someone else: share it, Sign out (top right), Continue with SSO and pick another person. Lena (finance) sees customers' emails that Dan sees masked; Priya (support) can't open it at all.

Tools build and run in Docker, as they would in a real install. Ctrl-C stops it; npm run dev:down stops the rest.

Trying Kuriko locally has the rest: who the people are and what each sees, what's in the data, more tools to try, and how to add people or change their teams in Keycloak's admin console.

[!NOTE] This is for trying Kuriko and developing it, on your own computer. It isn't how you self-host it (that's kuriko install, below). Don't run it on a cloud server that has credentials attached: a tool's build uses that machine's network, and nothing stops it asking the cloud's credential service for them.


Three ways in

Try it locally Self-host Managed by Kuriko
What Everything on your laptop, with Docker Kuriko in your own Google Cloud project, operated by your team The same Kuriko, in a project Kuriko runs for you alone
How npm run try npx kuriko install npx kuriko install, then choose Managed
Costs Nothing Free; you pay your own cloud bill Paid
Sends Kuriko An anonymous report of how far each session got, unless you turn it off A daily usage report of counts, unless you turn it off Kuriko operates it

Self-hosted and managed installs are the same Kuriko: the same images and version, and the same tools, sharing, Claude connection, policy.yaml and commands. Each install keeps its own database, keys and secrets.

What differs is who runs the cloud project, and a few things managed installs don't do yet, such as reaching data on a private network: see docs/managed.md.

Self-hosting needs a free access key, which kuriko install makes for you after you sign in with GitHub or Google. You can also build the images from this repository yourself: install from a checkout and they're built and pushed to your own project.


How it works

Step What happens
1. Ask In Claude Code (or another AI app), ask for a tool: "a tracker for our renewals, from the CRM". Your AI connects to Kuriko as you.
2. Build Kuriko builds and runs it, and gives you a preview only you can open. Ask for changes; each is a new preview.
3. Publish When it's right, publish it and share it with people, teams or everyone. Roll back any time.
4. Use Your team opens it in Kuriko, signed in with their company account. It shows each person only the data they're allowed to see.

Underneath, one rule does most of the work: only Kuriko's gateway can read credentials. Tools run with no permissions of their own and reach company data only through the gateway, as the person using them.


Building tools: the SDK and the UI kit

Every tool gets Kuriko's SDK and UI kit at its own address, so a tool is just pages: no database, API keys, sign-in code or build step. Your AI uses them when it builds a tool; you can too.

<div id="root"></div>
<script type="module">
  import { render, html, Card, CardContent, Button } from "./_kuriko/ui/1/kit.js";  // React and shadcn/ui
  import { kuriko } from "./_kuriko/sdk.js";

  const me = await kuriko.me();                    // who's here: email, name, role, canEdit

  // Company data, as the person using the tool: their grants, masking and row rules
  const { rows } = await kuriko.data("crm", "deals").list();

  // The tool's own records, saved in Kuriko, live for everyone looking
  const notes = kuriko.collection("notes");
  await notes.add({ deal: rows[0].id, text: "Called Ana" });
  notes.watch({ order: "-createdAt" }, (records) =>
    render(html`<${Card}><${CardContent}>${records.length} notes <${Button}>Add<//><//><//>`));
</script>
kuriko.me(), kuriko.people() Who's using the tool, and who can open it, with names from your identity provider
kuriko.data(source, resource) Read, add, change and remove rows in company data sources the tool declared, as the viewer, where the source allows it
kuriko.collection(name) The tool's own records: add, list, update, remove, and watch to stay live
kuriko.connect(error) Connect a person's own account, for sources each person signs in to
kuriko.html Builds HTML with every value escaped
./_kuriko/ui/1/kit.js React, the shadcn/ui components and Tailwind, themed as Kuriko, in light and dark. html writes JSX-like markup with no build step
./_kuriko/ui/1/charts.js, icons.js shadcn's charts (Recharts) and every Lucide icon

Tool pages can only load from their own address, so the kit is served there by Kuriko, not from a CDN. Version 1 never changes once released, so a Kuriko upgrade never changes a tool's look. A tool can also have its own server (a Dockerfile that listens on $PORT); the SDK and kit are for its pages.


Under the hood

What runs where

Piece Runs Holds secrets?
apps/cli The admin's laptop or CI, as the kuriko npm package. install, list, upgrade, destroy. Installs live in the customer's own git repo. No (uses the admin's cloud credentials)
apps/web Container in the customer's cloud. Sign-in, directory, admin, approvals. Sends the daily usage report. No data source credentials, only its own database, sign-in and identity provider settings
apps/gateway Container in the customer's cloud. MCP server + data gateway. Yes, the only thing that does
Postgres Managed Postgres in the customer's cloud. Registry, grants, audit log. Encrypted user OAuth tokens only
Built tools One container each, built from the tool's own files. No. Data only through the gateway.
Kuriko's registry Kuriko's own service, not part of an install or this repository. The address installs pull Kuriko's released images through, with an access key per install: free, made by signing in with GitHub or Google (kuriko keys). Receives the usage report. Hashes of access keys only
Kuriko's provisioner Kuriko's own service, not part of an install or this repository. Sets up managed installs (one project per customer) for customers who choose Managed by Kuriko. Only secrets in transit to an install, deleted once moved

Who can open a tool

Two things decide it, and someone needs both:

  • The tool's sharing, set by its owner in the tool's Share panel or with share_tool from Claude: people (by email), teams (the identity provider's groups) and everyone. Each is a viewer, who reads what the tool keeps, or an editor, who also adds and changes it (and writes to data sources through it). New tools are private to their owner. Admins can open and manage any tool whose data their own grants cover.
  • policy.yaml, set by admins, for company data only: which groups read or write which sources, with masking and row rules. It's the ceiling: a tool shared with someone stays hidden from them unless their grants cover every data source it reads.

Sharing a published tool with everyone waits for an admin's review when policy.yaml's reviews is org-wide (new installs start with off). Sharing with people and teams never waits.

On Google Workspace, kuriko-web reads each shared team's members from the directory, so joining or leaving a team shows within minutes (apps/web/src/lib/teams.ts). Other IdPs report groups at sign-in.


Rules that don't bend

  1. Only the gateway can read credentials. The cloud's IAM enforces this, not convention. Tools and the web app run under roles with no access to data source credentials.
  2. Credentials are referenced, never stored. Service keys live in the customer's secret manager; Kuriko stores the reference. Per-user OAuth tokens are encrypted with the customer's KMS key.
  3. Identity only comes from a verified token. No tool or API takes the caller's user, group or role as an argument. Sharing a tool names who else may open it; it never changes who the caller is.
  4. Deny by default. A tool can't declare data its builder isn't granted; viewers see data through their own grants and masking.
  5. Deploys are revisions. Deploy creates a revision with no traffic, promote moves traffic, rollback moves it back. Nothing is mutated in place.
  6. Everything ships as one version. CLI, images and Terraform module are released together.

Installs running Kuriko's released images send Kuriko a usage report of counts once a day, unless policy.yaml says usage_report: off. npm run try sends an anonymous one about each session of trying Kuriko, unless KURIKO_TELEMETRY=off.

What Kuriko defends against, what it trusts and where it falls short is in the threat model, with standard answers for security reviews. To report a vulnerability, see SECURITY.md.


Open source and paid

Kuriko is open source under the Apache License 2.0: all of it, including everything you need to self-host it. Self-hosting is free.

Kuriko makes money from Managed by Kuriko (we run it for you) and from support. If paid enterprise features come later, they'll live in their own folder under its own licence, and this repository will say so.

"Kuriko" and the logo are trademarks: see TRADEMARK.md.


Community and support

  • GitHub issues. Best for: bugs, and ideas.
  • SECURITY.md. Best for: security problems. Never in a public issue.
  • kuriko.dev. Best for: Managed by Kuriko, support and anything else.

Contributing

Issues and pull requests are welcome: start with CONTRIBUTING.md. How the repository is laid out, and how to run and test it, is in docs/development.md. Known gaps and ideas are in GitHub issues.

If Kuriko is useful to you, a ⭐ helps other people find it.


License

Apache License 2.0. Copyright 2026 Kuriko.

探索相关项目

加载中…