{
 "schema_version": 1,
 "generated": "2026-10-26",
 "repo": "mattn/tensai",
 "name": "tensai",
 "owner": "mattn",
 "slug": "mattn-tensai",
 "github": "https://github.com/mattn/tensai",
 "what": "tensai is a small machine-learning framework written in pure Go that covers training, inference, and several local model runtimes.",
 "why": "117 stars, launched 68 days ago",
 "language": "Go",
 "requirements": [
  "Go toolchain (Go 1.26 or 1.27 is needed only for the GOEXPERIMENT=simd build)",
  "git to clone the repository",
  "Disk space for model checkpoints when using the image, audio, or embedding commands"
 ],
 "audience_note": "Go developers who want to learn, train, or run neural networks locally without Python or cgo.",
 "risk": "none",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Software and DevOps",
 "url": "https://dedupedai.com/use-cases/mattn-tensai/",
 "use_case_count": 4,
 "use_cases": [
  {
   "id": "mattn-tensai--train-small-network-in-go",
   "title": "Train a small neural network in pure Go",
   "best": true,
   "url": "https://dedupedai.com/use-cases/mattn-tensai/train-small-network-in-go/",
   "json": "https://dedupedai.com/use-cases/u/mattn-tensai/train-small-network-in-go.json"
  },
  {
   "id": "mattn-tensai--serve-local-embeddings-for-search",
   "title": "Serve local text embeddings for search or RAG",
   "best": false,
   "url": "https://dedupedai.com/use-cases/mattn-tensai/serve-local-embeddings-for-search/",
   "json": "https://dedupedai.com/use-cases/u/mattn-tensai/serve-local-embeddings-for-search.json"
  },
  {
   "id": "mattn-tensai--generate-images-offline-in-go",
   "title": "Generate images locally with Tensai image",
   "best": false,
   "url": "https://dedupedai.com/use-cases/mattn-tensai/generate-images-offline-in-go/",
   "json": "https://dedupedai.com/use-cases/u/mattn-tensai/generate-images-offline-in-go.json"
  },
  {
   "id": "mattn-tensai--export-trained-model-to-onnx",
   "title": "Export a trained Sequential model to ONNX",
   "best": false,
   "url": "https://dedupedai.com/use-cases/mattn-tensai/export-trained-model-to-onnx/",
   "json": "https://dedupedai.com/use-cases/u/mattn-tensai/export-trained-model-to-onnx.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
