kentcdodds

kody

Community kentcdodds
Updated

Your assistant's home — the memory, keys, code, and automations your AI agent keeps, portable across every MCP host. Built on Cloudflare Workers.

Your assistant's home — the memory, keys, code, and automations your AI agent keeps, portable across every MCP host. Built on Cloudflare Workers.

Kody is your assistant's home—the memory, keys, code, and automations your AIagent keeps, portable across every MCP host. Built on Cloudflare Workers and theModel Context Protocol (MCP), it ships a Remix UI, Worker-based request routing,package runtime plumbing, and OAuth-protected MCP endpoints. The project favorsa compact MCP surface with powerful search and Code Mode execute flows overa large static tool catalog.

Kody is a multi-user personal assistant: each signed-in user gets a fullyisolated assistant (packages, jobs, secrets, values, memories, and relatedstate). Tests and fixtures may seed deterministic local accounts, but no accountis privileged at runtime. The repo follows severalepicflare starter conventions.

The repo is organized as an Nx monorepo, with shared modules inpackages/shared (@kody-internal/shared), the main app worker underpackages/worker, and mock Workers under packages/mock-servers/*.

Quick Start

npm install
npm run dev

The dev server runs at localhost:3742 by default (the CLI picks the next freeport and prints the resolved URL). Wrangler handles the local Cloudflare Workersruntime and D1 database automatically.

To scaffold a new project from the epicflare template instead, runnpx create-epicflare.

Seedocs/contributing/getting-started.mdfor the full setup paths and expectations. Contributors and agents should startwith AGENTS.md for repo-specific guidance.

If you are trying to understand what this repository is for, start withdocs/contributing/project-intent.md.

Tech Stack

Layer Technology
Runtime Cloudflare Workers
UI Framework Remix 3 (beta)
Package Manager npm
Workspace Nx + npm workspaces
Database Cloudflare D1
Session/OAuth Cloudflare KV
MCP State Durable Objects
E2E Testing Playwright
Bundler esbuild

Scope

  • Fair Source personal assistant platform, not a general-purpose agent harness
  • MCP-first architecture intended to work across compatible AI agent hosts
  • Compact MCP surface area preferred over a large static tool inventory
  • ChatGPT is a likely primary host target, while keeping the server usable fromother MCP hosts where practical

How It Works

Request → packages/worker/src/index.ts
              │
              ├─→ OAuth handlers
              ├─→ MCP endpoints
              ├─→ Static assets (`packages/worker/public/`)
              └─→ Server router → Remix components
  • packages/worker/src/index.ts is the entrypoint for Cloudflare Workers
  • OAuth requests are handled first, then MCP requests, then static assets
  • Non-asset requests fall through to the server handler and router
  • Client assets are bundled into packages/worker/public/ and served via theASSETS binding

Documentation

Document Description
docs/contributing/getting-started.md Setup, environment variables, deploy
docs/contributing/environment-variables.md Adding new env vars
docs/contributing/cloudflare-offerings.md Optional Cloudflare integrations
docs/contributing/project-intent.md Scope, goals, and non-goals
docs/contributing/index.md Developing and extending Kody
docs/use/index.md Using Kody over MCP
docs/contributing/setup.md Local development and verification

License

Kody is licensed under theFunctional Source License, Version 1.1, ALv2 Future License(FSL-1.1-ALv2). You can use, copy, modify, createderivative works from, publicly perform, publicly display, and redistribute thesoftware for any purpose other than Competing Use. Competing Use means makingthe software available to others in a commercial product or service thatsubstitutes for Kody, substitutes for another product or service the licensoroffers using Kody that existed when the version was made available, or offersthe same or substantially similar functionality. Each version becomes availableunder the Apache License 2.0 on the second anniversary of the date that versionwas made available.

Community packages published through Kody remain MIT-licensed; that requirementis separate from this repository's license.

Built with ❤️ by Epic Web

MCP Server · Populars

MCP Server · New

    MaxEllis

    OrcaSlicer MCP

    OrcaSlicer MCP — drive OrcaSlicer from Claude or any MCP client: load models, tune settings, slice, analyze

    Community MaxEllis
    kentcdodds

    kody

    Your assistant's home — the memory, keys, code, and automations your AI agent keeps, portable across every MCP host. Built on Cloudflare Workers.

    Community kentcdodds
    open-and-async

    Open and Async — MCP Server

    Model Context Protocol server for the book Open and Async — async-first method tools plus the book's outline, taglines, and summaries. Ships the method, never the manuscript.

    Community open-and-async
    firish

    webfetch

    Own your LLM's web search: a local search->fetch->rank pipeline that replaces hosted web_search tools. Measured: matches hosted accuracy at ~1/3 the cost with 5-8x fewer tokens, plus semantic caching no API offers.

    Community firish
    airas-org

    AIRAS - an open-source project for research automation

    AIRAS - an open-source project for research automation

    Community airas-org