{"id":40273158,"url":"https://github.com/aiassistsecure/keystone-lite","last_synced_at":"2026-01-20T03:01:23.437Z","repository":{"id":333232943,"uuid":"1136550229","full_name":"aiassistsecure/KeyStone-Lite","owner":"aiassistsecure","description":"A local-first desktop editor for AI-assisted debugging and surgical code edits.","archived":false,"fork":false,"pushed_at":"2026-01-18T03:46:01.000Z","size":1488,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-18T14:59:04.893Z","etag":null,"topics":["agentic","agentic-workflow","agentic-workflows","ai","ai-assist-secure","code-debugger","llm","llm-coder","vibe","vibe-coding","vibe-coding-assistant"],"latest_commit_sha":null,"homepage":"https://aiassist.net","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aiassistsecure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-01-17T22:22:39.000Z","updated_at":"2026-01-18T03:46:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/aiassistsecure/KeyStone-Lite","commit_stats":null,"previous_names":["aiassistsecure/keystone-lite"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aiassistsecure/KeyStone-Lite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiassistsecure%2FKeyStone-Lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiassistsecure%2FKeyStone-Lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiassistsecure%2FKeyStone-Lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiassistsecure%2FKeyStone-Lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aiassistsecure","download_url":"https://codeload.github.com/aiassistsecure/KeyStone-Lite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiassistsecure%2FKeyStone-Lite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28594958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["agentic","agentic-workflow","agentic-workflows","ai","ai-assist-secure","code-debugger","llm","llm-coder","vibe","vibe-coding","vibe-coding-assistant"],"created_at":"2026-01-20T03:00:46.652Z","updated_at":"2026-01-20T03:01:23.423Z","avatar_url":"https://github.com/aiassistsecure.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KeyStone Lite\n\n**Your AI pair programmer, running locally.** Ship code faster with surgical AI edits that actually work.\n\nKeyStone Lite is a desktop code editor with built-in AI that understands your codebase and makes precise, line-level changes. No more copy-pasting from ChatGPT. No more broken suggestions. Just ask, review, apply.\n\n## Interface Overview\n\n![Keystone Lite](https://i.ibb.co/tp31STbp/Keystone-Lite-1-17-26-10-22-27-PM.png)\n![Keystone Lite](https://i.ibb.co/pvj5bBc4/Keystone-Lite-1-17-26-10-22-47-PM.png)\n![Keystone Lite](https://i.ibb.co/zT18pLx5/Keystone-Lite-1-17-26-3-51-15-PM.png)\n\n## Why KeyStone?\n\n### For Developers\n\n- **Actually understands your files** - Your active file is automatically included with line numbers, so the AI knows exactly where to make changes\n- **Surgical precision** - No more \"here's the whole file rewritten.\" KeyStone uses INSERT, REPLACE, DELETE operations on specific lines\n- **11+ LLM providers** - Groq, OpenAI, Anthropic, Gemini, Mistral, Cohere, DeepSeek, or your own local Ollama instance\n- **Two modes for two mindsets** - Debug mode lets you review before applying. Keystone mode auto-applies for rapid iteration\n\n### For Founders \u0026 Teams\n\n- **Ship MVPs faster** - Stop context-switching between AI chat and your editor. It's all in one place\n- **Bring your own keys** - Use your existing API keys. Pay for what you use, no per-seat SaaS pricing\n- **White-label ready** - Fork it, brand it, ship it as your own dev tool (see licensing)\n\n## Quick Start\n\n1. **Get an API key** from [aiassist.net](https://aiassist.net)\n2. **Download** the latest release for your platform\n3. **Open a project folder** and start coding with AI\n\n```bash\n# Or run from source\ncd keystone-lite\nnpm install\nnpm run dev      # Start Vite dev server\nnpm start        # Launch Electron (in another terminal)\n```\n\n## Features at a Glance\n\n| Feature | Description |\n|---------|-------------|\n| **Multi-file context** | Add multiple files to AI context with one click |\n| **Surgical edits** | Line-precise INSERT, REPLACE, DELETE operations |\n| **Mode toggle** | Debug (review first) or Keystone (auto-apply) |\n| **Project templates** | Static HTML/TailWindCSS, React, Express, FastAPI, Electron starters |\n| **Monaco editor** | Full VS Code editing experience |\n| **Custom endpoints** | Connect any OpenAI-compatible API |\n| **Secure by default** | Files sandboxed to project, keys encrypted locally |\n\n## How It Works\n\n### 1. Open Your Project\nClick \"Open Folder\" or drag a directory. Your file tree appears in the sidebar.\n\n### 2. Chat With Your Code\nOpen a file - it's automatically added to the AI's context with line numbers. Ask questions or request changes.\n\n### 3. Review \u0026 Apply\nThe AI responds with precise edit blocks:\n\n```\n\u003c\u003c\u003cEDIT app.tsx\u003e\u003e\u003e\n\u003c\u003c\u003cREPLACE lines 15-20\u003e\u003e\u003e\nconst handleSubmit = async (data: FormData) =\u003e {\n  const response = await api.post('/submit', data);\n  return response.json();\n};\n\u003c\u003c\u003cEND\u003e\u003e\u003e\n```\n\nIn Debug mode, click \"Apply All\" to apply. In Keystone mode, changes apply instantly.\n\n## Supported Providers\n\n| Provider | Models |\n|----------|--------|\n| **Groq** | Llama 3.3 70B, Mixtral, Gemma 2 |\n| **OpenAI** | GPT-4o, GPT-4 Turbo, o1 |\n| **Anthropic** | Claude 3.5 Sonnet, Claude 3 Opus |\n| **Google** | Gemini 1.5 Pro, Gemini 2.0 Flash |\n| **Mistral** | Mistral Large, Codestral |\n| **xAI** | xAI Grok |\n| **TogetherAI** | Open-source at scale |\n| **OpenRouter** | Multi-provider access |\n| **DeepSeek** | DeepSeek Coder, DeepSeek Chat |\n| **Fireworks AI** | Fast open-source |\n| **Perplexity** | Search-augmented AI |\n| **PIN Network** | Decentralized inference |\n\n## Building for Distribution\n\n```bash\nnpm run dist        # Build for current platform\nnpm run dist:all    # Build for Mac, Windows, Linux\n```\n\nInstallers are output to the `dist/` folder.\n\n## For Contributors\n\n### Architecture\n\n```\nkeystone-lite/\n├── src/\n│   ├── main/              # Electron main process\n│   │   ├── index.ts       # IPC handlers, file ops\n│   │   └── preload.ts     # Context bridge\n│   └── renderer/          # React frontend\n│       ├── components/    # ChatPanel, EditorTabs, ModelSelector\n│       ├── lib/           # surgical-edit.ts parser\n│       └── pages/         # MainLayout\n├── templates/             # Project starters\n└── assets/               # Icons and images\n```\n\n### Key Files\n\n| File | Purpose |\n|------|---------|\n| `ChatPanel.tsx` | AI chat, API calls, system prompts |\n| `ModelSelector.tsx` | Provider/model selection |\n| `surgical-edit.ts` | Edit parsing and application |\n| `MainLayout.tsx` | App layout and state |\n| `index.ts` (main) | File system operations |\n\n## Security\n\n- API keys encrypted at rest via electron-store\n- All file operations sandboxed to opened project\n- No telemetry, no tracking, no phone-home\n- Context isolation enabled in Electron\n\n## License\n\n**Business Source License 1.1** - See [LICENSE](./LICENSE)\n\n- Free for personal use, development, and evaluation\n- Production use requires AiAS API keys or commercial license\n- Forks for distribution require written authorization from Interchained LLC\n- Converts to MIT License on January 1, 2030\n\nFor commercial licensing: dev@interchained.org\n\n## Links\n\n- **API Keys \u0026 Platform**: [aiassist.net](https://aiassist.net)\n- **Issues \u0026 PRs**: [GitHub](https://github.com/aiassistsecure/keystone-lite)\n- **Enterprise Licensing**: dev@interchained.org\n\n---\n\n**Built by [AiAssist Secure (AiAS) of Interchained LLC](https://aiassist.net)** - Powering the next generation of AI-assisted workflows.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiassistsecure%2Fkeystone-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiassistsecure%2Fkeystone-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiassistsecure%2Fkeystone-lite/lists"}