{"id":50412267,"url":"https://github.com/obetomuniz/locala","last_synced_at":"2026-05-31T04:04:14.373Z","repository":{"id":360748796,"uuid":"1244810234","full_name":"obetomuniz/locala","owner":"obetomuniz","description":"Local agents in your browser. On-device chat built on web-ai-sdk.","archived":false,"fork":false,"pushed_at":"2026-05-27T17:28:18.000Z","size":93,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-27T19:22:22.210Z","etag":null,"topics":["built-in-ai","local-first","on-device-ai","prompt-api","react","typescript","web-ai-sdk","webmcp"],"latest_commit_sha":null,"homepage":"https://obetomuniz.github.io/locala/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/obetomuniz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":null,"dco":null,"cla":null}},"created_at":"2026-05-20T16:08:34.000Z","updated_at":"2026-05-27T17:29:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/obetomuniz/locala","commit_stats":null,"previous_names":["obetomuniz/locala"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/obetomuniz/locala","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obetomuniz%2Flocala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obetomuniz%2Flocala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obetomuniz%2Flocala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obetomuniz%2Flocala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obetomuniz","download_url":"https://codeload.github.com/obetomuniz/locala/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obetomuniz%2Flocala/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33718483,"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-05-31T02:00:06.040Z","response_time":95,"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":["built-in-ai","local-first","on-device-ai","prompt-api","react","typescript","web-ai-sdk","webmcp"],"created_at":"2026-05-31T04:04:13.447Z","updated_at":"2026-05-31T04:04:14.367Z","avatar_url":"https://github.com/obetomuniz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# locala\n\nLocal chats in your browser. On-device chat using the Web Built-in AI APIs, with zero round-trips to a backend.\n\n- All inference runs on-device via `navigator.LanguageModel` (Chrome / Edge Built-in AI).\n- A small set of personas (Concise, Explorer, Coder) you can pick per chat.\n- Chats are persisted to `localStorage`. Nothing leaves the browser.\n- External agents (Chrome agent, Cursor, Claude, etc.) can drive the app via WebMCP tools (`list_chats`, `new_chat`, `send_message`, `set_mode`, ...).\n\n## Built on web-ai-sdk\n\nlocala is a consumer of [`@web-ai-sdk`](https://github.com/obetomuniz/web-ai-sdk), a set of headless wrappers for the browser's Built-in AI APIs:\n\n- [`@web-ai-sdk/prompt`](https://www.npmjs.com/package/@web-ai-sdk/prompt) powers the chat (system prompts, streaming, abort, warm-session reuse).\n- [`@web-ai-sdk/webmcp`](https://www.npmjs.com/package/@web-ai-sdk/webmcp) exposes the in-app tools to external agents.\n\nSee [web-ai-sdk.dev](https://web-ai-sdk.dev/) for the docs.\n\n## Browser requirements\n\nThe Web Built-in AI APIs are still behind flags. The compatibility matrix moves; treat this as a starting point and verify against [web-ai-sdk.dev](https://web-ai-sdk.dev/).\n\n- **Prompt API**: Chrome 138+ or Edge 138+ with the Prompt API flag enabled.\n- **WebMCP** (optional, only needed for external agent drive-through): Chrome 146+ / Edge 146+ with the WebMCP testing flag.\n\nIf the Prompt API isn't available, the UI shows a banner with the flag URL.\n\n## Develop\n\nRequirements: Node 22+ (pnpm 11 needs it), pnpm.\n\n```sh\npnpm install\npnpm dev\n```\n\nOpen http://localhost:5173. Type-check and production build:\n\n```sh\npnpm typecheck\npnpm build\n```\n\n## Deploy\n\nThe app deploys to GitHub Pages automatically when `main` is updated. The workflow lives at `.github/workflows/deploy.yml`.\n\n## License\n\n[MIT](./LICENSE) © Beto Muniz\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobetomuniz%2Flocala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobetomuniz%2Flocala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobetomuniz%2Flocala/lists"}