lr-ai-coding-agent 2026.3.19.1859
lr-ai-coding-agent
Execute arbitrary prompts via coding agent CLIs (Claude Code, GitHub Copilot, Gemini CLI). One interface for all coding agents — pass any prompt and get streaming output with tool use, cost tracking, and duration reporting.
Usage
Pass a prompt directly:
lr-ai-coding-agent -p "Refactor the auth module to use dependency injection"
lr-ai-coding-agent --prompt "Add unit tests for the UserService class"
Or pipe a prompt via stdin:
echo "Explain the architecture of this project" | lr-ai-coding-agent --stdin
cat my-prompt.txt | lr-ai-coding-agent --stdin
Target a specific directory:
lr-ai-coding-agent -p "Fix the failing tests" --working-dir /path/to/project
Options
| Option | Description |
|---|---|
--prompt, -p |
The prompt to send to the coding agent. |
--stdin |
Read the prompt from stdin. |
--working-dir <path> |
Target project directory. Defaults to current directory. |
--agent <name> |
Coding agent to use: claude, copilot, or gemini. Auto-detected if not specified (prefers claude > copilot > gemini). |
--cli-path <path> |
Path to the coding agent CLI executable. Auto-detected if not specified. |
Prerequisites
- .NET 10 SDK
- At least one coding agent CLI installed and available in PATH:
- Claude Code (preferred) — requires
ANTHROPIC_DEFAULT_SONNET_MODELorANTHROPIC_DEFAULT_OPUS_MODELenvironment variable - GitHub Copilot CLI
- Gemini CLI
- Claude Code (preferred) — requires
Installation
dotnet tool install -g lr-ai-coding-agent
Or run directly without installing:
dotnet tool run lr-ai-coding-agent -- -p "your prompt here"
Building from source
git clone <repository-url>
cd lr_ai_coding_agent
dotnet build AiCodingAgent
To pack and publish the NuGet package:
./pack-cli.sh
This sets the package version from the current timestamp (YYYY.MM.DD.HHMM) and pushes to the configured NuGet feeds.
This package has no dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 2026.3.23.1719 | 10 | 03/23/2026 |
| 2026.3.21.1448 | 21 | 03/21/2026 |
| 2026.3.20.1545 | 11 | 03/20/2026 |
| 2026.3.19.1859 | 13 | 03/19/2026 |
| 2026.3.19.1801 | 2 | 03/19/2026 |
| 2026.3.12.2214 | 71 | 03/12/2026 |
| 2026.3.12.2114 | 2 | 03/12/2026 |
| 2026.3.11.2318 | 4 | 03/11/2026 |
| 2026.3.11.2246 | 3 | 03/11/2026 |
| 2026.3.11.2218 | 2 | 03/11/2026 |
| 2026.3.11.2146 | 2 | 03/11/2026 |