OpenCode AI e9899d2e6d
Some checks failed
Android CI Build / check (push) Has been cancelled
Android CI Build / package-apks (push) Has been cancelled
Docs Deploy / build (push) Has been cancelled
Module Market Check / Validate modules/ (push) Has been cancelled
Module Market Publish / Generate submissions.json (push) Has been cancelled
Docs Deploy / deploy (push) Has been cancelled
Initial DruksCode V2: fresh fork of web-to-app (f3b488e) with DruksCode identity
- Package rename com.webtoapp -> br.com.drukstech.codeapp
- Product rename WebToApp/web-to-app -> DruksCode/drukscode
- Design system Wta* -> Dkc*
- applicationId br.com.drukstech.codeapp (.play for gplay flavor)
- rootProject.name DruksCode
- Fresh git history (upstream kept as remote for sync)
2026-09-12 02:42:02 +02:00

33 lines
2.1 KiB
Markdown

# Agent
A tool-calling assistant inside the app that can operate the entire DruksCode surface. Open it from [⋮ → Agent](/guide/main-screen/more).
## What it can do
Beyond generating web apps, extension modules, userscripts, MV3 Chrome extensions, and local runtime projects, the Agent can directly perform actions across the app:
- **App lifecycle** — create, edit, duplicate, delete, build APK/AAB, export, share, create shortcuts, move to categories.
- **Ports & engines** — scan/kill ports, check/select/delete browser engines (WebView, GeckoView).
- **Runtimes** — check status, install, and clear caches for Node.js, PHP, Python, Go, WordPress, and the Linux environment.
- **Ad-block** — view rule counts and sources, import/remove/enable/disable hosts subscriptions.
- **Stats & health** — usage statistics, URL health checks.
- **App modifier** — list installed apps, clone/rebrand apps, batch import from text, export templates.
- **Build environment & compliance** — initialize the Linux build environment, install components, run Google Play policy checks.
- **Modules** — list, create, and update extension modules.
- **Files** — read, write, edit, delete, list, glob, and grep project files.
## Features
- **Sessions** — each conversation has its own title and history.
- **Up to 57 built-in tools** — grouped by domain (files, apps, lifecycle, ports/engine, hosts/runtime, stats/modifier/import, build env/Play, modules, imagery, plan mode). The imagery tools only load with an image-capable model. Read-only tools run without confirmation; write tools ask for permission first.
- **Plan mode** — proposes a plan and waits for your approval before applying changes (shown with a plan-mode badge).
- **Resilience** — automatic retry with backoff on 429/5xx responses.
## Configuration
Agent uses the model and keys configured in [AI Settings](/guide/more-features/ai-settings).
## Notes
Agent produces *source* and performs *actions*. To install a generated extension, save it through the [Extension Modules](/guide/more-features/extension-modules) flow.