Repository navigation
AI Native Vision
This document captures the high-level goals described in GEMINI_CONVERSATION.md and anchors them to implementable milestones.
Curlee’s core differentiator is not syntax polish: it is verification + sovereignty for AI-generated code.
- AI can already write Python/C++ code, but often produces “almost correct” logic.
- Curlee’s niche: make it impossible to run code unless it satisfies declared contracts.
- The goal is to reduce “code slop” by forcing machine-checkable specifications.
- Curlee code may declare:
-
requires/ensuresfunction contracts -
whererefinements
-
- The compiler must refuse execution when obligations cannot be proven.
The MVP verification fragment is defined in wiki/Verification-Scope.md.
Curlee aims to support a world where agents exchange tasks safely.
- The long-term handshake is “proof-carrying tasks”: ship a bundle that can be verified and executed by another agent.
- MVP strategy: the receiving side re-runs Curlee verification deterministically.
Key pillars:
- Capability-based security (no ambient authority)
- Deterministic VM
- Resource-bounded execution (“fuel”)
- Reproducible bundles (hashes, pinned deps)
Curlee syntax should be easy for LLMs to generate and for tooling to parse.
- No indentation-significant parsing.
- Explicit block delimiters.
- Prefer small, explicit keywords over magical punctuation.
See wiki/Syntax-Principles.md.
Because a new language has little training data, Curlee should generate a growing corpus of verified samples:
- MVP: ~500 passing programs under tests/correct_samples/
- Later: scale to ~100k LOC and optionally attach natural-language descriptions for RAG/fine-tuning.
Curlee should not compete with Python’s ecosystem head-on.
- Provide a
python_ffiboundary as explicitunsafe. - Encourage a pattern where Curlee:
- verifies input/constraints
- delegates legacy work to Python
This is intended to let Curlee business logic wrap frameworks like Django without inheriting ambient authority.
Gemini proposes a “tensor-first IR” and NPU/GPU-aware primitives.
Curlee’s pragmatic path:
- MVP: bytecode VM + deterministic execution.
- Later: add an optional tensor IR / accelerator backend once core verification + safety mechanisms are stable.