@jakevin7: Maka 开始进行 release 之前的全面梳理了!! 并且开始全面的梳理 设计文档 了,对想学习和了解 Agent的开发的人,绝对能够从这部分学到很多东西。欢迎大家阅读! Maka 现在 640 ,3个 Maintainer,22 c…
摘要
Maka 项目正在为发布做全面梳理,并开始整理设计文档,旨在帮助开发者学习 Agent 开发。这是一个本地优先的 Agent 工作空间,目前已获得 640 star,社区活跃。
查看缓存全文
缓存时间: 2026/07/12 16:59
Maka 开始进行 release 之前的全面梳理了!!
并且开始全面的梳理 设计文档 了,对想学习和了解 Agent的开发的人,绝对能够从这部分学到很多东西。欢迎大家阅读!
Maka 现在 640 ,3个 Maintainer,22 contributor,群里每天都有很热烈的讨论。 非常感谢大家的贡献。
另外也感谢大家对一个还没有release的项目就有这么多关注了,欢迎大家star,后续还在继续迭代中。
https://github.com/maka-agent/maka-agent…
maka-agent/maka-agent
Source: https://github.com/maka-agent/maka-agent
Maka
A local-first Agent workspace built for real work.
Maka does more than answer questions. With controlled permissions, it can inspect projects, execute tools, produce artifacts, and preserve model messages, tool calls, and durable-task progress as recoverable execution facts. The same Runtime is available through the desktop app, terminal TUI, non-interactive CLI, and Headless runner.

Maka is under active development and currently targets users running from source or contributing to the project. Data formats, CLI commands, and experimental capabilities may still change.
Why Maka
- Local-first instead of hosted-first: sessions, settings, and run records stay on your machine by default. You choose the model connection: cloud API, local model, or compatible gateway.
- Log is the Runtime: model messages, Tool Calls, Tool Results, and termination facts enter Runtime Event Log. Sessions, UI, model context, and recovery are projections over that log.
- Context is not history: Tool Result pruning and LLM Compaction change what the next inference sees without treating recorded evidence as disposable context.
- A task may outlive a Turn: Headless uses TaskRun, Task Event Log, budgets, and continuation to advance interruptible and inspectable durable work.
- Feedback is not fact authority: Self-check may produce evidence and one bounded repair opportunity, but “I checked it” does not become a system fact.
Read Maka Backend Architecture for the complete design.
Surfaces
| Entry point | Best for | Current capability |
|---|---|---|
| Desktop | Daily interaction, file and Artifact workflows, model and permission setup | Electron + React with streaming sessions, tool timelines, branching, search, and recovery |
| TUI / CLI | Using Maka in the current project directory or running one non-interactive Turn | maka, maka run; shares workspace and model connections with Desktop |
| Headless | Durable tasks, recoverable TaskRuns, experiments, and evaluation | maka eval / maka-headless with task logs, export, resume, and comparison |
Current capabilities
Agent Runtime
- Multiple model connections, streaming output, thinking, usage accounting, and provider-error normalization;
- Local tools including
Read,Write,Edit,Bash,Glob, andGrep; - Tool schema validation, dynamic availability, permission policy, watchdogs, abort, and error classification;
- Runtime Event Log, AgentRun ledger, startup recovery, Turn Evidence, active Tool Result pruning, and history compaction.
Desktop workspace
- Create, archive, search, rename, retry, regenerate, and branch sessions from a Turn;
- Artifact lists and previews, workspace instructions, model settings, and permission settings;
- Local memory, web search, an open HTTP/SSE gateway, bot entry points, and Office workflows;
- Integrations are configured independently, and not every experimental entry is available by default.
Durable tasks and evolution
- Append-only Task Event Log and TaskRun projection;
- Budgets, permission pauses, continuation, result export, and failed-task retry;
- Plan-first, source-guarded, and attempt-bounded Heavy-task Self-check;
- AHE target protocol and evidence export; complete automatic self-iteration remains an external or experimental workflow.
Quick start
Requirements
- Node.js 22 (the current CI baseline);
- npm (the lockfile and scripts use npm; the current
packageManageris npm 11); - Git;
ripgrep, used by Runtime’sGreptool.
Start Desktop
git clone https://github.com/Maka-Agent/maka-agent.git
cd maka-agent
npm ci
npm run dev
npm run dev starts the Desktop development environment with HMR. To build every workspace before starting Electron, use:
npm run dev:full
If dependencies were installed with ELECTRON_SKIP_BINARY_DOWNLOAD=1, install the Electron platform binary before starting:
node node_modules/electron/install.js
First run
Maka does not bundle a shared model account. On first launch:
- Open
Settings → Models; - Add an API, local-model, or supported account connection;
- Test it and choose a default model;
- Return to the workspace and start a task.
The app distinguishes configured, send-ready, and experimental connection states. An account flow that is not wired into Runtime is not presented as a usable model.
Terminal entry points
Build the workspaces first:
npm run build
Then start the TUI or run one Turn:
npm --workspace maka-agent exec -- maka
npm --workspace maka-agent exec -- maka run "Summarize this repository and identify its most important risk"
npm --workspace maka-agent exec -- maka --help
The CLI reads the same model connections and workspace configuration written by Desktop. See packages/headless/README.md for Headless commands and its trust posture.
Architecture
The backend spine is:
Desktop / TUI / Headless
↓
SessionManager → AgentRun → Model + Tool Runtime
↓
Runtime Event Log → Context / Session / UI projections
↓
Task Event Log → TaskRun → Self-check / AHE evidence
Start with ARCHITECTURE.en.md. It provides the system map, code boundaries, problem-oriented reading paths, and six bilingual deep dives.
Repository layout
apps/desktop/ Electron main / preload / React renderer
packages/core/ Pure contracts for Sessions, Events, Permissions, and Connections
packages/storage/ File-backed stores and run ledgers
packages/runtime/ AgentRun, model adapters, tools, context, and recovery
packages/headless/ TaskRun, Autonomous Loop, Self-check, eval, and AHE
packages/cli/ TUI and non-interactive CLI
packages/ui/ Shared conversation, Markdown, Artifact, and UI primitives
docs/ Architecture, product, security, privacy, and test contracts
scripts/ Build hygiene, visual checks, smoke tests, and release helpers
Local data and security boundary
Maka stores workspace data under Electron userData by default:
<Electron userData>/workspaces/default/
llm-connections.json
credentials.json
settings.json
sessions/
Current boundaries that matter:
- Sessions and connection metadata live in the local filesystem;
- Runtime credentials such as API keys, bot tokens, and proxy passwords currently live in local plaintext
credentials.json, behind the OS account boundary, with POSIX directory mode0700and file mode0600enforced; - Supported subscription OAuth tokens use Electron
safeStorageand fail closed when it is unavailable; - Renderer does not receive plaintext credentials. File writes, Shell, and dangerous tool calls pass through the permission engine;
- Headless real-model evaluation fails closed by default and requires an explicit external isolation boundary.
Read SECURITY.md for security reporting and policy. Detailed privacy and threat-model documents live under docs/.
Development and verification
Common repository-level commands:
npm run build
npm run typecheck
npm test
npm run check:release
Run one workspace in isolation:
npm --workspace @maka/runtime test
npm --workspace @maka/headless test
npm --workspace @maka/desktop test
Desktop real-window and visual verification:
npm --workspace @maka/desktop run e2e
npm --workspace @maka/desktop run screenshots
npm --workspace @maka/desktop run screenshots:diff:stable
npm --workspace @maka/desktop run smoke:real-window
Before submitting code, run typecheck, build, and focused tests proportionate to the change, followed by git diff --check.
Documentation
相似文章
@jakevin7: Maka 的活跃贡献者越来越多了!感谢每个贡献者!!! Make Builder 群聊现在每天特别活跃,大家都在努力做各种功能。 ◯ 大幅度优化 UI 和设计,做页面治理 ◯ 重构架构,实现流式输出,并且让其和工具调用的代码分开,实现模块…
Maka是一个本地优先的桌面AI工作台,近期活跃贡献者增多,团队正在优化UI、重构架构、设计Memory和Agent FS接口,并新增多项Agent能力,旨在提供可观测、可控、可持续恢复的Agent体验。
@jakevin7: 越来越觉得 Maka 很适合用来学习 Agent。 比如最近一个maka core dev提了 issue 在讨论 DeepSeek 的缓存优化。 全过程透明:1 个 issue + 8 个 PR 一路推上来,从 usage 归一化 → …
一篇介绍 Maka 桌面 AI 工作台的推文和项目说明,探讨了 Agent 开发中的缓存优化、运行时工程问题,以及 Maka 作为本地优先工具的功能架构。
@jakevin7: 把之前做的 agent: maka 开源出来了,目前还在高密度开发中:https://github.com/jackwener/maka-agent… 现在已经有这么多开源的Agent了,那为什么还要自己做一个呢? - maka首先是一个…
Maka 是一个本地优先的桌面 AI 工作台,通过 DAG 工作流实现长程执行,集成浏览器自动化与插件能力,现已开源在 GitHub 上。
@jakevin7: https://maka-agent.com maka 的主页来了!!! 学习了 @wenhaoqi haoqi 老师的网站,用了 @xiaolinbythesea 笑林老师的 SKILL 感谢 @dingyi @Jackywine 两个…
Maka 是一个开源 AI 代理,能够将用户意图转化为可检查的工作,具备执行、工件、工具和权限等功能。
@jakevin7: 加入 Apache 后,Maka 终于成功发布了一个版本。整个社区正变得越来越活跃…
Apache Maka,一个在 Apache Software Foundation 孵化的 AI 代理工作空间,已发布一个版本,社区参与度不断增长,特色包括本地优先设计和工具执行能力。