Skip to main content

Lyne: AI CODING ASSISTANT

Project description

Lynecode

Lynecode is an AI coding assistant from LyneLabs. It brings a fast terminal UI, built-in project indexing, an opinionated toolset, and optional AI models (OpenAI, Gemini, Azure OpenAI) with your keys. Run it on any folder and work from a powerful chat workflow.

Why Lynecode is different

  • Integrated version control safety-net: Lyne maintains its own backup snapshots (time_machine in your target path). You can explore diffs and restore changes without relying solely on git.
  • Built-in analyzers and guards: Bug and code-quality analyzers help spot issues quickly (without exposing internal implementation). Optional static checks are available via extras.
  • Context-rich workflow: Attach files/folders inline, fuzzy-find by name, and navigate conversations with a clear menu.
  • Model-agnostic: Bring your own keys for OpenAI, Google Gemini, or Azure OpenAI and switch models on the fly.

Installation

pip install lynecode

Python 3.9+ is recommended.

Quick start

  • Run on a specific path:
lynecode "D:/projects/myrepo"
  • Or from your current working directory (Lynecode resolves to an absolute path):
lynecode
  • Alternative entry commands:
lyne code "D:/projects/myrepo"
lyne code
lyne

Basic usage

Once launched, you’ll see a banner and a prompt. Type your request or use the in-app menus:

  • Show navigation menu: /menu
  • Help: /help
  • Switch conversations: /chats
  • Model settings: /model or /switch <model>
  • Quit: quit

Attach files/folders inline

  • Attach a file: add /file:<name_or_term> inside your message
  • Attach a folder: add /folder:<name_or_term> inside your message Lynecode will fuzzy-match and help you pick the right target, then keep attachments visible after responses.

Choosing and switching models

  • Open the model menu from navigation (/menu → “Model Settings”) or run /model.
  • Switch directly with /switch <model_name>.
  • The default model is used if configured.

Supported providers (bring your own keys):

  • OpenAI (e.g., gpt-4.1, gpt-5)
  • Google Gemini (e.g., gemini-2.5-flash, gemini-2.5-pro, with optional “-thinking” variants)
  • Azure OpenAI (your deployment name)

Configure API keys (secure, menu-driven)

Launch the API Configuration from the navigation menu:

  • /menu → “API Configuration”

Follow prompts to set keys:

  • OpenAI: API key (sk-...)
  • Gemini: API key
  • Azure OpenAI: API key, endpoint, API version (optional), and deployment name

Keys are stored securely via Lynecode’s config manager and masked in the UI.

Built-in version control workflow

Lynecode automatically creates a hidden time_machine folder inside the target directory. It’s your safety-net:

  • Auto snapshots around operations
  • View diffs and restore via the Version Control menu
  • Works even if the target folder is not a git repo

Open from navigation:

  • /menu → “Version Control”

Feature highlights

  • Intelligent file edits (create/replace/delete blocks)
  • Project-wide searching (grep/AST-backed and fuzzy indexing)
  • Web reading and search helpers
  • Conversation history with attachments
  • Rich terminal output where supported; plain fallback otherwise

Windows notes

  • Paths like C:\path\to\project are fully supported
  • Hidden time_machine folder is created for snapshots (Windows attributes applied when possible)

Compare: Lynecode vs Cline/Gemini CLI

  • Safety first: Lynecode’s built-in snapshotting means quick rollback without external VCS.
  • Deep project tooling: File block edits, AST/grep, and fuzzy search integrated in one place.
  • Menu-driven UX: Rich menus for models, API setup, attachments, version control.
  • Provider-agnostic: Switch between OpenAI, Gemini, or Azure OpenAI at runtime.

Troubleshooting

  • If terminal colors aren’t showing, Lynecode falls back to plain text automatically.
  • Ensure your API keys are valid (placeholders are detected and blocked with helpful messages).
  • Some optional analyzers are in extras; install with:
pip install lynecode[dev]

Uninstall

pip uninstall lynecode

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lynecode-0.1.0.tar.gz (139.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lynecode-0.1.0-py3-none-any.whl (155.9 kB view details)

Uploaded Python 3

File details

Details for the file lynecode-0.1.0.tar.gz.

File metadata

  • Download URL: lynecode-0.1.0.tar.gz
  • Upload date:
  • Size: 139.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for lynecode-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1346932237b07e19c3ce2bb84e75bb9b52a9d2e23e181e3f6a69e3b289d27c1f
MD5 15f7a9241c30bcca4327b6fc7edf7c51
BLAKE2b-256 f23c228e0e27d153925ef42f6f2761c5119e415dabbb0500f3931a978355213a

See more details on using hashes here.

File details

Details for the file lynecode-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lynecode-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 155.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for lynecode-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 34f5d9f20438c46e5405ee4521fba9e523ee17410a44d9986eb002958418b8f3
MD5 d93bf2f47aa4bf4b6c682f222739f4cb
BLAKE2b-256 812709bfd302fcb17ebe42ac395dba0c72c56145aa843fadb778421832f2d594

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page