Skip to content
المشاريع

حول

Open-source desktop IDE with local AI, your own cloud API keys, and peer-to-peer collaboration.

أدوات التطوير

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Sandboxed preload reliability: Fixed a crash on startup in sandboxed renderers caused by importing node:crypto in the preload bundle, now guarded with automated regression coverage.
  • macOS terminal & packaged inference fixes: Fixed node-pty spawn-helper executable permissions on macOS (resolving posix_spawnp failed) and bundled nested node-llama-cpp dependencies (such as slice-ansi) in packaged builds across all platforms.
  • Offline TypeScript execution: Standalone .ts files now execute directly with Node's native TypeScript type stripping (>=22.6) before falling back to npx, eliminating offline hangs.
  • Rust native core (packages/native-core): Optional kalynt-core sidecar binary built and packaged across Linux, Windows, and macOS for fast workspace indexing and search.

النمو المقاس للنجوم

خلال 24 ساعة
جارٍ جمع السجل
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Kalynt

Kalynt Logo

Local-First AI IDE · Peer-to-Peer Collaboration · No Subscription Required

A desktop code editor with a built-in AI agent and direct WebRTC collaboration. Run local GGUF models on your own hardware, connect to local Ollama/LM Studio servers, or bring your own cloud API keys — with no intermediary Kalynt server.

License: AGPL v3 Version Platform PRs Welcome Reddit YouTube Spotify

Download Latest Release · Website & Setup Guide · Contribute · Get Help · Architecture · Changelog · Discussions

No Kalynt account or subscription is required. Local models run on your machine; cloud providers bill API usage separately under your own key.


Kalynt workspace showing file explorer, Monaco editor, and AI agent panel
More screenshots

Source control and side-by-side diffs

Diff view

Shared task board

Tasks

Git history

History

Team and collaboration

Team and collaboration

Peer-to-peer shared files

Shared files

Models and API keys

Settings

Local model memory (AIME)

AIME

Language runtimes

Language runtimes


Quick Start

  1. Install: Download the package for your platform from GitHub Releases, launch Kalynt, and select Open folder.
  2. Connect a model: Open Settings → Models and keys. Choose one of three routes:
    • Built-in local models (GGUF): Download and load a curated model via node-llama-cpp with AIME memory management.
    • Local inference server: Connect to a loopback Ollama or LM Studio OpenAI-compatible server on your machine.
    • Cloud API key: Add your own key for Anthropic, OpenAI, Google Gemini, DeepSeek, Kimi (Moonshot AI), or GLM (Z.ai).
  3. Start with a verifiable prompt:

    Explain how this project starts. Point me to the entry file and the command to run it. Don't change any files.

For code edits, use Ask before changes, inspect every proposed diff, and run your project's test suite.

Footprint, Hardware & Privacy Notes

  • Installer size vs. installed footprint: Compressed installers and extracted disk footprints differ significantly. On Linux x64, pre-release 2.1 builds measure ~312 MB (.deb) and ~502 MB (AppImage) compressed, expanding to ~1.12 GB on disk (down from 2.0.0's 328 MB .deb, 542 MB AppImage, and 1.38 GB extracted footprint; app.asar dropped from 201 MB to 29.5 MB). Final platform sizes are measured from published 2.1.0 release assets.
  • Local AI memory: GGUF model files download separately and display exact size and estimated RAM requirements in the model manager. Leave headroom for your OS, IDE, and project tools. Small models work well for explanations and quick questions; larger models are better suited to multi-file edits and tool use.
  • Privacy boundary: Local GGUF inference stays on your device. Loopback server connections target only this machine (note that Ollama can proxy remote models depending on your Ollama config). Cloud mode sends request context directly from Electron's main process to your selected provider. Collaboration syncs directly over WebRTC; set a room password to enable end-to-end encryption. Network access is also used for downloads, update checks, and agent web tools.

Highlights in v2.2.0

  • Cross-platform runtime & packaging fixes:
    • Sandboxed preload reliability: Fixed a crash on startup in sandboxed renderers caused by importing node:crypto in the preload bundle, now guarded with automated regression coverage.
    • macOS terminal & packaged inference fixes: Fixed node-pty spawn-helper executable permissions on macOS (resolving posix_spawnp failed) and bundled nested node-llama-cpp dependencies (such as slice-ansi) in packaged builds across all platforms.
    • Offline TypeScript execution: Standalone .ts files now execute directly with Node's native TypeScript type stripping (>=22.6) before falling back to npx, eliminating offline hangs.
  • Native Rust Core & MCP support:
    • Rust native core (packages/native-core): Optional kalynt-core sidecar binary built and packaged across Linux, Windows, and macOS for fast workspace indexing and search.
    • Model Context Protocol (MCP) client: Connect workspace-scoped stdio MCP servers via .kalynt/mcp.json directly into Kalynt's AI agent toolset.
  • Security hardening & dependency modernization:
    • Upgraded to Electron 42, Vite 7.3, ESLint 10, electron-builder 26, simple-git 4, and electron-updater 6.8, eliminating all runtime npm audit vulnerabilities and Vite mixed static/dynamic chunk warnings.
    • Resolved all 17 CodeQL static-analysis findings: replaced regex HTML stripping with a linear-time state-machine parser (htmlToText.ts), enforced strict http:/https: URL allowlisting on agent web fetches, removed COMSPEC environment lookups in binary resolution, replaced extract-zip with a traversal-safe zip extractor (safeZip.ts), and added strict environment filtering for simple-git v4.
  • Community & contributor experience: Added a welcoming Contributing Guide, Support Guide, Pull Request template, and a First-Session Feedback issue template.

See CHANGELOG.md for the complete release history (including v2.1.0 collaboration protocol v2 and editor recovery).

Upgrading from 2.0.0

[!IMPORTANT]

  • Save open files before updating from 2.0.0. Kalynt 2.0.0 predates the editor draft recovery service, so unsaved edits open in 2.0.0 are not migrated. From 2.1.0 onward, unsaved buffers survive workspace switches and normal restarts.
  • Encrypted rooms require all peers to upgrade together. Kalynt 2.1.0 introduces protocol v2 (deterministic room salt + PBKDF2→HKDF). Mixed 2.0.0/2.1.0 encrypted rooms are unsupported and clearly flagged as a protocol mismatch. Legacy 2.0.0 encrypted team chat history cannot be decrypted with protocol v2 keys; start a fresh encrypted room or archive legacy chat after upgrading (workspace files and local AI agent sessions are unaffected).

Preserved across an in-place upgrade (same user-data profile): workspace folders and workspace list, saved agent conversations, open/pinned tabs, theme and layout preferences, installed extensions, downloaded local models and settings, saved room passwords, and OS keychain API keys (safeStorage).


Core Capabilities

Area Capabilities
AI Agent & Models Local GGUF inference (node-llama-cpp + AIME MemoryGuard), loopback Ollama/LM Studio servers, and 6 cloud providers (Anthropic, OpenAI, Google Gemini, DeepSeek, Kimi, GLM). Native tool calling, file checkpoints with one-click run Undo, syntax/compiler self-checks, approval modes (Ask before changes, Auto-edit, Full auto), workspace code review (sampled or full), and persistent per-workspace conversations.
Editor & Search Monaco Editor with split views, breadcrumbs, inline AI completions (opt-in), atomic saves with conflict resolution, unsaved draft recovery, buffer-aware workspace search/replace with recursive globs and regex capture groups, and Command Palette (Ctrl+P, Ctrl+Shift+P, #).
Git & Execution Integrated Source Control (stage, commit, non-detaching multi-remote branch tracking, stash, push/pull, side-by-side diffs, searchable History), xterm.js + node-pty multi-session terminals, single-file Run across 25+ languages, tasks.json/npm Build tasks, and DAP debugging for Python, Node.js, C/C++, and Go.
Collaboration Serverless Yjs CRDT sync over WebRTC with AES-256-GCM + HMAC-SHA256 encryption (protocol v2), room password verification, shared task board, encrypted team chat, direct peer-to-peer file sharing (up to 200 MB with SHA-256 verification), and ECDSA-signed roles & moderation.
Runtimes & Extensions 34-runtime detection/install catalog and Open VSX / local .vsix extension support in an isolated host process, including contributed Command Palette commands and VS Code color themes. Kalynt implements a subset of the VS Code API; arbitrary extensions require individual validation.
Security & Isolation Sandboxed renderer (sandbox: true, contextIsolation: true, nodeIntegration: false), strict CSP, main-process-only API keys in OS keychain (safeStorage), single symlink-resolving validatePath, argument-list spawning (shell: false) for Run/package managers, SSRF-guarded agent web fetch, and scoped "Stop all processes". See SECURITY.md.

External Tool Prerequisites

Built-in TypeScript and JavaScript language support works out of the box. The following integrations require external tools installed separately on your system:

Feature Required External Tool
Python debugging / LSP debugpy (python3 -m pip install debugpy) / pylsp (python-lsp-server)
C / C++ debugging / LSP gdb with DAP support (tested on Linux with GDB 17) / clangd
Go debugging / LSP Delve (dlv) / gopls
Rust LSP rust-analyzer
Node.js / TypeScript debugging Standalone Microsoft vscode-js-debug DAP release archive (js-debug-dap; @vscode/js-debug-dap is not published on the public npm registry)
C# and F# execution .NET SDK 10+ runs standalone .cs files directly via dotnet run --file and F# via dotnet fsi. Older SDKs (< 10) or .csx scripts require dotnet-script (dotnet tool install -g dotnet-script).

Platforms & Verification Scope

Platform Artifacts Verification Status
Linux (x86-64) .AppImage, .deb End-to-end verified on Ubuntu across development and packaged builds (editor, Git, PTY terminal, Python/C/C++/Go debug fixtures, LSPs, local GGUF inference, Rust core, and P2P collaboration).
Windows (x64) NSIS .exe (Kalynt-Setup-2.2.0.exe) Built by CI (windows-2022) including Rust kalynt-core.exe, and covered by cross-platform unit, lint, and type-check CI jobs. Native installer signing tracked separately.
macOS .dmg, .zip (+ latest-mac.yml) Built and UI/IPC smoke-tested on CI (macos-latest Apple Silicon) including the Swift native helper (packages/native-macos), Rust kalynt-core, and PTY terminal verification. Native Apple signing and notarization tracked separately.

macOS updates: In-app macOS auto-updates via electron-updater require a code-signed release .zip archive alongside the .dmg. Kalynt 2.2.0 builds both targets; users on unsigned or manual installs should download the latest .dmg directly from GitHub Releases.

Local GGUF models use GPU acceleration where node-llama-cpp supports it (CUDA, Vulkan, Metal) and fall back to CPU automatically.


Architecture & Monorepo Layout

kalynt/
├── apps/desktop/              # Kalynt Desktop (Electron 42 + React 18 + TypeScript + Vite 7)
│   ├── electron/              # Main process: IPC handlers, AI gateway, MCP client, terminal/LSP/DAP, extensions
│   ├── src/                   # Sandboxed renderer: UI, Monaco editor, Zustand stores, Yjs P2P services
│   └── scripts/               # Build hooks (after-pack.cjs), test runner, Electron smoke suite
├── packages/
│   ├── crdt/                  # Shared Yjs CRDT helpers
│   ├── networking/            # P2P WebRTC connection layer
│   ├── shared/                # Common types and utilities
│   ├── native-core/           # Rust native sidecar (fast indexing/search)
│   └── native-macos/          # Swift native helper (FSEvents, CoreML, memory trimming)
├── examples/test-extension/   # Sample VS Code extension for command palette verification
└── website/                   # Static landing site builder

Key stack: Electron 42, React 18, strict TypeScript 5.7, Vite 7, ESLint 10, Monaco Editor, xterm.js, node-pty, Zustand, Yjs/y-webrtc, node-llama-cpp, Rust kalynt-core, IndexedDB, atomic JSON user-data files, and Electron safeStorage. See ARCHITECTURE.md for the full design.


Building from Source

Prerequisites: Node.js >= 22.12.0, npm >= 10, Python 3.10+, and a C++20-capable build toolchain (plus optional Rust/Cargo for packages/native-core and Swift 5.9+ on macOS for packages/native-macos).

git clone https://github.com/hermes-lekkas/Kalynt.git
cd Kalynt
npm ci
npm run electron:dev

Run tests, linting, and type checks:

npm test
npm run lint
npm run typecheck --workspace=apps/desktop
npm run typecheck:fixtures --workspace=apps/desktop

Build local installers (explicitly rebuilds node-pty for Electron and skips publishing):

npm run build --workspace=apps/desktop

Build the optional macOS Swift helper:

cd packages/native-macos && swift build -c release

Welcome Contributors & Community

Whether you're reporting your first bug, improving a doc page, sharing how Kalynt worked on your machine, or opening a pull request — you are warmly welcome here.

Want to… Start here
Ask a question or share an idea GitHub Discussions or SUPPORT.md
Share your first-session experience First-Session Feedback template
Report a bug or request a feature Open an issue
Make your first code or docs PR Read CONTRIBUTING.md (includes local setup, test commands, and good first areas)
Report a security issue privately See SECURITY.md and SECURITY_HYGIENE.md

Copyright © 2026 Hermes Lekkas ([email protected]).

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…