{"id":50409668,"url":"https://github.com/zknicker/tavern","last_synced_at":"2026-07-02T16:02:45.138Z","repository":{"id":361322650,"uuid":"1240105812","full_name":"zknicker/tavern","owner":"zknicker","description":"Tavern desktop app and runtime","archived":false,"fork":false,"pushed_at":"2026-07-01T18:41:45.000Z","size":19049,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-01T19:26:02.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zknicker.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-15T19:19:09.000Z","updated_at":"2026-07-01T18:41:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zknicker/tavern","commit_stats":null,"previous_names":["zknicker/tavern"],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/zknicker/tavern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zknicker%2Ftavern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zknicker%2Ftavern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zknicker%2Ftavern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zknicker%2Ftavern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zknicker","download_url":"https://codeload.github.com/zknicker/tavern/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zknicker%2Ftavern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35053492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-31T03:02:13.126Z","updated_at":"2026-07-02T16:02:45.131Z","avatar_url":"https://github.com/zknicker.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tavern\n\nTavern is a macOS chat app for working with always-on agents.\n\nTavern Runtime is the local chat server. It owns canonical chats, messages,\nparticipants, sequence, events, reads, deliveries, activity, automations, and\nruntime-owned product state. Tavern App is the first-party Electron client and\npresentation layer. The internal agent engine runs turns through local AI SDK\nlanguage models and projects execution activity back into Tavern Runtime.\n\n## Architecture\n\n```text\nTavern App\n  -\u003e @tavern/sdk\n  -\u003e Tavern API\n  -\u003e Tavern Runtime\n  -\u003e Agent engine\n```\n\n`packages/tavern-api` is the cross-boundary contract package. OpenAPI is the\nwire source of truth, and the package also owns the shared Zod contracts used by\nthe current Runtime/App/admin surfaces.\n\n`packages/tavern-sdk` is the TypeScript client over that API. Bots, webhooks,\nautomations, local tools, tests, and the app use the SDK/API\nshape instead of a second protocol package.\n\n## Repo Layout\n\n* `packages/tavern-api`: OpenAPI and shared Tavern API contracts.\n* `packages/tavern-sdk`: TypeScript client wrapper for Tavern API.\n* `apps/runtime`: always-on Tavern Runtime and local agent engine.\n* `apps/server`: local app backend, tRPC facade, app cache, and product logic.\n* `apps/website`: Electron/React app client.\n* `jobs`: local background jobs for sync, usage ingest, and refresh work.\n\n## Development\n\nInstall dependencies:\n\n```bash\nbun install --frozen-lockfile\n```\n\nRun the full local stack:\n\n```bash\nbun run dev\n```\n\n`bun run dev` starts Tavern Runtime, the local app backend, the website dev\nserver, and the desktop shell.\n\nDev state is isolated under the worktree-specific Tavern dev root. The default\nRuntime root outside the dev stack is `~/.tavern/runtime`.\n\nLocal dev ports are derived from the worktree path so multiple worktrees can run\nat once. Override them with:\n\n```bash\nTAVERN_RUNTIME_HOST=127.0.0.1\nTAVERN_RUNTIME_PORT=18790\nTAVERN_AGENT_PROVIDER=openai\n```\n\nSet `TAVERN_RUNTIME_HOST=0.0.0.0` and point the app at\n`http://\u003chost\u003e:18790` when Runtime runs on an always-on Mac.\n\nProduction Runtime installs expose `tavern` as the preferred CLI and keep\n`tavern-runtime` as a compatibility alias. `tavern update` upgrades the\nHomebrew formula and restarts the service by default.\n\n## Desktop Build\n\nBuild a debug desktop app and DMG:\n\n```bash\nbun run desktop:build\n```\n\nThe macOS outputs are written under `apps/website/electron-dist/`.\n\n## Docs\n\nStart with [docs/README.md](docs/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzknicker%2Ftavern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzknicker%2Ftavern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzknicker%2Ftavern/lists"}