Skip to content

Pure C# - BCL only - offline - deterministic

A natural-language compute engine

Ask a math, science, finance, or text question in plain English. McAi routes it to a fleet of 35 narrow, verifiable bots - each an expert in one domain - which vote on the answer (a "jelly-beans consensus"). No large language model, no network, no randomness: every answer below is computed, reproducibly, by transliterated pure-C# math over the .NET base class library.

35consensus bots
425/425self-test health
1270/1270determinism corpus
99.9%probe answer accuracy
0external dependencies
mcai-all - running in WebAssembly
Qloading the engine...

Arithmetic & number theory

Order-of-operations arithmetic, primality, gcd/lcm, factorials.

math
sqrt(144) + 5*3
27
math
what is 15% of 240
36
math
sum of 1 to 100
5050
math
10! / (3! * 7!)
120
number-theory
is 97 prime?
yes
number-theory
gcd of 48 and 60
12
fraction
3/4 + 5/6
19/12

Combinatorics & sequences

Factorials, choose/permute, Fibonacci, triangular numbers.

combinatorics
factorial of 10
3628800
combinatorics
C(52,5)
2598960
combinatorics
P(10,3)
720
sequence
12th fibonacci number
144
sequence
10th triangular number
55

Geometry & vectors

Areas and volumes, the Pythagorean theorem, vector algebra.

geometry
area of a circle with radius 7
153.93804
geometry
volume of a sphere radius 3
113.097336
geometry
hypotenuse of 3 and 4
5
vector
dot product of (1,2,3) and (4,5,6)
32
vector
magnitude of vector (3,4)
5

Statistics & probability

Descriptive stats, correlation, z-scores, Bayes' theorem.

statistics
mean of 4 8 15 16 23 42
18
statistics
standard deviation of 2 4 4 4 5 5 7 9
2.13809
statistics
median of 3 1 4 1 5 9 2 6
3.5
statistics
correlation of 1,2,3 and 2,4,6
1
probability
z score of 130 mean 100 stddev 15
2
probability
bayes p(a)=0.01 p(b|a)=0.9 p(b|not a)=0.05
0.18

Finance

Loan payments, compound interest, tips, discounts.

money
monthly payment on a 200000 loan at 5% for 30 years
1073.64
money
compound interest on 1000 at 5% for 10 years
1628.89
money
tip on 60 at 20%
tip=12.00 total=72.00
money
20% discount on 80
64.00

Units, bases & dates

Unit conversion, number bases, Roman numerals, calendar math.

unit
convert 100 km to miles
62.1371
unit
convert 32 F to C
0
numberbase
convert 255 to binary
11111111
numberbase
42 in roman numerals
XLII
date
is 2024 a leap year?
yes
date
what weekday was 1969-07-20
sunday
date
days between 2000-01-01 and 2020-01-01
7305

Text & ciphers

String operations plus classic ciphers and encodings.

strings
reverse the string hello world
dlrow olleh
strings
is racecar a palindrome?
yes
cipher
caesar cipher shift 3 of HELLO
KHOOR
cipher
vigenere encrypt ATTACK key LEMON
LXFOPV
cipher
base64 encode hello
aGVsbG8=
cipher
morse code of SOS
... --- ...

Physics, graphs & word problems

Newtonian mechanics, shortest-path search, rate word problems.

dynamics
F=ma m=10 a=9.8
98 N
graph
shortest path a to d edges a-b:1 b-d:2 a-c:4 c-d:1
a->b->d cost=3
wordproblem
a train travels 300 km at 100 km/h how long
3 h
sort
sort 5 3 8 1 9 2 descending
9, 8, 5, 3, 2, 1

How it works

McAi normalizes the prompt, a weighted classifier routes it to a domain, and every relevant bot answers independently. A synthesizer reconciles the votes with numeric tolerance (0.333... = 1/3) and reports a calibrated confidence - a deterministic bot can never be out-voted by an estimate. The whole engine is a single self-contained binary (mcai-all) with zero packages: all real math comes from the frozen, verified OnlyCSharp library, portable by transliteration and AOT-clean.