CodeSharp.Cli.linux-x64 0.9.17-alpha

This is a prerelease version of CodeSharp.Cli.linux-x64.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package CodeSharp.Cli.linux-x64 --version 0.9.17-alpha
                    
NuGet\Install-Package CodeSharp.Cli.linux-x64 -Version 0.9.17-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodeSharp.Cli.linux-x64" Version="0.9.17-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeSharp.Cli.linux-x64" Version="0.9.17-alpha" />
                    
Directory.Packages.props
<PackageReference Include="CodeSharp.Cli.linux-x64" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CodeSharp.Cli.linux-x64 --version 0.9.17-alpha
                    
#r "nuget: CodeSharp.Cli.linux-x64, 0.9.17-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CodeSharp.Cli.linux-x64@0.9.17-alpha
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CodeSharp.Cli.linux-x64&version=0.9.17-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CodeSharp.Cli.linux-x64&version=0.9.17-alpha&prerelease
                    
Install as a Cake Tool

CodeSharp

A C#/.NET 10 agent harness built on Microsoft's Agent Framework (MAF), with a specialism in .NET development. Runs locally with zero required infrastructure and scales additively — Aspire, Docker, MCP servers, a web UI, and multi-agent orchestration are all opt-in, never required for the basic local workflow.

Status: alpha (0.9.x), cross-platform. Actively developed; behavior, config shape, and CLI surface can still change between releases. See Platform support below.

Quick start

dnx CodeSharp.Cli --prerelease -y

dnx (bundled with the .NET 10 SDK) runs the tool without a separate install step. --prerelease is required today since no non--alpha version has shipped yet. First run walks you through a setup wizard (provider/model selection, tool toggles). If you already have a known provider key exported (e.g. NVIDIA_NIM_API_KEY, CLOUDFLARE_API_TOKEN), CodeSharp notices at startup and offers to set that provider up for you — never silently. See Pre-setting a key before first run.

To install it as a persistent global tool instead:

dotnet tool install -g CodeSharp.Cli --prerelease
codesharp

What it does

CodeSharp is an interactive, terminal-first coding agent (Spectre.Console-based TUI) with:

  • Persistent named sessions/new, /resume, /sessions, with full conversation history restored across restarts.
  • Model provider flexibility — native Anthropic support (API key or claude setup-token subscription auth), OpenAI-compatible endpoints, Ollama for local/local-network models, and a provider registry (/provider add|list|edit|remove) with guided setup for several presets (including assisted key acquisition for providers like NVIDIA NIM).
  • Model tiering — beyond the default model, dedicated tiers for an advisor (/advisor, consult without acting), escalation (/escalate, hand a task to a stronger model), a cross-provider reviewer (/review), and context compaction (/compact) — each independently configurable, so e.g. a fast local model can review the output of a hosted frontier model.
  • In-place context compaction (/compact) — summarizes the middle of a long conversation while keeping the earliest and most recent turns verbatim, without starting a new session.
  • Built-in tools — file read/write/edit, grep/glob search, shell execution (workspace-confined, permission-gated), git inspection and first-class commit/branch/PR tools, web search/fetch, background process management, notebook (.ipynb) cell editing, and a scripting ladder from one-off scripts up to versioned, sandboxed local modules.
  • Multimodal inputread_image for image files, clipboard paste (/paste), and read_pdf for PDFs: text extraction by default, or render_pages to rasterize selected pages so a vision model can read a scanned or image-only document. Rendering is fully cross-platform (PDFium, no system dependency) and bounded by page/DPI/size caps; it is offered only to vision-capable models.
  • MCP support — both directions: connect to external MCP servers (stdio and HTTP transports, including Docker-managed server lifecycle) and expose CodeSharp's own tools over MCP.
  • Skills and sub-agents — Agent Skills (spec-compliant), named local sub-agents, and A2A (Agent2Agent) client/host support for cross-process agent orchestration, including sequential/concurrent workflows with human-in-the-loop approval.
  • Memory — opt-in semantic recall over past conversation turns and durable notes, plus a scheduled background "dreaming" pass that consolidates history into higher-level notes.
  • Feedback capture — built-in good/bad feedback capture with model metadata, exportable for fine-tuning (SFT/DPO formats).
  • Permission model — a risk-classed tool-approval gateway (Safe/Moderate/Destructive), plan mode (mandatory review-before-action), and a --yolo escape hatch for trusted automation.
  • Session continuity/handoff + /handoff-resume (and auto-refresh) for carrying context across a fresh session when the current one gets long; scheduled wakeups (--task <id> + OS-level scheduling) for headless, non-interactive runs.
  • Web UI (optional) — attach from a browser on the same device or LAN (QR-code pairing), alongside the terminal session.

Full configuration reference: see docs/configuration.md in the source repository.

Platform support

Each release ships packages for win-x64, linux-x64, osx-x64, and osx-arm64 (plus a portable package). CI builds and runs the automated test suite on Linux and Windows on every push/PR to main, and on macOS only when dispatched manually — so the default gate is two OS families, not three. Both default legs run on self-hosted runners rather than the hosted windows-latest/ubuntu-latest images. The Linux leg runs every test class; the Windows and macOS legs exclude the two Docker-dependent classes (DockerScriptSandboxTests/DockerBackgroundProcessTests), a known, documented gap — which also means container execution on a Windows host has never run in CI. The release workflow (tag push) re-runs build + test independently, on the self-hosted Windows runner only and with the same Docker-class exclusion — it is not a three-OS gate. OS-specific code paths (shell invocation, credential storage, path handling) each have a real, dedicated implementation per platform — e.g. DPAPI on Windows, the freedesktop Secret Service (libsecret) on Linux, and Keychain on macOS for credential storage; pwsh on Windows and bash/sh elsewhere for shell execution.

Documentation

  • docs/configuration.md — the exhaustive operator/end-user configuration and feature reference (permissions, providers/credentials, MCP, memory, web UI, plan mode, feedback export, and every other config key).
  • docs/claude-code-command-differences.md — read this first if you are arriving from Claude Code: the four commands (/rewind, /cost, /init, /compact) whose names CodeSharp shares but whose behaviour differs — plus /resume, whose divergence was closed on 2026-08-21.
  • docs/architecture/decisions.md — the locked architectural decisions (ADRs): IChatClient as the sole model seam, MAF as the engine, MCP as the plugin model, shell-first tooling, model tiering, Aspire-optional core, and more.
  • AGENTS.md — orientation for contributors and AI coding agents working in the codebase: the project map, conventions, build/test commands, and the spec-driven development workflow. It links focused topic docs under docs/agents/.

Contributing

Development follows a spec-driven cycle (brainstorm → spec → plan → test-first execution), with the design record committed under docs/. Start at AGENTS.md. The project currently operates directly on main (alpha, no live users yet) — see the development-workflow doc for details.

License

Not yet declared — no LICENSE file exists in the repository yet. Treat this package as all-rights-reserved until a license is published; if you need clarity for your use case, open an issue on the GitHub repository.

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.

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
0.9.18-alpha 43 8/23/2026
0.9.17-alpha 40 8/22/2026
0.9.16-alpha 44 8/22/2026
0.9.15-alpha 41 8/21/2026
0.9.14-alpha 59 8/14/2026
0.9.11-alpha 86 7/26/2026
0.9.10-alpha 73 7/23/2026
0.9.9-alpha 59 7/22/2026
0.9.8-alpha 58 7/22/2026
0.9.7-alpha 56 7/21/2026
0.9.6-alpha 56 7/20/2026
0.9.5-alpha 71 7/20/2026
0.9.4-alpha 61 7/20/2026
0.9.3-alpha 62 7/18/2026
0.9.2-alpha 66 7/18/2026
0.9.1-alpha 53 7/17/2026