lr.Dotnet.AiCodingAgentTool.any
2026.3.24.1718
dotnet add package lr.Dotnet.AiCodingAgentTool.any --version 2026.3.24.1718
NuGet\Install-Package lr.Dotnet.AiCodingAgentTool.any -Version 2026.3.24.1718
<PackageReference Include="lr.Dotnet.AiCodingAgentTool.any" Version="2026.3.24.1718" />
<PackageVersion Include="lr.Dotnet.AiCodingAgentTool.any" Version="2026.3.24.1718" />
<PackageReference Include="lr.Dotnet.AiCodingAgentTool.any" />
paket add lr.Dotnet.AiCodingAgentTool.any --version 2026.3.24.1718
#r "nuget: lr.Dotnet.AiCodingAgentTool.any, 2026.3.24.1718"
#:package lr.Dotnet.AiCodingAgentTool.any@2026.3.24.1718
#addin nuget:?package=lr.Dotnet.AiCodingAgentTool.any&version=2026.3.24.1718
#tool nuget:?package=lr.Dotnet.AiCodingAgentTool.any&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
- .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.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.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.3.24.1718 | 104 | 3/24/2026 |