Skip to content

gleachkr/Lectic

Repository files navigation

Lectic: A Conversational LLM Client

Lectic is a no-nonsense, file-based conversational LLM client. Each conversation is a simple markdown file, making it persistent, version-controllable, and easy to manage with your existing text-based tools.

Lectic is designed for research, reflection, self-study, and design. It allows you to bring multiple LLMs into a single conversation, integrate with external tools and data sources, and automate repetitive tasks, all from the comfort of your favorite text editor.

Key Features

  • File-Based Conversations: Every chat is a .lec markdown file.
  • Multiparty Chats: Seamlessly switch between different LLMs.
  • Powerful Tooling: Extend your LLM with shell commands, database access, MCP servers, and more.
  • Context Management: Easily include files, web pages, and command output in your conversations.
  • Automation: Use macros and hooks to streamline your workflows.
  • Editor Integration: First-class support for Neovim and VSCode, with integrations possible for any editor that can pipe text to a command.

Getting Started

To get started with Lectic, check out our documentation:

How It Works

Lectic processes a markdown file (.lec) containing your conversation. You add a new message, then run lectic on the file. Lectic sends the conversation to the specified LLM and appends the response to the file.

A simple conversation looks like this:

---
interlocutor:
  name: Assistant
  provider: anthropic
  model: claude-3-haiku-20240307
---

What is the capital of France?

:::Assistant

The capital of France is Paris.

:::

To learn more about the conversation format, configuration, and features, check out the documentation.

About

An LLM client where each conversation is a markdown file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages