Built something? We create video reels & spotlights for GitHub projects.Promote your project →
zhongkaifu
Home / C# / TensorSharp

zhongkaifu/TensorSharp

A native .NET LLM inference engine and agent runtime for GGUF models. TensorSharp provides a console application, a web-based chatbot interface, iPhone App, and Ollama/OpenAI-compatible HTTP APIs for programmatic access. It supports Windows/MacOS/iOS/Linux with full GPU capability

C# ◇ ai BSD-3-Clause
★501STARS
⑂57FORKS
!3ISSUES
🏆#3,629GLOBAL RANK
🔥6DAYS TRENDING
🚀
Maintainer Growth Kit for TensorSharp

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for zhongkaifu/TensorSharp
CSV

Momentum

+13

STARS · LAST 30 DAYS

1

PER DAY

#212

MOST-STARRED C#

Window7 days30 days90 days
Stars gained+7+13+90
Per day111
Forks gained+1+3+10

TensorSharp gained 13 stars in the last 30 days, about 1 a day, and now has 501. It is about 1 year old and has averaged roughly 501 stars a year. It ranks #212 among C# repositories and #3,629 across all languages on GitHubRepo.

Trending Record

TensorSharp has maintained a continuous presence across global trending indexes, peaking at #319. Below is the 30-day activity profile:

💡 Overview

TensorSharp is an open-source project written in C#: A native .NET LLM inference engine for GGUF models. TensorSharp provides a console application, a web-based chatbot interface, and Ollama/OpenAI-compatible HTTP APIs for programmatic access. It supports Windows/MacOS/iOS/Linux with full GPU capability.

Engineered for speed, consistency, and developer ease, it solves common hurdles in ai, csharp, cuda. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in C# for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ git clone https://github.com/zhongkaifu/TensorSharp.git
cd TensorSharp

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

C# environment and standard tooling

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

TensorSharp coordinates its core functionality through a modular C# pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Autonomous AI Agents

Orchestrate intelligent workflows and tool-calling routines with TensorSharp.

Model Inference & Prompting

Integrate fast, local or cloud-hosted generative AI models directly into production code.

Context Memory & RAG

Augment language models with dynamic vector retrieval and structured project memory.

Developer Productivity

Automate repetitive engineering tasks, code generation, and test creation using AI agents.

🚀 Getting Started

1

Install TensorSharp using your package manager: `git clone https://github.com/zhongkaifu/TensorSharp.git`

2

Initialize your project workspace or configuration file for TensorSharp.

3

Import TensorSharp into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `TensorSharp --help` to verify successful setup.

👍 Strengths

Active community backing with 484 GitHub stars and verified adoption.
Permissive open-source distribution under the BSD-3-Clause license.
Built in C# for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with C# and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

V
2dust/v2rayN ★ 117.2K C#

A GUI client for Windows, Linux and macOS, support Xray and sing-box and others

Compare ↗
J
jellyfin/jellyfin ★ 57.5K C#

The Free Software Media System - Server Backend & API

Compare ↗
P
PowerShell/PowerShell ★ 55.5K C#

PowerShell for every system!

Compare ↗
F
files-community/Files ★ 45.7K C#

A modern file manager that helps users organize their files and folders.

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with C#, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

zhongkaifu/TensorSharp is currently ranked #3,629 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#3,621 apple/swift-nio-http2 Swift ★ 502 Compare ↗
#3,621 b310-digital/teammapper TypeScript ★ 502 Compare ↗
#3,621 kachofugetsu09/akashic-agent Python ★ 502 Compare ↗
#3,621 ExtendDB/extenddb Rust ★ 502 Compare ↗
#3,621 DavidCarliez/trustmebro Go ★ 502 Compare ↗
#3,629 zhongkaifu/TensorSharp This Project C# ★ 501
#3,629 stillwater-sc/universal C++ ★ 501 Compare ↗
#3,629 leandrocfe/filament-apex-charts PHP ★ 501 Compare ↗
#3,632 dustin/java-memcached-client Java ★ 500 Compare ↗
#3,632 vim-perl/vim-perl Vim Script ★ 500 Compare ↗
#3,632 mautrix/discord Go ★ 500 Compare ↗

Frequently Asked Questions

What does TensorSharp do? +

A native .NET LLM inference engine and agent runtime for GGUF models. TensorSharp provides a console application, a web-based chatbot interface, iPhone App, and Ollama/OpenAI-compatible HTTP APIs for programmatic access. It supports Windows/MacOS/iOS/Linux with full GPU capability

What language is TensorSharp written in? +

The primary language is C#. Topics include: ai, csharp, cuda, cuda-programming, deepseek.

Is TensorSharp actively maintained? +

Yes, the last recorded push was on Sep 27, 2026 with 3 open issues being tracked.

How many stars does TensorSharp have? +

TensorSharp has 501 stars and 57 forks on GitHub.

How does TensorSharp rank among GitHub repositories? +

With 501 stars, zhongkaifu/TensorSharp is ranked #3,629 globally across all repositories tracked on GitHubRepo and #212 among C# projects.

What license is TensorSharp distributed under? +

The repository reports a BSD-3-Clause license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.