Local-first AI text editor for writers. Manage documents, run powerful macros, and collaborate with AI agents (with tools) using your own API key.
Visit Website · Report Bugs · Request Feature
- Document management: create, edit, organize, export/import
- AI agents with tool access: multi-step workflows that can call tools to help complete tasks
- Reusable macros & prompts: quick actions, templates, and selection sending
- Semantic / hybrid search (embeddings): faster "find by meaning," not just keywords
- Revision history & diffs: inspect changes over time
- Mobile + desktop friendly
Your documents and API key are stored locally on your device. When you use AI features (including agents, tools, and embeddings), the app sends relevant text/context and request payloads to the OpenAI API for processing; we don't store your content on our servers.
- Node.js
- OpenAI API key
git clone https://github.com/darrylschaefer/ai-text-editor
cd ai-text-editor
npm install
npm run devOpen: http://localhost:5173
Use Export in the sidebar to save your data and Import to restore it.
Issues and PRs welcome.
Inspired by and adapted from BetterChatGPT (CC0). This project is released under the MIT license.