-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
AI-AgentsAutonomous AI agents using LLMsAutonomous AI agents using LLMsCLI-UXCommand Line Interface user experience and best practicesCommand Line Interface user experience and best practicesLLM-cliSimonw's LLM cliSimonw's LLM clicode-generationcode generation models and tools like copilot and aidercode generation models and tools like copilot and aidershell-toolsTools and utilities for shell scripting and command line operationsTools and utilities for shell scripting and command line operationssoftware-engineeringBest practice for software engineeringBest practice for software engineering
Description
LLM Edit
Use LLMs to generate and edit files in your shell
This is a plugin for llm, a command line interface for both local and remote large language models.
Asking llama-3.1-8b to generate a new file to solve fizzbuzz
Description
llm edit is a command line tool to edit files using large language models. It allows users to provide a model with a file, context, and instructions to generate or modify the file on your behalf.
Usage Guide
# Install the tool
llm install llm-edit
# Edit a file
llm edit fizzbuzz.py create a program that solves fizzbuzz on an input number
# Add additional context files with -C
llm edit -C fizzbuzz.py fizzbuzz.js rewrite the program in js, dont use prompt
# Use any model within the `llm` ecosystem with -m
llm edit -m deepseek-v3 guide.md Write a guide on how to finetune a LLMHelp
# To see the CLI docs, run:
llm edit --helpAcknowledgments
This project would not be possible without the llm library and its creator, Simon Willison.
License
This project is licensed under the Apache License, Version 2.0.
Suggested labels
None
Metadata
Metadata
Assignees
Labels
AI-AgentsAutonomous AI agents using LLMsAutonomous AI agents using LLMsCLI-UXCommand Line Interface user experience and best practicesCommand Line Interface user experience and best practicesLLM-cliSimonw's LLM cliSimonw's LLM clicode-generationcode generation models and tools like copilot and aidercode generation models and tools like copilot and aidershell-toolsTools and utilities for shell scripting and command line operationsTools and utilities for shell scripting and command line operationssoftware-engineeringBest practice for software engineeringBest practice for software engineering
