> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blacksmith.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Why [code]smith

> You handed the task to an agent. Why does it stop when you close your laptop?

You handed the task to an agent. \
Why does it stop when you close your laptop?
============================================

We think cloud agents will build most of the world's software. That only works if handing one a task feels like handing it to a teammate: describe it, walk away, and come back to a pull request with evidence.

[Start a session](https://app.blacksmith.sh/sessions/new?entry=docs)

## Writing code is cheap, but trusting it is not.

A frontier model can write most of the changes you would ask for. Someone still has to rerun the tests, open the page and click through it before anyone can say the change works. That attention is the scarce resource now, and a good agent should need less of it.

## Agents need their own machine.

Real work means starting the app, running tests and driving a browser, often for several tasks at once. A laptop sleeps when you close it, and two agents sharing one checkout get in each other's way.Every \[code]smith task runs on its own cloud machine with your repository checked out, common languages and tools installed, and a browser for screenshots and recordings. It checks its work in your CI: it pushes to the pull request, reads the logs when a job fails, and pushes fixes until the checks pass. When those jobs run on Blacksmith, it pulls a job's logs and resource usage directly.With a [machine definition](https://docs.blacksmith.sh/codesmith/machine-definitions.md) (private beta), that machine starts from your CI setup, so \[code]smith can run your tests before it opens the pull request.

## Claims need evidence.

A passing test suite says little about whether a page looks right or an animation got smoother. For that you need screenshots of the page, a recording of the interaction, or before and after numbers. \[code]smith puts that evidence in the pull request, and [Proof](https://docs.blacksmith.sh/proof/overview.md) exercises the change and posts screenshots and recordings next to the diff.

## Work shouldn't stop when you do.

Plenty of tasks stall on something slow, like a CI run or a week of data. \[code]smith does the waiting. It checks back on CI, pushes fixes when a reviewer comments, and can schedule itself to pick the work up hours or days later.

![Work that outlives the conversation](https://mintcdn.com/blacksmith/Itk-j1vuc5ra3oOQ/images/embeds/codesmith-outlives.png?fit=max\&auto=format\&n=Itk-j1vuc5ra3oOQ\&q=85\&s=c532cbe4ddffa8245500f0862ba4f5f1)

**Work that outlives the conversation**

When the new cache has a week of hit-rate data, compare it to the old one. If it's faster, open a PR to switch and ask me to review.

Try it in \[code]smith

[See what it can do →](https://docs.blacksmith.sh/codesmith/examples.md)[Get started →](https://docs.blacksmith.sh/codesmith/get-started.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.