Skip to content

Latest commit

 

History

History
98 lines (70 loc) · 4.09 KB

README.md

File metadata and controls

98 lines (70 loc) · 4.09 KB

acdev

English · 简体中文

acdev builds, runs and tests apps for Dopame. An acde app is a web app (HTML, CSS, JavaScript, any framework) plus a manifest. acdev runs it in a native window with its own runtime: V8 for JavaScript, a fork of Blitz for layout and painting on the GPU, and no browser engine underneath.

Documentation: docs.dopame.ai (guides, the acde: modules, the CLI reference).

What is in it

  • acdev CLI (TypeScript, npm/): projects, templates, builds, dev sessions, end-to-end tests, and the tools that let a shell or a coding agent drive a running app.
  • acdev runtime (Rust, src/, crates/hostwin): runs a desktop or one app in a native window on Linux, macOS and Windows, and reloads it when the project changes.
  • acdev vm: boots a Dopame OS guest under QEMU (KVM on Linux, WHPX on Windows, HVF on macOS) and runs your app there.

The runtime itself (V8, the DOM and renderer, the acde: modules) is the library libacde, checked out as the submodule vendor/libacde-next.

Quick start

# install (Linux, macOS)
curl -fsSL https://dl.0x00.community/agentcomputer/acdev/install.sh | sh
# install (Windows, PowerShell)
irm https://dl.0x00.community/agentcomputer/acdev/install.ps1 | iex

acdev new my-app --template react   # or: bun create acde / npm create acde
cd my-app
acdev dev                           # run it; rebuilds and reloads on every save
acdev test                          # end-to-end tests, each in its own runtime
acdev install                       # build and install the package on this machine

Templates: html (default), react, vue, svelte, solid, preact, vanilla, next, nuxt, sveltekit, astro, desktop. An existing Electron project builds as an acde app without code changes; the Electron APIs it does not cover yet are listed in docs/agents/electron.md.

acdev doctor checks what acdev dev and acdev test need on this machine; acdev doctor --fix fixes what it can.

Requirements

Needed for Version
bun or Node.js the CLI bun ≥ 1.4, Node.js ≥ 22.3
bun acdev test ≥ 1.4
A GPU with DX12, Metal or Vulkan acdev runtime
QEMU acdev vm

Commands

acdev --help lists every command; acdev <command> --help shows its options and examples. They fall into groups:

  • Project: new, check, build, install, uninstall, sdk
  • Develop: dev, test, doctor, push
  • Inspect a running session: webs, inspect, query, act, eval, shot, console, network, wait, devtools, stop and more
  • Emulator: vm
  • Agents: mcp, skills

Coding agents

  • acdev mcp serves the session tools to any MCP client, for example claude mcp add acdev -- acdev mcp.
  • The same tools are plain commands (acdev eval, acdev shot, acdev query, acdev act …), so a shell is enough.
  • acdev skills install installs the acdev skill for the coding agents it finds on this machine.

Building from source

git clone --recurse-submodules https://github.com/0x00-Community/acdev.git
cd acdev
cargo build -p acdev                              # acdev runtime: target/debug/acdev
cd npm && bun install && bun run acdev -- --help  # the CLI from source

libacde depends on a Blitz fork and on acde-scene, which are private GitHub repositories fetched over ssh. Without access to them a build from source does not resolve; the installers above ship ready-made builds. Details: docs/agents/runtime-build.md.

Branches

Branch JavaScript engine Pins libacde
main V8 main
for-j8 j8 only; the branch for Windows on Arm for-j8

for-j8 is main plus the j8 commits; main is merged into it after each push.

Docs

License

AGPL-3.0-only.