DGCDocs
Features/Artifacts

preview what the agent builds on a localhost URL

Artifacts#

An artifact is how the agent proposes something visual on a local URL — most often a plan. In plan mode, DGC renders the plan (plan.md) as a clean page and serves it, as a rendered page — so you read the steps, files and approach in your browser instead of raw markdown scrolling past. The agent can also serve any page/app/chart it builds the same way.

  • Project previews share one server and port (http://127.0.0.1:45000 by

default), with a top-left dropdown. Proposed plans use a separate transient loopback server so a LAN setting can never expose them.

  • DGC prints the URL in the terminal; open it in your browser.
  • Run /artifact to see them, open one, stop one, or toggle **localhost ⇄

LAN** with b.

  • Localhost or your LAN. By default the server binds 127.0.0.1 (only this

machine). Switch it to your local network (artifact_bind: lan, or press b in /artifact) and it binds 0.0.0.0 with a shareable 192.168.x.x URL — open your artifact on your phone or another device. (LAN means anyone on the network can view it — there's no auth.)

  • It persists. The list is saved, so after you restart dgc the server

comes back up on the same port with your artifacts intact (set the port with artifact_port, turn off relaunch with artifact_autostart).

Artifacts are built with DGC's own design language (the dgc-design skill) so the frontend looks polished by default. They stay on this machine unless you explicitly confirm LAN sharing; plan previews always stay private.