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
Star History
Momentum
+13
STARS · LAST 30 DAYS
1
PER DAY
#212
MOST-STARRED C#
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +7 | +13 | +90 |
| Per day | 1 | 1 | 1 |
| 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
6
DAYS ON TRENDING
#319
BEST RANK
Sep 23, 2026
FIRST APPEARANCE
Active
STATUS TODAY
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
Optimized execution pipeline written in C# for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ 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
Install TensorSharp using your package manager: `git clone https://github.com/zhongkaifu/TensorSharp.git`
Initialize your project workspace or configuration file for TensorSharp.
Import TensorSharp into your codebase or invoke it directly from your terminal.
Execute your test suite or run `TensorSharp --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 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:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #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.