maka README

项目的 README,来自 github.com/apache/maka。合并为一个 markdown 文件:README.md。

Maka Apache Maka (Incubating)

简体中文

Apache Maka (Incubating) is a local-first agent workspace for the terminal and desktop. A background Rust Runtime Host owns model execution, sandboxing, permissions, and SQLite state, keeping an auditable record of every run, approval, and tool receipt.

Quick start

Prerequisites: Rust stable, Node.js 24+ (CI uses 26), npm, and just. Native Computer Use also requires Xcode Command Line Tools on macOS or X11 development libraries on Linux.

git clone https://github.com/apache/maka.git
cd maka
just setup
just run

just run launches the terminal workbench and connects to (or starts) the local Host at ~/.maka/application/host. Pass --root <path> to use a different State Root, --session <id> to open an existing conversation, or --help to inspect CLI subcommands.

To build release binaries for both the CLI and the native desktop window:

just build --release
target/release/maka desktop

On macOS, just build stages Maka.app alongside maka; on Windows, binaries carry .exe. Both the terminal and desktop shells run the same NSH workbench UI against the same Host process—closing the window detaches the UI while in-flight work finishes in the background.

In WSL, just run skips the Linux native-desktop feature and bridges Computer Use to the Windows desktop by default. Point MAKA_CUA_WINDOWS_EXECUTABLE to a matching Windows maka.exe when running from source; see Computer Use.

Repository layout

Directory Role
platform/ Plugin kernel, SQLite event log, Host runtime, V8/Python sandboxes, OS isolation, and Computer Use
plugins/ Agent runtime, workspace tools, skills, settings, interactions, and shared domain contracts
products/maka/ Product composition, NSH workbench, CLI, ACP server, and terminal/desktop shells
products/eval/ Containerized Harbor evaluation runner against the native Host
packages/plugin-sdk/ Generated TypeScript contracts and helpers for Host and NSH UI plugins
packages/cli/ @maka-agent/cli npm launcher for platform-native binaries
scripts/rust/ Native packaging, V8 prebuilt management, license checks, and CI suite runner
website/ Project website (independent package manifest and lockfile)

Run just --list to see common development recipes. Further reading: Architecture, UI Design, Contributing, and Security.

Distribution

Apache Releases: The latest approved release is Apache Maka 0.2.2 (incubating). The signed source archive is the official release; see the downloads page and .github/ASF_SOURCE_RELEASE.md for verification instructions.

Convenience builds: @maka-agent/cli is a thin npm wrapper that dispatches to a platform-specific native binary package built from a single verified source archive; see packages/cli.

Apache Maka is an effort undergoing incubation at The Apache Software Foundation (ASF). See DISCLAIMER, LICENSE, and NOTICE.

maka (apache/maka)

正在搜索数据库…

这是什么?Apache Maka(Incubating)是一个高性能的智能体工作区,它把所做的每件事都记录为只追加的事件日志,可以通过桌面应用、终端 TUI 或 CLI 使用。
它是桌面应用、命令行工具,还是别的什么?它提供三种客户端:桌面 Electron 应用、终端 TUI 和 CLI,另外还有一个 Eval 工具。这些客户端都只是薄客户端,背后共用一个负责执行的 Runtime Host。
我该怎么开始使用 Maka?下载 Desktop Nightly 安装包(或用 npm run dev 从源码构建)。首次启动后,先打开 Settings -> Models 添加模型连接,再开始任务。
现在有官方稳定版吗?目前还没有 Apache 官方发布版。可用的 Desktop Nightly 每天从 main 分支构建,其中 Windows 和 Linux 版本是未签名的预览版,明确不适用于生产环境。
Desktop Nightly 支持哪些平台?macOS(Apple Silicon 和 Intel 芯片)、Windows x64 和 Linux x64/arm64。不过 Windows 和 Linux 的 nightly 版本是未签名的预览版。
我的 API 密钥和会话数据存放在哪里?所有数据都保存在本地 Electron userData 目录下。API 密钥以明文形式存放在本地的 credential-vault.json 中,只有你的系统账户可以读取,渲染进程从不接触这些密钥。
运行 Maka 需要什么模型?程序不自带模型,需要你自备:可以使用云端 API 密钥、本地模型或兼容的网关,并在 Settings -> Models 中配置。
Maka 的思路和其他智能体框架有什么不同?它把只追加的 RuntimeEvent 日志当作真正的运行时:界面、下一条提示词以及崩溃恢复,都是这份日志的投影。此外,Maka 的运行结果会与其他框架进行公开基准测试,并附带每项任务的结果。
被中断的智能体轮次能恢复吗?默认关闭恢复功能,因为恢复时会调用模型并消耗 token。设置 MAKARUNTIMESAFEBOUNDARYRESUME=1 即可启用 Desktop 安全恢复、CLI 的 /resume 以及启动时自动恢复。
TUI 里的 /graph 模式是做什么的?它会在独立的 Git 工作树中运行一个持久化的实现算子图(Graph),等图执行完毕后再输出最终的 supervisor 输出。它要求源项目的 Git 工作树是干净的。
作者
apache
大小
265.7 MB
星标
6K
更新
提交Nov 13
时长
6个月
提交 · 90 天