Face to Face is a local web app for writers who want to test ideas through a small room of AI roles. It behaves like a lightweight group chat: you can speak as yourself, ask a configured AI role to respond, speak on behalf of a role, and edit earlier messages so later model calls use the revised conversation history.
- Chat-style room with user and AI role messages.
- Three default roles: skeptic, editor, and Socratic questioner.
- Per-role configuration for persona prompt, avatar color, API base URL, API key, model name, and enabled state.
- OpenAI-compatible Chat Completions proxy through a local Next.js API route.
- Streaming model responses.
- Editable message history.
- Browser
localStoragepersistence for roles, API keys, selected role, and current chat.
- Node.js 20 or newer.
- An OpenAI-compatible model provider API key.
Install dependencies:
npm installStart the development server:
npm run devIn settings, fill in an API key for each AI role you want to use. The default API base URL is https://api.deepseek.com, and the default model is deepseek-v4-pro.
npm run dev
npm run build
npm run start
npm run lintRole configuration, API keys, selected role, and chat history are stored in the current browser's localStorage. The local API route receives the selected role's API key only to forward the current request to the configured model provider; the app does not write API keys to disk.
MIT