- Objective-C 67.4%
- Shell 17.8%
- Python 9.2%
- C 5.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| assets | ||
| evidence | ||
| native | ||
| packaging/macos | ||
| scripts | ||
| src | ||
| tests | ||
| .gitignore | ||
| ACP.md | ||
| opencode-zen-api-research.md | ||
| PRD.md | ||
| re-review.md | ||
| README.md | ||
| roadmap-multiplatform.md | ||
| ROADMAP.md | ||
| seed.toml | ||
Aerun Code
Aerun Code is a native macOS task workspace and coding agent built with the seed Adaptive UI framework. Version 0.4 connects directly to OpenCode Go and Zen model APIs; it does not install or execute OpenCode, speak ACP, or delegate agent behavior to Kimi.
The current demo includes:
- task-first navigation, independent drafts, prompt history, retry, and Stop;
- native AppKit text input and per-message clipboard actions;
- one in-process agent session per task;
- a bounded model/tool loop with
read,edit,write, andbash; - exact workspace path checks for file tools;
- native approval before file mutation or shell execution;
- direct HTTPS calls to OpenCode Go and Zen;
- MiMo-V2.5 as the default model and DeepSeek V4 Flash as the first alternative;
- dynamic model discovery from the Go/Zen catalogs and models.dev metadata;
- API-key storage in the macOS Keychain;
- deterministic direct-provider and tool-loop fixtures;
- an ad-hoc-signed macOS application bundle and compressed DMG.
OpenCode Go is the default provider. Zen models, including currently available free models, are optional. Aerun Code never switches between Go and Zen automatically.
Verify
../seed-lang/seed/seed test .
./scripts/macos-check.sh
The native gate covers model selection, a two-round direct HTTP agent fixture that reads a real workspace file, real AppKit typing and focus, Up-arrow history, clipboard, debug/release equivalence, resize, accessibility, bundle metadata, icon, signing, and launch.
Run the optional live OpenCode Go probe with a real key:
SEED_WORK_API_KEY='...' \
./scripts/gateway-live-check.sh
Build and launch
seed_work_app="$(pwd)/dist/Aerun Code.app"
./scripts/package-macos.sh "$seed_work_app"
open "$seed_work_app"
Open Provider in the application to paste an OpenCode API key, select a
model, and choose the workspace. The key is stored in Keychain. The workspace
is the only filesystem area accessible to read, edit, and write.
Build the installer image
./scripts/package-dmg.sh \
"$(pwd)/dist/seed-work.dmg"
Open the DMG and drag Aerun Code.app onto Applications. The development
artifact is ad-hoc signed; public distribution still requires a Developer ID
signature and Apple notarization.
Current limits
Agent sessions are retained only for the current application lifetime.
Responses are currently delivered after each provider request rather than
rendered token-by-token. The first direct-provider slice supports
OpenAI-compatible Chat Completions and Anthropic Messages models; OpenAI
Responses and Google-native models remain hidden until their conformance tests
land. Shell commands are user-approved but are not yet isolated in an XPC
sandbox. Remote aerund execution and durable task/session persistence are
next.

