SharpCoder.Cli 0.25.0-beta.203

This is a prerelease version of SharpCoder.Cli.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global SharpCoder.Cli --version 0.25.0-beta.203
                    
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 SharpCoder.Cli --version 0.25.0-beta.203
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SharpCoder.Cli&version=0.25.0-beta.203&prerelease
                    
nuke :add-package SharpCoder.Cli --version 0.25.0-beta.203
                    

SharpCoder.Cli

sharpcoder is the terminal front-end for SharpCoder, an autonomous coding-agent loop built on Microsoft.Extensions.AI. It streams responses live, renders tool calls inline, reports per-turn and cumulative token/tool usage, supports saved sessions, and works with the providers shipped in SharpCoder.Providers (GitHub Copilot, GitHub Models, Ollama).

This is a .NET tool package. Install it with dotnet tool install, not dotnet add package — the latter is for the SharpCoder library.

Requirements

  • The .NET 11 SDK (needed to install .NET tools); the tool targets net11.0.
  • A model provider credential — for example GITHUB_TOKEN/GH_TOKEN, OLLAMA_API_KEY, or a local Ollama server. Credentials can also come from a dotenv file passed with --env <file>.

Install

dotnet tool install --global SharpCoder.Cli
sharpcoder --help

Prerelease builds from the develop branch:

dotnet tool install --global SharpCoder.Cli --prerelease
# or pin one: dotnet tool install --global SharpCoder.Cli --version 0.25.0-beta.123

Run it once without installing (requires .NET 10 SDK or later):

dnx SharpCoder.Cli -- --help

Pin it per repository as a local tool (dotnet-tools.json manifest):

dotnet new tool-manifest
dotnet tool install SharpCoder.Cli
dotnet tool run sharpcoder -- --help

Update or remove a global install:

dotnet tool update --global SharpCoder.Cli
dotnet tool uninstall --global SharpCoder.Cli

Quick start

# one-shot task (shorthand for `sharpcoder run "..."`)
sharpcoder "fix the build"

# interactive REPL (the default) — /help lists /save, /session, /config, /exit, ...
sharpcoder chat

# choose a provider-prefixed model, load a dotenv file and a YAML config
sharpcoder --model ollama-local/llama3 --env .env --config work.yaml "Review this repository"

# read-only review: no write_file / edit_file tools
sharpcoder --read-only "review the changes"

sharpcoder --help lists every flag, including --workdir, --max-steps, --reasoning, --bash, --shell, --confirm-tools, --verbose, --session/--save, --context-tokens, --retain-tokens and --markdown. Settings can be stored in ~/.sharpcoder/config.yaml; explicit command-line flags always win. The current startup folder is the working directory.

When built from source the executable is named SharpCoder.Cli; the published tool's command is sharpcoder. Several CLI examples and the built-in help text use the source binary name — substitute sharpcoder after installing the tool.

Full documentation, YAML schema, tool-confirmation behaviour and security notes: https://github.com/robkaandorp/SharpCoder#command-line-interface.

Security

Bash is disabled by default (--bash opts in, with no sandboxing). File writes are enabled but confirmed interactively on a terminal; use --read-only/--no-writes in untrusted or scripted environments. Web tools require a credential and are guarded by --confirm-tools. Only run the agent in workspaces you trust.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
0.26.0-beta.212 0 12/2/2026
0.26.0-beta.211 0 12/2/2026
0.26.0-beta.210 0 12/2/2026
0.25.0 0 12/1/2026
0.25.0-beta.208 8 12/1/2026
0.25.0-beta.207 9 12/1/2026
0.25.0-beta.206 10 12/1/2026
0.25.0-beta.205 62 11/30/2026
0.25.0-beta.204 58 11/30/2026
0.25.0-beta.203 55 11/30/2026