Skip to content

Instantly share code, notes, and snippets.

View bryanhpchiang's full-sized avatar

bryanhpchiang

View GitHub Profile
@bryanhpchiang
bryanhpchiang / draft.md
Created March 11, 2026 05:23
Autonomous Company Protocol

Autonomous Company Protocol

One-liner: A protocol for launching, funding, and governing AI-run companies — where every company is a token and every token is backed by real revenue.


The Thesis

Building a company comes down to three things: capital, people, and iteration.

Dungeon Master with Hidden State

Fine-tune a thinking model to run tabletop RPG sessions where the DM maintains secret world state, NPC motivations, and plot hooks in the <think> block while delivering immersive narration to players.

The Core Idea

The <think> block becomes the DM's private notes:

  • Monster positions and stats
  • NPC secrets and motivations
  • Trap locations and triggers
from marvin import ai_fn
from pydantic import BaseModel
import asyncio
class Fruit(BaseModel):
name: str
@ai_fn
const sleep = ms => { return new Promise(resolve => setTimeout(resolve, ms)) }
const injectButton = async () => {
// Similiarly, we also need to wait for the page to load in...
await sleep(1000);
console.log("hey");
const {url} = await fetch("https://bhchiang--get-url-get.modal.run/").then(r => r.json());
const URL = `${url}/get_prompt`;