An AI-native programming language with deterministic execution, explainability, and governed memory.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
namel3ss
Designed to be understood
Why namel3ss exists
Software has changed.
AI is now part of how applications think, decide, and respond.
But most programming languages were designed long before that.
So developers add AI with layers of glue like prompts, memory, tools, retries, and guardrails, all scattered across systems. It works.
Until it doesn't.
And when it fails, no one can clearly see what happened, or why.
namel3ss removes the glue.
AI, memory, UI, and logic are built into a single, deterministic model so every run can be understood, explained, and trusted.
What is namel3ss?
namel3ss is an AI-native programming language.
It treats AI as a first-class concept, while keeping execution explicit, state visible, and behavior explainable.
One .ai file can describe:
- what the application shows
- what it does
- how AI is used
- what memory is read or written
- and why each decision happened
Nothing is hidden.
Design guarantees
namel3ss is built around a few non-negotiable ideas:
-
Deterministic execution
Every run follows a clear, stable path. -
Frozen grammar and semantics
The language grammar is stable and phase-aware (STATIC vs RUNTIME) with identical rules enforced by CLI and Studio. -
Explicit AI boundary
AI is never implicit. Every AI call is visible and traced. -
Explainability by default
You can always ask: what happened, and why? -
Governed memory
Memory is explicit, inspectable, and policy-driven, not hidden context. -
One file, one mental model
UI, data, logic, tools, and AI live together, so intent stays clear. -
Frozen UI surface
The UI DSL is frozen for v0.1.x; changes are additive and documented.
These are not features.
They are guarantees.
Runtime guarantees
namel3ss provides the following guarantees, enforced by code, tests, and governance:
- Deterministic execution with an explicit AI boundary
- Read-only diagnostics (
n3 status,n3 explain) - Safe cleanup of runtime artifacts (
n3 clean) - Bounded, managed runtime artifacts (safe to delete)
- Governed memory with explicit writes and recall
- Contract-stable cli, grammar, and explain outputs
These guarantees are enforced and frozen for the v0.1.x series.
Installation
The recommended way to install n3 is with pipx, which keeps it isolated and globally available:
pipx install namel3ss
Or via pip:
python -m pip install -U namel3ss
Verify installation
n3 --version
n3 --help
Windows users
If n3 is not found, your Python Scripts/ folder may not be in your PATH.
You can always use the fallback command:
python -m namel3ss --help
Try it in 60 seconds
python -m pip install -U namel3ss
n3 --help
n3 new demo
cd demo
n3 run
What happens when you run n3 check
- Runs STATIC validation only: grammar, structure, schema, and manifest build.
- Does not require identity/env vars or runtime state; runtime-only rules become warnings.
- Mirrors Studio load exactly.
What happens when you run n3 run
- Executes flows with RUNTIME enforcement: identity/trust, permissions, capability checks, and data existence.
- Uses the same grammar and manifest you validated with
n3 check.
First-run defaults:
- Templates and demos include state defaults or component-provided defaults (chat, charts, cards).
- No identity or secret configuration is required to load or view the UI.
Troubleshooting
If n3 is not recognized:
-
Check installation:
python -m pip show namel3ss
-
Check location:
where n3 # Windows which n3 # macOS/Linux
-
Fallback command:
python -m namel3ss --help
Common PATH locations:
- Windows:
C:\Users\<User>\AppData\Local\Programs\Python\PythonXY\Scriptsor%APPDATA%\Python\PythonXY\Scripts - macOS/Linux:
~/.local/bin
On first run, the browser opens a working application with:
- an orders dataset
- an AI query flow
- deterministic execution and traceable decisions
About ClearOrders
ClearOrders is the reference experience for namel3ss.
It is intentionally not minimal.
It exists to demonstrate:
- AI operating over structured records
- explicit AI boundaries and deterministic execution
- explainable "Why?" outputs
- governed, inspectable memory
Understanding ClearOrders is sufficient to understand the core model of namel3ss.
Grammar and compatibility:
- Grammar and semantics are frozen and phase-aware; see
docs/language/grammar_contract.md. - Backward-compatibility policy is defined in
docs/language/backward_compatibility.md. - Changes that affect grammar or semantics require an RFC (
docs/language/rfc_process.md). - CI enforces grammar contract tests and STATIC build checks for templates/examples to prevent drift.
What makes it different
- One
.aifile defines data, UI, backend logic, and AI. - Deterministic execution environment by default; AI is explicit and traced.
- Built-in run summary and explanations for flows, tools, and UI.
- File-first CLI and Studio for inspection and interaction.
- First-run experience that opens the demo in a browser automatically.
Build agents you can explain
- Agent Builder in Studio scaffolds agents from deterministic patterns.
- Agent Timeline shows memory, tool usage, merges, and handoffs as trace-backed facts.
- Memory Packs and handoff previews keep agent memory explicit and inspectable.
- Merge policies make multi-agent outputs predictable and traceable.
- Tool-call lifecycle events are canonical across providers.
Evaluate and ship
n3 evalruns deterministic evaluation suites and emits stable JSON/TXT reports.- Eval results are wired into release gates to prevent regressions.
Beta lock surfaces
- Agent explain payloads, tool-call lifecycle events, merge lifecycle events, memory pack events, and CLI outputs are contract-stable and enforced by tests.
Expressions
Flows support concise, deterministic math and list transforms:
let:blocks for grouped declarations (multi-line or inline comma entries)between/strictly betweencomparisons**exponentiation (right-associative;-2 ** 2is-(2 ** 2))- list aggregations
sum/min/max/mean/medianwith strict numeric validation - list transforms
map/filter/reducewith scoped binders calc:formula blocks, includingstate.<path> = ...assignments
Example:
spec is "1.0"
flow "demo":
let numbers is list:
1
2
3
10
calc:
doubled = map numbers with item as n:
n * 2
big = filter doubled with item as x:
x is greater than 5
state.total = reduce big with acc as s and item as v starting 0:
s + v
state.avg = mean(big)
d = 2 ** 3 ** 2
ok = state.total is between 0 and 100
return map:
"total" is state.total
"avg" is state.avg
"d" is d
"ok" is ok
Quickstart (non-demo)
n3 new starter my_app
cd my_app
n3 app.ai
Minimal UI example:
page "home":
title is "Hello"
text is "Welcome"
Optional AI example:
ai "assistant":
provider is "mock"
model is "mock-model"
system_prompt is "You are a concise assistant."
flow "reply":
ask ai "assistant" with input: input.message as reply
return reply
This is the core idea:
intent first, execution second, explanation always.
Who namel3ss is for
namel3ss is for:
- builders exploring AI-native application development
- developers who care about explainability and trust
- language and tooling enthusiasts
- learning, experimentation, and internal tools
namel3ss is not trying to replace Python or JavaScript.
It is exploring what comes next.
Status
namel3ss is in alpha (v0.1.0a9). It is suitable for learning and experimentation, not production.
Expect breaking changes between alpha revisions.
Start here (learning path)
Documentation index
Getting started
- Learning book
- Quickstart
- First 5 minutes
- What you can build today
- Examples
- Demo: CRUD dashboard
- Demo: onboarding flow
- Demo: AI assistant over records
- Documentation directory
UI
Explainability
- Execution how
- Run outcome
- Tools with
- UI see
- Errors fix
- Build exists
- CLI: exists
- CLI: fix
- CLI: what
- CLI: when
- CLI: with
Tools & packs
Deployment & production
- Quick deployment guide - Docker and systemd deployment
- Production deployment guide - Comprehensive production setup
- Production readiness roadmap - Path to v1.0
- Targets and promotion
Trust, memory & governance
Memory in one minute: namel3ss memory is explicit, governed, and inspectable. It records what matters (preferences, decisions, facts, corrections) under clear policies, with deterministic recall and traceable writes, so AI behavior can be reviewed instead of guessed. You can inspect what was recalled or written through Studio and CLI explanations.
Stability & limitations
- Stability
- Expression surface v1
- Spec freeze
- Canonical version map
- Beta checklist
- Known limitations
- Changelog
Community & support
About the name
The "3" in namel3ss is intentional.
It reflects a belief:
the basics of a programming language should be understandable in minutes, not hours.
For us, "3" is a reminder.
If the core ideas of namel3ss cannot be understood in about three minutes, the language, not the developer, has failed.
When that happens, we redesign it.
Contributing
Read CONTRIBUTING.md and ECOSYSTEM.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file namel3ss-0.1.0a9.tar.gz.
File metadata
- Download URL: namel3ss-0.1.0a9.tar.gz
- Upload date:
- Size: 979.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba12dc9cd96ab5527f16be7b3302bc10937852b8d5944a67d409b7854f9fd2e2
|
|
| MD5 |
e5100e830820c53260a6dec02c53b8e8
|
|
| BLAKE2b-256 |
7d3a8f51d136cde604f44ae796fceeb79ff3023ec6cb6f2b202fa31643d29993
|
File details
Details for the file namel3ss-0.1.0a9-py3-none-any.whl.
File metadata
- Download URL: namel3ss-0.1.0a9-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
966dd01fdf94e876c45354cfae26ab96a064670fa2a19182b13e879227af2b55
|
|
| MD5 |
195ee3e404f683fb51616cec7c2a1bd6
|
|
| BLAKE2b-256 |
c5fa92a30a8c346e1927635ca48625e33ad164b5ba7476a71449296576d15faf
|