⚠️ CRITICAL: KNOTENCORE v1.0.48 IS STRICTLY EXPERIMENTAL. DO NOT USE IN PRODUCTION.
"The tool is new. But the work—the idea, the direction, the judgment, the persistence—that remains with the human."
Read the full Founder Story →
Techno Disclaimer

Note: KnotenCore is Not a relentless German hardcore techno subgenre. We pump frames, not 160 BPM basslines.

v1.0.48 • "The Marketplace Launch" 🚀

KNOTENCORE ENGINE

The Agent-First Rust Engine. A deterministic, token-efficient powerhouse for AI agents. AI doesn't write React code for humans – AI writes Neural DSL for a bare-metal Agent VM.

Internal Flow

Modular Architecture

KnotenCore separates intelligence from execution. Your Agent defines the logic via AST; our engine handles the heavy lifting.

Module Role & Core Function
executor.rs Coordinator — Orchestrates data flow between all engine components.
evaluator.rs Interpreter (JIT) — Recursive evaluation of logic and high-level UI nodes.
vm/mod.rs Virtual Machine (AOT) — Ahead-of-Time Bytecode compiler for math-intensive loops.
renderer.rs Eyes — WGPU Pipeline, Blinn-Phong shading, and Native 3D Primitives.
window.rs Skin — Winit event-loop, native application lifecycle, and hardware input.
async_bridge.rs Nervous System — Non-blocking background workers for networking and data.
<
Foundation

Engineered for AI-Readiness

KnotenCore provides a machine-validated environment. Every node and function is formally specified to eliminate LLM hallucinations.

// docs/LANGUAGE_REFERENCE/nod_grammar.ebnf
expr = math_op | logical_op | fn_call;
node = "{" variant ":" args "}";
block = "[" { node } "]";
// docs/LANGUAGE_REFERENCE/node_types.json
"MathDiv": {
    "type": "object",
    "properties": {
        "lhs": { "$ref": "#/definitions/node" },
        "rhs": { "$ref": "#/definitions/node" }
    },
    "additionalProperties": false
}
// CLI --output-format json
{
    "status": "fault",
    "msg": "Fault: Div by zero (at Node::MathDiv)",
    "node": "Node::MathDiv",
    "hint": "Ensure rhs is not zero"
}
KnotenCore eliminates human-centric boilerplate. AI writes Neural DSL for a bare-metal Agent VM – no React, no GC, binaries at ~7 MB.

Zero Boilerplate

No NPM, no config hell. AI generates the AST; the engine handles execution.

Machine-Readable

Standardized Schema and Grammar enable zero-context-loss generation.

AOT Bytecode VM

Recursive interpreter for UI, flat Opcode VM for intensive computation.

Progress

Sprint Milestones

Sprint 1
Concept & Neural DSL Vision
Sprint 25
First Stack Machine (Opcodes)
Sprint 58
Neural DSL Parser v0.1
Sprint 89
AOT-Compiler (Binary Emission)
Sprint 109
Lock-Free Input Architecture
Sprint 118
Native JSON Parsing & FFI Bridge
Sprint 121
WGPU 3D Primitives & Shading
Sprint 124
AI-Readiness: Self-Healing & Context Engine
Sprint 132
VS Code Extension (Phase 1)
Sprint 134
Audit Rectification — Security & Reality
Sprint 137–144
LSP: Diagnostics, Hover, Completion, Rename, Goto
Sprint 146–152
GPGPU Compute Shaders & AI-DX Bridge
Milestone: v1.0.48
The Marketplace Launch 🚀
Tag: v1.0.48 • Target: main

KnotenCore v1.0.48:
The Marketplace Launch 🚀

KnotenCore crosses the threshold from experimental to globally available. The VS Code Extension is live on the official Marketplace, the native LSP server delivers real-time diagnostics and auto-completion, and the engine now routes computation directly to the GPU via WGPU Compute Shaders.

🛒 VS Code Marketplace Launch (Sprint 150–151)

KnotenCore Neon-K VS Code Extension Icon

Install directly in VS Code:

ext install holger-bl.knotencore
  • Syntax highlighting & snippets for .knoten and .nod files — live on the official Marketplace.
  • Native knoten_lsp server: real-time diagnostics (ERR_UNKNOWN_NODE), hover docs, auto-completion, rename refactoring, goto-definition.
  • Deep schema validation ("The Iron Shield") blocks malformed AST generation before execution.

⚡ GPGPU Compute Shader Acceleration (Sprint 146–152)

  • LoadComputeShader(wgsl_source) compiles WGSL shaders natively on the GPU via wgpu::Device.
  • DispatchCompute(id, x, y, z) fires GPU workgroups — for AI inference, simulations, data-parallel tasks.
  • Verified through all 10 engine layers: AST → Opcode → Compiler → VM → Registry → Window.

🔒 Compliance & Integrity

  • cargo clippy --workspace --all-targets -D warnings — 0 warnings. Enforced by GitHub Actions CI.
  • 3-Gate CI: cargo fmtcargo clippycargo test. Every push to main is automatically verified.
  • Audit autonomously conducted by AI Agent Antigravity — live proof of KnotenCore AI-Readiness.
Performance

AOT Compiler & Constant Pool

v1.0.28-alpha emits flat RPN-Bytecode. Reoccurring values (Strings, Floats) automatically stream into the deduplicated constant pool. This yields near O(1) allocation during AST evaluation and stops heap-explosion cold.

compiler.rs (v1.0.28-alpha)
// Memory Deduplication
let idx = compiler.add_constant(RelType::Int(10));
compiler.instructions.push(OpCode::Constant(idx));
async_bridge.rs
// Resilient Async Networking
let agent = ureq::AgentBuilder::new()
    .timeout(Duration::from_secs(10))
    .build();
Connectivity

Resilient AsyncBridge

Built for the modern web. The AsyncBridge offloads blocking I/O (like Fetch nodes) to dedicated background workers with strict timeouts. Your Agent stays responsive while global data is being retrieved.

Security

Hardened Sandbox

Security is not an afterthought. v1.0.28-alpha implements Strict Permissions by default. Agents cannot access the network or file system unless explicitly authorized via CLI flags. Absolute isolation for autonomous code.

run_knc.rs
// Secure by Default
engine.permissions.allow_fs_read = false;
engine.permissions.allow_fs_write = false;
machine.rs
// Error-Hardened ALU
OpCode::Add => {
    let r = stack.pop().ok_or("Stack underflow")?;
    let l = stack.pop().ok_or("Stack underflow")?;
    stack.push(l + r);
}
Turing-Complete

Stack-based Bytecode VM

The execution engine is now a true stack-machine (Instruction-Pointer based). Thanks to compiler backpatching, it natively supports conditional branching, loops, and blazingly fast RPN operations.