经 AI Skill Hub 精选评估,asiai LLM基准测试工具 获评「推荐使用」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.2 分,适合有一定技术背景的用户使用。
专为苹果硅芯片优化的开源MCP工具,提供多引擎LLM基准测试与性能监控功能。支持命令行操作,适合AI开发者、研究人员评估和对比不同大语言模型在本地的推理性能。
asiai LLM基准测试工具 是一款基于 Python 开发的开源工具,专注于 MCP、LLM基准测试、苹果芯片 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
专为苹果硅芯片优化的开源MCP工具,提供多引擎LLM基准测试与性能监控功能。支持命令行操作,适合AI开发者、研究人员评估和对比不同大语言模型在本地的推理性能。
asiai LLM基准测试工具 是一款基于 Python 开发的开源工具,专注于 MCP、LLM基准测试、苹果芯片 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install asiai
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install asiai
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/druide67/asiai
cd asiai
pip install -e .
# 验证安装
python -c "import asiai; print('安装成功')"
# 命令行使用
asiai --help
# 基本用法
asiai input_file -o output_file
# Python 代码中调用
import asiai
# 示例
result = asiai.process("input")
print(result)
# asiai 配置文件示例(config.yml) app: name: "asiai" debug: false log_level: "INFO" # 运行时指定配置文件 asiai --config config.yml # 或通过环境变量配置 export ASIAI_API_KEY="your-key" export ASIAI_OUTPUT_DIR="./output"
<p align="center"> <img src="assets/logo.svg" alt="asiai logo" width="140"> </p>
<p align="center"> <strong>Apple Silicon AI</strong> — Multi-engine LLM benchmark & monitoring CLI </p>
<p align="center"> <a href="https://pypi.org/project/asiai/"><img src="https://img.shields.io/pypi/v/asiai.svg" alt="PyPI"></a> <a href="https://pypi.org/project/asiai/"><img src="https://img.shields.io/pypi/dm/asiai.svg?color=brightgreen" alt="Downloads"></a> <a href="https://github.com/druide67/asiai/actions/workflows/ci.yml"><img src="https://github.com/druide67/asiai/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <a href="https://codecov.io/gh/druide67/asiai"><img src="https://codecov.io/gh/druide67/asiai/branch/main/graph/badge.svg" alt="Coverage"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" alt="License"></a> <a href="https://python.org"><img src="https://img.shields.io/badge/python-3.11%2B-blue.svg" alt="Python"></a> <a href="https://support.apple.com/en-us/116943"><img src="https://img.shields.io/badge/macOS-Apple%20Silicon-black.svg" alt="macOS"></a> <a href="https://github.com/sponsors/druide67"><img src="https://img.shields.io/badge/sponsor-%E2%9D%A4-pink.svg" alt="Sponsor"></a> <a href="https://api.asiai.dev/api/v1/badge/benchmarks"><img src="https://api.asiai.dev/api/v1/badge/benchmarks" alt="Benchmarks"></a> <a href="https://api.asiai.dev/api/v1/badge/top-speed"><img src="https://api.asiai.dev/api/v1/badge/top-speed" alt="Top Speed"></a> <a href="https://www.asiai.dev/agent/"><img src="https://api.asiai.dev/api/v1/agent-badge" alt="AI Agents"></a> </p>
<p align="center"> <img src="assets/asiai-demo.gif" alt="asiai bench demo" width="720"> </p>
asiai compares inference engines side-by-side on your Mac. Load the same model on Ollama and LM Studio, run asiai bench, get the numbers. No guessing, no vibes — just tok/s, TTFT, power efficiency, and stability per engine.
Share your results with the community (--share), compare against other Apple Silicon users (asiai compare), and get smart engine recommendations (asiai recommend).
Born from the OpenClaw project, where we needed hard data to pick the fastest engine for multi-agent swarms on Mac Mini M4 Pro.
The core uses only the Python standard library — urllib, sqlite3, subprocess, argparse. No requests, no psutil, no rich. Just stdlib.
Optional extras: - asiai[web] — FastAPI web dashboard with charts - asiai[tui] — Textual terminal dashboard - asiai[all] — Web + TUI - asiai[dev] — pytest, ruff
Interactive setup wizard — detects hardware, engines, models, and suggests next steps.
asiai setup
pipx install asiai # Recommended: isolated install
Or via Homebrew:
brew tap druide67/tap
brew install asiai
Other options:
uvx asiai detect # Run without installing (requires uv)
pip install asiai # Standard pip install
Then benchmark and share:
asiai bench --quick --card --share # Bench + shareable card in ~15 seconds
asiai bench --code --url http://localhost:8080 --code-output code.json
When running asiai web, three REST API endpoints are available for programmatic access. Interactive API documentation (Swagger UI) is available at http://localhost:8899/docs.
| Endpoint | Description |
|---|---|
GET /api/status | Lightweight health check (< 500ms) — engine reachability, memory pressure, thermal |
GET /api/snapshot | Full system + engine snapshot with loaded models, VRAM, versions |
GET /api/benchmarks | Benchmark results with tok/s, TTFT, power, context_size, engine_version |
GET /api/engine-history | Engine status history (TCP, KV cache, tokens predicted) |
GET /api/benchmark-process | Process CPU/RSS metrics from benchmark runs (7d retention) |
GET /api/metrics | Prometheus exposition format — system, engine, model, benchmark gauges |
asiai monitor --json | jq '.mem_pressure'
asiai models --json | jq '.engines[].models[].name'
```yaml
asiai bench --compare qwen3.5:4b deepseek-r1:7b -e ollama --card ```
The runner resolves model names across engines automatically — gemma2:9b (Ollama) and gemma-2-9b (LM Studio) are matched as the same model.
Compare your local results against community medians.
asiai compare --chip "Apple M1 Max" --model qwen2.5:7b
asiai 是一款专为 Apple Silicon(M1/M2/M3/M4 系列芯片)打造的 AI 性能基准测试与监控 CLI 工具。它支持多引擎 LLM 的性能评估,旨在帮助开发者在 Mac 硬件环境下高效地监测本地大模型的运行状态与性能表现。
运行本项目需要 macOS 系统且搭载 Apple Silicon 芯片(M1/M2/M3/M4 系列)。软件环境要求 Python 3.11 或更高版本,并且系统中必须至��运行着一个本地推理引擎(inference engine)以供测试。
推荐使用 `pipx install asiai` 进行隔离安装。此外,你也可以通过 Homebrew 进行安装(需先 tap 仓库),或者使用 `uvx asiai detect` 在不安装的情况下直接运行。对于标准环境,支持使用 `pip install asiai` 进行安装。
安装完成后,可以使用 `asiai setup` 启动交互式设置向导,它会自动检测你的硬件、推理引擎及模型并提供后续建议。若需进行快速基准测试并生成可分享的卡片,可以使用 `asiai bench --quick --card --share` 命令,整个过程仅需约 15 秒。
asiai 支持智能的 Agentic 错误恢复机制与思维纪律(thinking discipline)管理。用户可以通过命令行参数进行高级配置,例如使用 `--code` 和 `--url` 参数将测试结果输出为指定的 JSON 文件,以便进行自动化集成或后续分析。
当运行 `asiai web` 模式时,系统会启动一个包含 Swagger UI 的 REST API 服务(访问地址为 `http://localhost:8899/docs`)。你可以通过 API 端点进行程序化访问,例如使用 `GET /api/status` 进行轻量级的健康检查,或通过 CLI 的 `--json` 模式配合 `jq` 工具获取内存压力等监控数据。
asiai 支持与 Prometheus 进行集成,通过配置 YAML 文件实现监控数据的持久化与可视化。其工作流涵盖了从硬件检测、模型基准测试(benchmarking)到实时监控(monitoring)的完整闭环,能够为开发者提供从命令行到 Web Dashboard 的全方位观测能力。
针对性强的苹果芯片LLM基准测试工具,MCP框架集成完整。项目活跃度一般��功能专业但用户基数小,适合特定开发场景。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
AI Skill Hub 点评:asiai LLM基准测试工具 的核心功能完整,质量良好。对于AI 技术爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | asiai |
| 原始描述 | 开源MCP工具:Multi-engine LLM benchmark & monitoring CLI for Apple Silicon。⭐7 · Python |
| Topics | MCPLLM基准测试苹果芯片性能监控CLI工具 |
| GitHub | https://github.com/druide67/asiai |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-05-19 · 更新时间:2026-05-30 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。