levimackay

Lydia CLI — AI skill for Claude Code

AI community

Lydia is a local AI coding agent for the terminal.

How to install Lydia CLI

This entry records only its repository, not the path inside it, so there is no exact command to give. Open levimackay/lydia-cli and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Lydia CLI does

Lydia is a local AI coding agent for the terminal. It reads and edits your code, runs commands, and drives git through a local Ollama model. No API keys, no cloud, nothing leaves your machine.

Alternatives in AI

  • Code CLI — Open-source terminal coding agent 205 ★
  • Ovo Local LLM — A private Claude-Code-style coding agent for Apple Silicon — run chat, code, and local model workflows on-devi 105 ★
  • Comfyui MCP Panel — The local-first sidebar AI agent for ComfyUI — runs on your own Claude OR ChatGPT subscription (no API keys, n 101 ★

README

Lydia

[![tests](https://github.com/levimackay/lydia-cli/actions/workflows/test.yml/badge.svg)](https://github.com/levimackay/lydia-cli/actions/workflows/test.yml) [![PyPI](https://img.shields.io/pypi/v/lydia-cli.svg)](https://pypi.org/project/lydia-cli/)

*Named after my wife, Lydia, who always felt like she couldn't help with my coding projects or homework, so I built something that could.*

**A local AI coding agent for your terminal. No API keys, no subscriptions, no cloud.** Lydia reads your code, edits files, runs commands, drives git, and checks its own work by running your tests, all through a local [Ollama](https://ollama.com) model on your own machine. It's a personal alternative to Claude Code, Cursor's agent, or Copilot Workspace, for anyone who wants that workflow without paying for API usage or sending code to a third party.

   ██     ██╗  ██╗   ██╗██████╗ ██╗ █████╗      ██████╗██╗     ██╗     ██
  ████    ██║  ╚██╗ ██╔╝██╔══██╗██║██╔══██╗    ██╔════╝██║     ██║    ████
 ██████   ██║   ╚████╔╝ ██║  ██║██║███████║    ██║     ██║     ██║   ██████
 ██████   ██║    ╚██╔╝  ██║  ██║██║██╔══██║    ██║     ██║     ██║   ██████
  ████    ███████╗██║   ██████╔╝██║██║  ██║    ╚██████╗███████╗██║    ████
   ██     ╚══════╝╚═╝   ╚═════╝ ╚═╝╚═╝  ╚═╝     ╚═════╝╚══════╝╚═╝     ██

╭─────────────────╮
│ model  qwen3.5  │
│ project  Python │
╰─────────────────╯
Type your request, or /help for commands. Ctrl-D to exit.

Lydia (auto) > add input validation to the login handler and run the tests

The tradeoff is real: local models on consumer hardware are smaller and slower than a frontier hosted model, so Lydia won't be as capable. It's built for personal projects, learning, and "good enough and free" beating "best available and metered", and as a backup for when a hosted tool is down or you've hit its limit, for the routine stuff (why won't this compile, organize this folder) rather than deep multi-file work.

Features

  • A real coding agent. Reads fi