MathKernel是一个开源数学计算系统,可同时作为Python库和MCP服务器部署使用1。该系统使大语言模型和应用程序能够执行高级数学计算,同时完整保留假设、来源和针对特定声明的证据1。通过将LLM的意图解释与数学证据的建立分离,MathKernel为每个计算结果赋予明确的信任级别、引擎标签和推导轨迹1。
该项目提供两个接口版本:mathkernel Python库和mathkernel-mcp MCP服务器,后者包含162个以math_前缀命名的工具1。数学结果被明确区分为六类:精确计算、检查证书、符号结果、认证包围、经验证据和形式证明1。MathKernel支持的数学领域涵盖符号数学、有限动力学、概率与统计、偏微分方程、几何拓扑和工程数学1。
系统还内置多项高级功能。在性能优化方面,MathKernel支持GPU加速(CuPy/CUDA)、Numba JIT编译和进程级并行化1。安全机制包括沙箱代码执行、超时终止、有界请求和SHA-256完整性检查1。此外,项目提供可视化模块(mathkernel_viz)、声音化模块(mathkernel_sonify)和多模态工件支持,以及MathKernel Studio 0.4 alpha版本的本地浏览器工作台1。该项目以MIT许可证发布,版权所有人为Maarten Boone1。
MathKernel is an open-source mathematics system that enables large language models and applications to perform advanced mathematical computations while maintaining explicit evidence tracking for every result 1. The platform operates as both a Python library (mathkernel) and an MCP server (mathkernel-mcp), allowing flexible deployment across different environments 1. By separating the LLM's intent interpretation from mathematical evidence establishment, MathKernel assigns a clear trust level, engine label, and derivation trace to each mathematical outcome 1.
The system distinguishes mathematical results across six categories: exact calculations, certificate verification, symbolic results, authenticated bounds, empirical evidence, and formal proofs 1. MathKernel provides 162 MCP tools, all prefixed with "math_," supporting diverse mathematical domains including symbolic mathematics, finite dynamics, probability and statistics, partial differential equations, geometry topology, and engineering mathematics 1. The platform includes optional visualization (mathkernel_viz) and sonification (mathkernel_sonify) capabilities alongside multimodal artifact support 1.
Performance and security are central to MathKernel's design 1. The system offers GPU acceleration through CuPy and CUDA, Numba JIT compilation, and process-level parallelization for computational efficiency 1. Security measures include sandboxed code execution, timeout termination, bounded request limits, and SHA-256 integrity checks 1. MathKernel Studio, a local browser workbench in 0.4 alpha release, provides an optional interface for the system 1. The project is released under the MIT license with copyright held by Maarten Boone 1.
评论
还没有评论,欢迎留下第一条。