tests/local/test-agent.R

library(retroglyph)
chat <- ellmer::chat_anthropic(model = "sonnet", echo = "all")
agent <- retro_agent(chat)
source <- system.file("simulation.png", package = "retroglyph")
system.time(agent$reconstruct(source))
agent$compare(data = "survival")
# agent$compare(data = "trace")

Try the retroglyph package in your browser

Any scripts or data that you put into this service are public.

retroglyph documentation built on Dec. 4, 2026, 1:07 a.m.