lr.Dotnet.AiCodingAgentTool 2026.3.24.1718

dotnet tool install --global lr.Dotnet.AiCodingAgentTool --version 2026.3.24.1718
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local lr.Dotnet.AiCodingAgentTool --version 2026.3.24.1718
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=lr.Dotnet.AiCodingAgentTool&version=2026.3.24.1718
                    
nuke :add-package lr.Dotnet.AiCodingAgentTool --version 2026.3.24.1718
                    

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

Installation

dotnet tool install -g lr.Dotnet.AiCodingAgentTool

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.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
2026.3.24.1718 184 3/24/2026