TensorSharp
Native .NET LLM inference engine and agent runtime.
Working when we checked on .
What is TensorSharp?
TensorSharp is a native .NET LLM inference engine and agent runtime for GGUF models. It targets developers and users who want to run local language models on their own hardware. The project provides a console application, a web-based chatbot interface, an iPhone app, and Ollama/OpenAI-compatible HTTP APIs for programmatic access. It runs on Windows, macOS, iOS, and Linux with full GPU capability, and includes multiple compute backends such as CUDA, GGML, and MLX.
TensorSharp pricing
Pricing model: Free
Free and open source
TensorSharp pros
- Runs GGUF LLM models natively on .NET across Windows, macOS, iOS, and Linux
- Offers Ollama/OpenAI-compatible HTTP APIs for programmatic access
- Includes multiple interfaces: console app, web chatbot, and iPhone app
- Provides multiple compute backends including CUDA, GGML, and MLX
- Includes agent runtime components (TensorAgent, AgentHost) and a Studio IDE project
- Ships with benchmarks, examples, docs, and a test matrix in the repository
TensorSharp cons
- Requires GGUF-format models, limiting use with other model formats
- GPU support requires specific hardware backends (CUDA, MLX) that depend on platform
- Repository pricing and licensing details for the tool itself are not shown on this page
- No paid support or service plans are offered for the tool
Frequently asked questions about TensorSharp
What is TensorSharp?
TensorSharp is a native .NET LLM inference engine and agent runtime for GGUF models. It provides a console application, a web-based chatbot interface, an iPhone app, and Ollama/OpenAI-compatible HTTP APIs.
Who is TensorSharp for?
It is for developers and users who want to run local LLM inference with GGUF models on their own hardware, with programmatic access via APIs and multiple client interfaces.
Which platforms does TensorSharp support?
It supports Windows, macOS, iOS, and Linux with full GPU capability, according to the project's description.
What APIs does TensorSharp expose?
It exposes Ollama-compatible and OpenAI-compatible HTTP APIs for programmatic access, allowing integration with existing tooling built for those ecosystems.
What interfaces are available for using TensorSharp?
The project includes a console application (TensorSharp.Cli), a web-based chatbot interface, a chat component, and an iPhone app.
What compute backends does TensorSharp include?
The repository contains backends for CUDA, GGML, and MLX, plus a CPU native backend, giving users hardware-specific acceleration options.
Does TensorSharp support AI agents?
Yes. The repository includes TensorAgent and TensorSharp.AgentHost projects, indicating an agent runtime for running agentic workflows.
Does TensorSharp include developer tooling and tests?
Yes. The repository includes benchmarks, examples, docs, test projects (e.g., TensorSharp.Studio.Tests, InferenceWeb.Tests), and a TestMatrix component.
Is TensorSharp free to use?
The repository itself is hosted on GitHub as an open project with no pricing page of its own; no charges for the tool are shown in the sources.
Where can TensorSharp's source code be found?
The source code is hosted on GitHub at github.com/zhongkaifu/TensorSharp, with 39 branches, 16 tags, and over 1,200 commits on the main branch.