SharpClaw.Modules.Providers.LlamaSharp
0.1.0-beta
See the version list below for details.
dotnet add package SharpClaw.Modules.Providers.LlamaSharp --version 0.1.0-beta
NuGet\Install-Package SharpClaw.Modules.Providers.LlamaSharp -Version 0.1.0-beta
<PackageReference Include="SharpClaw.Modules.Providers.LlamaSharp" Version="0.1.0-beta" />
<PackageVersion Include="SharpClaw.Modules.Providers.LlamaSharp" Version="0.1.0-beta" />
<PackageReference Include="SharpClaw.Modules.Providers.LlamaSharp" />
paket add SharpClaw.Modules.Providers.LlamaSharp --version 0.1.0-beta
#r "nuget: SharpClaw.Modules.Providers.LlamaSharp, 0.1.0-beta"
#:package SharpClaw.Modules.Providers.LlamaSharp@0.1.0-beta
#addin nuget:?package=SharpClaw.Modules.Providers.LlamaSharp&version=0.1.0-beta&prerelease
#tool nuget:?package=SharpClaw.Modules.Providers.LlamaSharp&version=0.1.0-beta&prerelease
SharpClaw
Alpha. Single developer, early stage, lots of untested surface area. Read the full disclaimer.
Developer notice. The developer of SharpClaw has been hired to work on an undisclosed commercial enterprise tool inspired by this project. Future development on SharpClaw will be limited by time and contractual constraints, but the project is not abandoned. SharpClaw remains open-source under AGPL-3.0, and that will not change regardless of what happens with the commercial version.
SharpClaw is a local AI agent runtime for building agents that can use real capabilities without collapsing everything into one ungoverned shell. It combines provider abstraction, hot-loadable modules, resumable tasks, permissioned tool execution, persistence, audit trails, and optional desktop or gateway frontends in one .NET platform.
It can be a permissive solo coding agent, a headless automation server, an enterprise control plane, a multi-agent workspace, or the runtime behind a customer-facing AI application. The point is not to make every action painful. The point is that broad trust and narrow trust can coexist.
| Layer | What It Does | Why It Matters |
|---|---|---|
| Providers | Normalizes OpenAI-compatible APIs, Anthropic, Google, Ollama, LlamaSharp, and custom providers. | Applications keep the same agents, tasks, tools, and permissions while models change. |
| Modules | Hot-loads providers, tools, resources, task steps, gateway routes, metrics, and frontend hooks. | SharpClaw can gain new capabilities without rewriting Core. |
| Tasks | Runs resumable workflows with agent calls, tool calls, loops, branches, shared data, logs, and output streams. | Many intelligent workflows can live inside SharpClaw instead of needing a separate backend. |
| Permissions | Combines roles, resource grants, tool awareness, channel policy, and optional approval. | Trusted agents can be broad; focused agents and user-facing agents can be tightly contained. |
| Persistence | Supports encrypted JSON-file persistence and EF Core-backed relational persistence projects. | Local experimentation and higher-performance enterprise deployments can use the same contracts. |
| Frontends | Exposes Core through the API, optional Gateway, and modular Uno desktop shell. | SharpClaw can run headless, behind a public proxy, or as an extensible local app. |
Why Use It
Most agent systems give a model a terminal and hope the prompt holds. SharpClaw turns capabilities into typed actions owned by modules. A model can ask to edit code, call a browser, run a task, use a provider, or touch a legacy system, but the host decides what is visible, valid, allowed, approved, executed, logged, cost-tracked, and persisted.
That makes SharpClaw useful when one agent should edit a project freely, a helper model should only summarize text, a deployment task should need release approval, and a customer-facing agent should never see internal tools. A trusted role can still be broad. The value is that trust is explicit.
Tasks And Modules
Tasks are SharpClaw's application layer. A task can watch an event, call an agent, invoke tools, branch on output, store shared data, pause, resume, stream progress, and return structured results. A compliance review, release assistant, support triage flow, document intake worker, or build-and-test loop can be a task instead of a separate service.
Modules are how those tasks and agents get new abilities. A module can expose Computer Use, a browser, a terminal with custom rules, a medical device API, a Visual Studio or VS Code bridge, a Neovim adapter, a legacy desktop app, or a provider that is not OpenAI-compatible. A sufficiently trusted agent can even help build and hot-load new modules while SharpClaw is running.
Tasks As Structural Backpressure
SharpClaw tasks are C# scripts, which means they can do more than describe work for an agent to attempt. They can become structural backpressure inside the same language you are already shipping. A prompt can remind a model to preserve an invariant, but a task can compile, run, call typed APIs, assert facts about the result, and refuse the artifact in the same practical way a test refuses broken code.
That matters for AI coding loops because the important rule is often not "try harder" but "make the wrong path expensive to take by accident." A release task can check that generated routes still require the expected permission. A maintenance task can launch the product, exercise the gateway, inspect persisted state, and fail when the resulting shape is wrong. A migration assistant can ask an agent to make a change, run the code that proves the change is safe in your application terms, and feed the concrete failure back into the next iteration. The task is not a note in the prompt. It is executable pressure on the artifact.
Because tasks live as ordinary C# source, they can share DTOs, helpers, contracts, and assertions with the rest of the system. They can look like workflow automation when the goal is to get work done, and they can look like tests when the goal is to prove that a model, module, or user change still respects a project invariant. The useful line is not between "task" and "test." The useful line is between rules the model is asked to remember and rules the runtime can make it confront.
Add Your Own Features
SharpClaw is designed so new capabilities do not have to wait for Core to grow them. If you need Computer Use, you can add a module that owns the screen, mouse, keyboard, capture, policy, and approval surface you actually trust. If you need integration with a specific program, that module can wrap its API, CLI, IPC channel, COM surface, file format, or desktop automation path and expose it as typed tools and task steps. Once it exists, the same capability can be shared with other users instead of being trapped in one local script.
That is what makes modules more than mods. A module can contribute providers, tools, resources, task steps, triggers, gateway endpoints, metrics, and desktop UI hooks. It can be a small adapter around a single command, or it can be a whole product surface with its own routes, screens, background workers, and agent-facing contract. In practice, a SharpClaw module can be an integration, a policy layer, an automation pack, a development tool, or a complete web app that happens to run inside the same permissioned agent runtime.
The result is a runtime that can stay small at the center while the edge becomes highly specific. A hospital, game studio, law office, robotics lab, or solo developer can each add the tools and workflows that match their world without turning every agent into an unrestricted shell. SharpClaw gives those features a place to live, a permission model to stand behind, and a way to be reused by people who need the same capability later.
Runtime Shape
| Component | Role |
|---|---|
SharpClaw.Application.Core |
Agents, chat, jobs, permissions, tasks, modules, providers, costs, and logs. |
SharpClaw.Application.API |
HTTP surface over Core for headless and integrated deployments. |
SharpClaw.Gateway |
Optional public proxy with endpoint toggles, queueing, rate limiting, and module-contributed routes. |
SharpClaw.Uno |
Modular desktop frontend that can host module-provided UI hooks and manage local processes. |
DefaultModules |
Bundled providers, editor bridges, agent orchestration, metrics, and module development tools. |
The currently bundled modules are intentionally focused: Anthropic, Google, LlamaSharp, Ollama, OpenAI-compatible providers, Visual Studio 2026, VS Code, Agent Orchestration, Metrics, and Module Development. Older experiments such as browser control, office automation, Computer Use, and special-purpose shells are examples of what the module system can host, not guaranteed bundled features.
Getting Started
dotnet build SharpClaw.Application.API/SharpClaw.Application.API.csproj
dotnet run --project SharpClaw.Application.API/SharpClaw.Application.API.csproj
Then launch the Uno client, create the first admin account, add a provider,
sync models, create an agent, open a channel, and start chatting. Local
environment templates live under each process's Environment folder and are
copied into place when no local .env exists.
Documentation
Start with Core API Reference, Gateway API Reference, Tasks Documentation, and Module Creation Guide. Provider settings are covered in Provider Parameters, and local AppData log files are covered in Logging.
License
SharpClaw is licensed under the GNU Affero General Public License v3.0. Some bundled modules, generated assets, documentation examples, or third-party components may carry their own license notices; check the files and package metadata in the part of the project you are using. Report security issues through GitHub Private Vulnerability Reporting rather than public issues.
| Product | Versions 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. |
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.1.4-beta | 2,646 | 7/5/2026 |
| 0.1.3-beta | 53 | 7/5/2026 |
| 0.1.2-beta | 54 | 7/5/2026 |
| 0.1.1-beta | 47 | 7/5/2026 |
| 0.1.0-beta | 57 | 5/20/2026 |