← Back to articles
TechnologyDeveloper preview · v1.1.0 published

QuantsMind SDK: A First-Principles Layer for Scientific Modelling

QuantsMind SDK is an open, vendor-independent Python SDK published on PyPI as version 1.1.0, organised around a single ontology of entities, state, interactions, observations and knowledge. This article explains the modelling core, the domain packages built on it, and the distinction between a working software model and a scientifically validated result.

Scientific software tends to accumulate isolated libraries, each solving one problem in its own terms: a numerical package, a chemistry package, an agent framework, a graph store. The cost is paid at the boundaries, where one library's notion of an entity has to be translated into another's. QuantsMind SDK takes the opposite approach: define a small vocabulary for what it means to model a system, then let every domain specialise that same vocabulary. The result is less about any single scientific capability than about the consistency of the modelling layer underneath them.

The core ontology

At the centre of the SDK is a first-principles model of how systems behave. An entity is a thing being represented, with identity, properties, behaviour, relationships and constraints. State is the condition of that entity at a point in time, and state is what changes. An interaction is an event or operation between entities that causes state to change. An observation is information captured from interactions or from state. Knowledge is structured understanding derived from observations, state and patterns over time.

The value of this arrangement is that the sequence is executable. An entity can be instantiated, given state, allowed to inter, be observed, and have those observations folded into knowledge — and the same five steps describe a market position, a chemical system or an agent's memory. It also constrains package design: a domain package is expected to specialise the foundation rather than invent a parallel model, which is what keeps the packages composable.

Package architecture

The SDK is layered: a foundation ontology at the bottom, mathematics above it, then domain packages that specialise both, with applications and future products expected to sit above those. The dependency direction is defined rather than emergent, which is the usual way a codebase of this size avoids becoming difficult to change. Every package is intended to be developable independently without entangling the others.

The published distribution is named quantsmind and targets Python 3.13 or newer, using modern typing, protocols and dataclass conventions from the start. Eight design principles govern the work — general purpose, modular, Python-native, reusable, explicit architecture, extensible, developer-oriented and technology-neutral — of which the last is the most consequential in practice: the SDK makes no assumption about which hardware, cloud, database or runtime it executes on.

Implemented capability

Version 1.1.0 is not a structural sketch. It contains implemented packages across mathematics — algebra, calculus, numerical methods, statistics and optimization — together with domain packages for chemistry, biology, astronomy, cosmology and finance, where the finance package covers time-value, cash-flow and bond mathematics. Two packages extend beyond physical modelling. The AI packages provide messages, a model-backend interface, memory, tools and an agent loop; the knowledge package provides graph traversal and provenance. There is also a compiler front-end package implementing an expression lexer, parser, AST, constant folding and evaluation.

Runnable domain and cross-domain examples ship with the release and are covered by an example-execution test suite, so the examples are executed rather than merely written. Documentation is in-repository: an architecture overview, layering model, package dependency rules, a foundation specification covering class lifecycle, events, validation and serialization, architecture decision records, and coding, naming and versioning standards.

Maturity and limitations

The honest framing is a developer preview with a published release. The distribution metadata carries a "Production/Stable" development-status classifier, but that is a self-declared packaging label rather than an independent assessment, and this article does not treat it as one. The project's own roadmap places core abstractions and an exception hierarchy, a runtime executor with provider contracts and simulation, and deeper AI reasoning in the next phase rather than the current release, with plugins, telemetry and security hardening after that.

Conclusion

QuantsMind SDK provides a consistent modelling foundation across mathematics, the sciences, finance, agents and knowledge graphs, with real implemented packages behind the 1.1.0 release. Its contribution is structural — one vocabulary applied consistently — and its numerical credibility is domain-specific and largely unbenchmarked, which is the distinction to keep in mind when its output is used for anything consequential.

Also on this site