A coding agent that stays out of your way

Lightcode is a lightweight open-source coding agent built in Go. It reads your codebase, edits files, and runs commands from your terminal locally.

curl -fsSL https://lightcode.kartik.lol/install | sh

macOS · Linux · Windows · Go 1.25+

Tools that the agent has access to

Every action is one of these tools. The agent can read files, edit them, run shell commands, and ask you questions when it needs clarification.

readread_file(path, range?)

Pull any file into context, whole or by line range.

readlistdir(path, range?)

List the contents of a directory, whole or by line range.

readgrep(path, range?)

Search for a pattern in a file or directory.

readglob(path, range?)

Fast file pattern matching tool.

writewrite_file(path, contents)

Create a new file or overwrite one wholesale.

writeedit(path, old, new)

Apply a targeted, in-place edit to an existing file.

shellbash(command)

Run shell commands locally: build, test, git, anything.

metaask_question(prompt)

Pause and ask you instead of guessing at intent.

TUI

Built on Bubble Tea. Start typing and press enter to chat, and press / for opening the command panel.

/loginSign in to ChatGPT (Codex) or GitHub Copilot.
/modelsBrowse and switch the active model.
/sessionsList and jump between stored sessions.
/skillsShow the skills available to the agent.
/...Shows the available commands.
Lightcode terminal UI Image

Try Lightcode

It is Open source :)