Lattice
A workspace for your research.
Give one goal. A team of AI companions plans it, debates it, reviews it, and delivers real work you can see.
ProductivityTypeScript · CSSGitHub @pankajcr7OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Loading the full README. The saved excerpt is shown below.
A virtual company of AI companions working in a live office.
• frontend/ Next.js 16 (port 3000). Proxies /api/* to the backend.
• backend/ Fastify + Better Auth + Prisma 7 on Neon Postgres (port 4000).
1. Create a free Neon project and a second database named test in it.
2. Copy .env.example to backend/.env and fill in the values (never commit it).
3. Install and migrate:
Optional: Google sign-in needs a Google Cloud OAuth client with redirect URI
http://localhost:3000/api/auth/callback/google, then GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET in backend/.env.Read the full README ↗A virtual company of AI companions working in a live office.
frontend/ Next.js 16 (port 3000). Proxies /api/* to the backend.backend/ Fastify + Better Auth + Prisma 7 on Neon Postgres (port 4000).test in it..env.example to backend/.env and fill in the values (never commit it).npm --prefix backend install
npm --prefix frontend install
npm --prefix backend run db:migrate
Optional: Google sign-in needs a Google Cloud OAuth client with redirect URI
http://localhost:3000/api/auth/callback/google, then GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET in backend/.env.
npm run dev:backend
npm run dev:frontend # http://localhost:3000
Open AI providers in the app sidebar.
CHATGPT_LOCAL_LOGIN=true). A hosted site needs OpenAI's approval through their interest form.ALLOW_LOCAL_ENDPOINTS=true.Keys and tokens are encrypted with CREDENTIALS_KEY and never shown again.
Live check with a real key (optional, costs a few tokens):
LIVE_PROVIDER=openai LIVE_API_KEY=sk-... LIVE_MODEL=<model id> npm --prefix backend run smoke
Open Projects in the sidebar to upload a folder, a ZIP, or files, then browse and edit them in the built-in code editor. Every save is a version you can restore. Download single files or the whole project as a ZIP.
node_modules, .git, build output, caches, .env files (except .env.example), private keys and credential files.Blob table), so they survive restarts on hosts with a temporary disk. Files saved on disk by older versions (backend/data/blobs, or FILES_DIR) are still read. Nothing uploaded is ever run.The home screen is a chat with Nova. Ask a question and Nova answers; ask for work ("Build a landing page for my bakery") and Nova's plan appears in the chat: press Start, or Change it first. While the team works, the top bar and the Send button show a red Stop; a stopped goal can Resume. Results, Nova's summary, suggested file changes, and any files created (with Preview) appear in the same chat, and you can keep asking about them. Past chats are listed on the left. The "Working on" picker under the chat chooses a project, or a new one.
After you press Start, ask Nova about the goal right in the panel: why something was done, what a piece of code does, or what to do next. Continue with a new goal plans the next step with this goal's results in mind. Code in any AI message shows as a code card with a Copy button, and every message, result, and summary can be copied.
To build something new, pick New project in the bar's project picker. Nova names the project in its plan, the project is created when you press Start, and files the companions create are saved straight into it (changes to existing files still wait for Apply). The goal lists Files created with View, Download, Download ZIP, and Preview, which shows a website project live in a sandboxed frame. Projects with HTML files have a Preview button too.
.company/brief.md and .company/brand.md are shared with every companion on that project.Agent Company for Mac and Windows lives in desktop/: the live site in its own window, plus syncing a
project with a folder on the computer (two-way, works offline). Installers are on the
Releases page; pushing a desktop-v<version> tag builds them.
npm --prefix backend test # API tests against the Neon "test" database
npm --prefix frontend run e2e # browser test, uses your installed Google Chrome
Milestone 1 (accounts, workspaces, Live Office shell, companion customization) is built. Companions do not do work yet: every status is Idle, Paused, or Archived. AI providers arrive in milestone 2.