Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseCode / SDK · ActionableHabr AI→ original

Thinkmine Releases Kobo, a .NET Language With Prompts Built Into the Syntax

Thinkmine has released Kobo, a language for .NET in early access, where prompts and AI tools are built directly into the syntax. A prompt is written as a block such as prompt:int result { ... } with values inserted via ${...}, and a function marked with the [tool] attribute can be called by the model itself. The language is at an early stage and its syntax will still change, so it suits experiments with agents but is too early for production.

AI-processed from Habr AI; edited by Hamidun News
Thinkmine Releases Kobo, a .NET Language With Prompts Built Into the Syntax
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
Key metric #1The compiler installs on top of the .NET 11 SDK as a dotnet tool
Key metric #2Kobo has a built-in json type and requires/ensures contracts for functions
Key metric #3Extensions are available for Visual Studio Code and Visual Studio 2026

Today, almost anyone who connects a language model to a .NET application does so through a third-party SDK: they assemble a prompt string, send the request, parse the response, and manually describe the functions the model may call. Thinkmine offers a different approach and has released Kobo, a general-purpose language in early access where all of this is part of the language itself. The authors explicitly tie the project to the growth of agentic development and specification-driven code generation: code is increasingly written jointly by humans and AI agents, and the language is meant to be convenient for both.

A prompt as part of the program

The core idea of Kobo is native AI support. A prompt is declared as an ordinary construct: prompt:Type name { ... }. Inside the block is plain text, and values from the program are inserted via ${expression}. If a literal fragment is needed, it is escaped as \${...}. The type in the declaration specifies the form in which the program expects the answer: for example, prompt:int result means the result will be an integer.

The second element is tools. A function is marked with the [tool] attribute and a description, for example description("Adds two integers"), and it becomes available to the model. In the example from the announcement, the prompt asks to compute the sum of 20 and 22 using the function Add, and the result is checked with ordinary matching: if result is int number. Prompts work in #:script scripts or in asynchronous functions. This requires a configuration file, kobo.ai.json. Programs in Kobo can also be packaged as skills for external agents, in particular in Visual Studio Code.

For a developer, this means a model call stops being a string inside someone else's client and becomes a typed part of the code that both the compiler and a human reading the code can see.

Syntax and built-in features

Declarations in Kobo are uniform: the kind of entity is indicated with a colon, for example class:Name, function:Type Name(...), property:Type Name, var:Type name, or const:Type name. Modifiers and attributes are written in square brackets, such as [public, static]. Blocks are delimited with curly braces, and the semicolon in simple one-line expressions can often be omitted. The authors call this the principle of declaration consistency: it is easier for both a human and an agent to predict what the next line looks like.

Other features include:

  • a variable needs an initial value, and var name = value infers the type automatically; for dynamic binding there is var:dynamic, and for type unions there is var:union(...);
  • there are nullable types, the ?. and ?? operators, collections in square brackets, and queries starting with select;
  • functions support generics, asynchrony, extensions, delegates, and lambdas;
  • the preconditions requires and postconditions ensures let you describe what a function accepts and what it must return, referring to the return value via result;
  • the json type is built into the language: it has properties, indexers, and implicit conversions to and from strings, and parse errors throw JsonException.

The requires and ensures contracts are especially useful when an agent writes the code: verifiable conditions on a function's inputs and outputs help catch errors in generated code faster.

Two more principles of the project are reliance on the existing .NET runtime and self-documentation. Comments with the ### prefix can be turned into Markdown documentation with the --markdown flag, and --publish-code saves the source listing.

How to try it, and the limitations

The compiler is installed with the command dotnet tool install --global thinkmine.kobo.lang --prerelease. It runs on top of the .NET 11 SDK. The build, run, and generate commands accept a --source parameter with a path to a file or folder, and the --recursive flag adds subfolders. If the program has a static Main, the result is an executable; if not, it is a library. For .NET projects there is the thinkmine.kobo.lang.buildtools package. Extensions are available for Visual Studio Code and Visual Studio 2026, and the sources are on GitHub.

The limitations are clear. The project is at an early stage, and the authors warn that the syntax may still change. The .NET 11 SDK is required, meaning a recent version of the platform. AI features require configuration, and the announcement does not specify which models and providers are supported.

The practical takeaway is simple. The language is too early for production, but a team building agents on .NET should look at how prompts and tools look at the language level. The idea of verifiable contracts and typed model responses is useful beyond Kobo: it can be carried over into ordinary C# code if prompts and tools are structured according to the same rules.

Story

Key Questions Answered

What are the key details on A prompt as part of the program?

The core idea of Kobo is native AI support. A prompt is declared as an ordinary construct: prompt:Type name { ... }. Inside the block is plain text, and values from the program are inserted via ${expression}. If a literal fragment is needed, it is escaped as \${...}. The type in the declaration specifies the form in which the program expects the answer: for example, prompt:int result means the result will be an integer. The second element is tools.

What are the key details on Syntax and built-in features?

Declarations in Kobo are uniform: the kind of entity is indicated with a colon, for example class:Name, function:Type Name(...), property:Type Name, var:Type name, or const:Type name. Modifiers and attributes are written in square brackets, such as [public, static]. Blocks are delimited with curly braces, and the semicolon in simple one-line expressions can often be omitted.

How to try it, and the limitations?

The compiler is installed with the command dotnet tool install --global thinkmine.kobo.lang --prerelease. It runs on top of the .NET 11 SDK. The build, run, and generate commands accept a --source parameter with a path to a file or folder, and the --recursive flag adds subfolders. If the program has a static Main, the result is an executable; if not, it is a library. For .NET projects there is the thinkmine.kobo.lang.buildtools package.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Thinkmine Releases Kobo, a .NET Language With Prompts Built Into the Syntax https://news.hamidun.com/en/news/18337/thinkmine-releases-kobo-a-net-language-with-prompts-built-in

What do you think?
Loading comments…