ArthIQLabsStart a conversation →
Case study · No. 02April 2026
Client

Vedaksha

vedaksha.net ↗

A clean-room astronomical engine and Vedic computation library, built in Rust for the agentic AI era. Live in the browser via WebAssembly, with a 17-tool MCP server for agents.

RustWebAssemblyPythonMCP ServerJPL DE440/441BSL 1.1 to Apache 2.0
Product
Vedaksha
Role
End-to-end Build
Shipped
April 2026
Status
Live
Discipline
Design · Engineering · AI
Vedaksha, Jyotish concepts in the Rust type system, each cited to BPHS
Fig. 01 · vedaksha.net, every enum variant cited to chapter and verseRust · WebAssembly · v6.1.0
§ 01The Studio Loop

How we built it.

Agents drafted
Crate scaffolding, the bulk of the test suite, doc drafts, WebAssembly and Python binding boilerplate.
ArthIQ owned
Clean-room interpretation of the JPL ephemeris and IAU 2006 P03 specifications, the Rust API surface, the MCP tool contract, the BSL to Apache licensing model.
Review gates
Every formula against 24,350 JPL Horizons oracle rows, every public API signature, every MCP tool schema.
§ 02The Brief

A computational substrate for the agentic age.

The Vision

As AI agents become the primary interface for knowledge work, they need tools that speak their language: structured data, deterministic output, type-safe interfaces.

Not adapted. Not wrapped. Built.

Our Approach

We started from the primary sources: the original JPL ephemeris documentation, the IAU precession models, and the classical Vedic texts (Brihat Parashara Hora Shastra, Saravali, Phaladeepika, Jaimini Sutras). Every calculation was implemented from scratch in Rust with no legacy dependencies, across nine crates with one responsibility each.

Agents are the primary consumer, so the shapes follow. Every chart computation produces a property graph rather than flat data, every error carries a self-correction hint, and the MCP server exposes 17 typed JSON-RPC tools an agent can discover and invoke on its own.

9
Rust crates
1,053
Tests
24,350
Oracle rows
17
MCP tools
§ 03Architecture
vedaksha/*

Nine crates. One responsibility each.

Nine independent Rust crates, each with a single responsibility. Consumers pull only what they need, from raw ephemeris math up to the full MCP server. Seven are published to crates.io.

§ 01vedakshaUmbrella crate: ephemeris, charts, dashas, nakshatras. The optional locale feature carries all seven languages
§ 02vedaksha-mathChebyshev polynomials, angle arithmetic, interpolation, rotation matrices
§ 03vedaksha-ephem-coreSPK reader, coordinate transforms, Delta T handling
§ 04vedaksha-astro10 house systems, 11 sidereal ayanamshas, aspects, dignities, rise and set
§ 05vedaksha-vedic27 nakshatras, 5 dasha systems, 16 vargas, Shadbala, Ashtakavarga, compatibility
§ 06vedaksha-graphProperty graph ontology, with Cypher, SurrealQL and JSON-LD emitters behind a feature flag
§ 07vedaksha-mcpMCP server exposing 17 JSON-RPC tools to AI agents
§ 08vedaksha-wasmWebAssembly bindings via wasm-bindgen, npm only, no data files
§ 09vedaksha-py-engineThe C-ABI wasm shim behind the PyPI wheel, so Python runs the real Rust engine
§ 04Technical Foundation

Built for precision and longevity.

Rust (clean-room)
Astronomical computation written from first principles, with no legacy C or Fortran wrapped underneath
JPL DE440/441 + VSOP87A + ELP/MPP02
Planetary and lunar models, measured against 24,350 JPL Horizons rows spanning 1900 to 2100
IAU 2006 P03 + IAU 2000B
The full precession, nutation and aberration pipeline, to IAU standards
WebAssembly
Client-side computation in the browser via wasm-bindgen, with no server round trip
Python wheel
The PyPI package runs the real Rust engine through wasmtime, so Python and Rust cannot drift
MCP Protocol
17 structured JSON-RPC tools for agent discovery and invocation
Graph output
Property graphs with Cypher, SurrealQL and JSON-LD emitters
7-language i18n
EN, HI, SA, TA, TE, KN, BN, with every term localised
BSL 1.1 to Apache 2.0
Business Source License, converting automatically to Apache 2.0 on a fixed date
§ 05Delivered
8 items

What we shipped.

01 / 08Clean-room astronomical ephemeris engineJPL DE440/441, VSOP87A and ELP/MPP02, with the full IAU 2006 P03 pipeline
02 / 08Complete Vedic computation layer27 nakshatras, 5 dasha systems, 16 vargas, Shadbala, Ashtakavarga, Chara karakas, Gochara
03 / 08MCP server with 17 toolsStructured JSON-RPC tools with self-correction hints and graph output
04 / 08Property graph ontology with multi-format emittersCypher, SurrealQL and JSON-LD output from one model
05 / 08Five-surface distributioncrates.io, PyPI, npm, GitHub Container Registry and GitHub Releases, from a single Rust codebase
06 / 081,053 testsPlus 24,350 oracle rows regenerated and checksummed on every release
07 / 087-language localisationEnglish, Hindi, Sanskrit, Tamil, Telugu, Kannada, Bengali
08 / 08Documentation, playground, ontology, blog and pricingA Next.js site at vedaksha.net with live in-browser ephemeris via WebAssembly
Next
Tell us what you're building.

Whether it is the advice, the build, or running it once it is live, tell us what you are working on.

Start a conversation →