The world's first language with built-in AI and native agent support. Describe what you want in English, get a complete application. Build agentic AI systems in 15 lines, not 500. Hardware accelerated. Cross-platform.
One file. One binary. Zero dependencies.
Other languages need 7+ packages for an AI API. NC needs one file.
The same AI classification API. Left is Python + Flask. Right is NC.
# classify_api.py import os from flask import Flask, request, jsonify from flask_cors import CORS from flask_limiter import Limiter from flask_limiter.util import get_remote_address import ai_client from dotenv import load_dotenv load_dotenv() app = Flask(__name__) CORS(app) limiter = Limiter( app=app, key_func=get_remote_address, default_limits=["100 per minute"] ) client = ai_client.init(api_key=os.getenv("API_KEY")) @app.route("/classify", methods=["POST"]) def classify(): data = request.get_json() text = data.get("text", "") response = client.complete( model="large", messages=[{ "role": "user", "content": f"Classify: {text}" }] ) result = response.choices[0].message.content return jsonify({"result": result}) if __name__ == "__main__": app.run( host="0.0.0.0", port=3000, debug=False )
// classify.nc
create server
enable cors
enable rate_limit 100 per "minute"
listen POST "/classify"
set text to body.text
ask AI to "Classify this text as
positive, negative, or neutral: {text}"
send AI.response
end
start server on port 3000
Build Plan-Act-Observe AI agents natively. No LangChain, no CrewAI, no boilerplate.
from langchain.agents import initialize_agent from langchain.agents import AgentType from langchain.tools import Tool from langchain.llms import NC import requests def search_web(query): resp = requests.get(f"https://api.search...") return resp.json()["results"] def summarize(text): return llm(f"Summarize: {text}") tools = [ Tool(name="Search", func=search_web, description="Search the web"), Tool(name="Summarize", func=summarize, description="Summarize text"), ] llm = NC(temperature=0) agent = initialize_agent( tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True ) agent.run("Research NC Lang and summarize") # + 20 more lines for error handling...
// agent.nc — agentic AI in NC
@tool "Search the web"
function search_web(query)
return fetch("https://api.search?q=" + query)
end
@tool "Summarize text"
function summarize(text)
ask AI to "Summarize: {text}"
return AI.response
end
agent researcher
goal "Research NC Lang and summarize"
end
run agent researcher
NC ships as a single binary with batteries included. No frameworks, no package managers, no configuration files.
Write code that reads like natural language. No semicolons, no braces, no cryptic symbols. If you can describe it, you can code it.
Use ask AI to anywhere in your code. AI isn't a library — it's a first-class language feature.
Create production-ready APIs with zero setup. No Express, no Flask, no external servers needed.
String manipulation, file I/O, JSON parsing, encryption, hashing — all included out of the box.
World's first language with its own AI model. Generates complete applications from English descriptions.
Hardware accelerated on every platform. Optimized inference for fast, efficient AI generation.
The entire NC runtime with built-in AI is under 600KB. No runtime, no VM, no interpreter chain. Just download and run.
Runs natively on macOS, Linux, and Windows. Same code, same behavior, every platform.
First-class agent keyword, @tool decorator, and run agent syntax. Plan-Act-Observe loop built into the language. Replace 500+ lines of Python (LangChain/CrewAI) with 15 lines of NC.
NC UI lets you describe interfaces in the same intuitive syntax you already know — now available.
// form.nc — build UI in plain English create page "Contact Us" add heading "Get in Touch" add input "Your Name" placeholder "Enter your name" end add input "Email" placeholder "you@example.com" type "email" end add button "Send Message" style "primary" on click submit_form end
From task managers to AI-powered code review, NC handles it all.
Full CRUD task management API with JSON persistence, filtering, and priority sorting.
AI-powered weather chatbot that interprets natural language queries and returns forecasts.
Submit code snippets and get AI-powered review with suggestions, security checks, and ratings.
Note-taking API with AI-powered summarization, tagging, and semantic search capabilities.
Production systems powered by NC, proving the language at scale.
Build beautiful interfaces in plain English. Declarative UI framework powered entirely by NC.
Your own AI engine — zero cost, zero cloud, zero GPU. Generate complete applications from English descriptions. Runs on your CPU, $0/month.
Multi-agent AI orchestration platform. Coordinate swarms of AI agents for complex tasks.
DevOps automation toolkit. CI/CD pipelines, deployment orchestration, and monitoring.
AI-powered financial intelligence. Real-time analytics and prediction on edge devices.
The NC AI engine. Runs on your CPU — no GPU required. Fast, efficient AI generation at zero cost.
The current release binary is validated to turn a complex English prompt into a complete NC Lang + NC UI scaffold with `service.nc`, `app.ncui`, `test_app.nc`, `README.md`, a compiled `dist/app.html` bundle, and semantic coverage for tenants, roles, analytics, approvals, and alerts.
nc ai create "multi-tenant operations dashboard with role based access analytics alert center approvals and dark theme"
One command. No package managers, no runtimes, no dependencies.
curl -fsSL https://nc.devheallabs.in/install.sh | sh
irm https://nc.devheallabs.in/install.ps1 | iex
docker pull nclang/nc:latest
@tool, agent keyword, run agent. Build Plan-Act-Observe AI agents in pure NC.