small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
albedo docs artifacts.md
4.3 kB · 94 lines
Markdown
at main

# Artifacts An artifact is a web page Albedo makes for you: a chart, a diagram, a prototype, a small tool, a comparison, or a whole built app. It opens beside the chat in the web client, and as a link to your browser in the terminal client. Artifacts are enabled by default. Every version is kept, and an artifact outlives the conversation it was made in. ## Ask for one Albedo makes an artifact unprompted when seeing or using something beats reading about it. You can also ask, the way you would ask a teammate: > i can't picture these three layouts from a description. can you put them side > by side in an artifact? > here's the benchmark output. could you chart it so i can flip between > machines? curious what jumps out at you too. > i keep squinting at these logs. want to build us a little tool where i paste > one in and we see the slowest requests? > i still don't really get how a request travels through the daemon. can you > draw it for me? > can you make an artifact with live data tracking the open issues on this repo? > i'd like to keep it open on the side. The chart prompt gives a page like this one, where the buttons in the corner show and hide each machine: ![An artifact titled Build times: three tiles for the median, the slowest run and the number of runs, over a line chart of three machines across fourteen days.](artifact-chart.png) And the log prompt gives a tool you can keep using after the conversation ends: ![An artifact titled Slowest requests: a pasted access log on the left, and on the right its routes ranked by slowest time, the two over a second marked in red.](artifact-log.png) A page can load charting, mapping, and 3D libraries from the network, so ask for the thing you want to see rather than for a technology. ## Iterate on it Keep talking, and Albedo revises the same artifact instead of making a new one. The open window follows each new version, so you watch it change. > iterate with me in an artifact? throw out a few ideas, whatever you think > looks good, and i'll pick. > o…