AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Logos is a compiled, statically-typed systems programming language built AI/DB-first — with ownership, traits, generics, and Writ, a built-in code+data substrate.
Developer toolsRust · C++GitHub @victor-smirnovOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
A systems language built for the models that write it. Ownership and borrowing, Writ as a first-class data substrate, Deem as integrated Datalog reasoner with batteries, compile-time metaprogramming as ordinary Logos code, targeting a heterogeneous compute model (LCM)
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
Logos is a compiled, statically-typed systems programming language with its own compiler (logosc), standard library, and runtime. It descends from ideas explored in the Memoria Framework, but is a standalone language platform — not a C++ framework layer.Read the full README ↗Logos is a compiled, statically-typed systems programming language with its own compiler (logosc), standard library, and runtime. It descends from ideas explored in the Memoria Framework, but is a standalone language platform — not a C++ framework layer.
.logos) with ownership/borrowing, traits, generics, monomorphization, and pattern matching.logosc) covering parse, sema, borrow checking, monomorphization, MLIR generation, and LLVM lowering.stdlib/) including a first-class Writ integration — a relocatable, schema-aware, tagged data substrate.The Rust-like surface was effectively chosen by the model. The original plan was a much simpler, IR-adjacent syntax with no expressions — explicit, verbose, optimised for small and mid-sized models. In practice the language also has to be pleasant for humans to read and write, and Rust turned out to sit in a sweet spot: expressive, low-level, a good DSL host, and — importantly — models generate it more reliably than most alternatives. Since Logos is built for models first, leaning into a syntax they already handle well is the pragmatic choice.
Logos inherits surface syntax, affine types, generics, and the ownership/borrowing model from Rust, but it is not Rust: not source-compatible, not aiming at portability in either direction, and willing to diverge wherever AI-first ergonomics, Writ-based code/data unification, compile-time programming as ordinary Logos code, or green-fiber concurrency without async coloring point elsewhere. Substantial divergence is expected in the near future.
@{...} / @[...] are literal forms in the grammar, capture ($ident, ${expr}) is type-checked at sema time, view types carry lifetimes through the borrow checker, and module-scope literals fold to rodata. No DSL, no macros, no FFI between values and data.Build the compiler. The compiler must be clang 20 — the generated parser does
not build with GCC, and CMake picks c++ (often GCC) unless you say otherwise:
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_COMPILER=clang++-20
cmake --build build
Compile and run a program. logosc emits a native object file, not an
executable — you link it against the stdlib archives yourself:
build/bin/logosc examples/writ_round_trip.logos -o round_trip.o
cc round_trip.o -Wl,--start-group build/lib/logos/*.a -Wl,--end-group \
-lpthread -lm -lstdc++ -Wl,--gc-sections -Wl,--allow-multiple-definition \
-o round_trip
./round_trip
(That is the same link line tests/logos/run_test.sh uses. Skipping it and
running logosc's output directly gives "Permission denied" — the file is an
ELF relocatable, and the 126 you see is the shell's, not the program's.)
Run the tests with scripts/lt. The full suite is over 11,000 tests, so lt
runs the part a task touches first: L0 is the task's own tests, L1 the groups
they belong to (tests/groups.rules), L2 everything else.
scripts/lt task new mytask /bc_/ tests_name # L0: names or /regexes/
scripts/lt run --level 1 --upto # L0, then L1
scripts/lt run --all # everything
scripts/lt run --group borrow_checker # one group
scripts/lt show TEST --output # a test's history and output
See the Getting Started guide for prerequisites and details.
logos/
src/ Compiler, runtime, Writ, HRPC, reactor, verification
stdlib/ Logos standard library and language runtime
tests/ Language test suites (pass / fail)
examples/ Example Logos programs
tools/ Supporting tools (PEG generator, audits, HRPC codegen)
docs/ Language spec, ADRs, and internal design notes
User-facing documentation — the guide, language spec, subsystem references (Writ, Hest, Deem, Trama, Metacall), API reference, and essays — lives on the project site: logos-lang.dev.
This repository keeps the normative language spec (the source the site renders), the divergences register, and engineering notes for contributors:
logosc pipeline.| Component | Technology |
|---|---|
| Language Implementation | C++23 |
| Frontend / Semantics | PEG parser + sema + borrow checker |
| Codegen Backend | LLVM / MLIR |
| Data Substrate | Writ (relocatable tagged object graphs) |
| RPC | HRPC (bidirectional streaming) |
| IO / Concurrency | io_uring reactor with green fibers |
| Build | CMake + Ninja, VCPKG |
| Platform | Linux (Ubuntu LTS) |
Active implementation. The compiler, runtime, and standard library are in daily use; the language has not stabilized and the documentation reflects the current state, not a frozen specification.
Dual-licensed under Apache 2.0 and MIT — at your option. See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for the full text and pick-your-licence rule.
The Logos Lang name and project marks are governed separately by TRADEMARKS.md — most descriptive uses are permitted without permission. Forks and derivative distributions must rename.
Patches are welcome. Contributions are dual-licensed (Apache 2.0 /
MIT, same as the codebase) and must include a DCO sign-off
on each commit (git commit -s ...). See
CONTRIBUTING.md for the full workflow.