# The web client `hewn open` opens Hewn in your browser, signed in. Hewn's web client runs only on the machine Hewn runs on, unless you've set up [a public URL](remote-access.md). The top bar has Search, **Home · Agents · Accounts · Settings**, and the **Inbox** on the right. ## Home Home holds your tools as icons, and the widgets you've put there. Click a tool to open it: its own screen if it has one, otherwise its operations as forms. The **New** tile asks for a new tool ([Building tools](building-tools.md)), or installs one ([below](#hewns-own-tools)). ![Home with seven tools (Running Log, Reading List, Habits, Quotes, Plant Care, Weekend Weather, Tasks Today) and four widgets: this week's running distance, the books being read, today's quote and today's habits](images/home.png) Right-click a tool for its menu: - **Open**, **Change…**, **Polish…** (a tool with a screen of its own: a second look at its design, [below](#a-tools-page)) and **Info** - **Widgets…**, **Activity** and **Versions** - **Rename**, **Set icon…** (draw a 5×5 glyph and pick its colour and saturation, or upload an image; saturation 0 draws it black or white on grey, for a black-and-white brand), **Share…** (the tool as a file or a link: [Sharing tools](sharing.md)) and **Export data** - **Delete…** Right-click a widget for **Open**, **Refresh**, **Options…** (for a widget that takes options, such as which item to show: the same form as when you added it, with a preview), **Change…** and **Remove widget**. **Edit Home:** right-click empty space and choose Edit Home, or press `e`. Drag tiles to move them. Tap a widget's size tag (S, M or L) to switch to its next size, or × to remove it. × on a tool hides it from Home: it's still in search, and **Show on Home** in its menu brings it back. **+ Add widget** shows every widget your tools offer, with a preview. **Done** (or Esc) saves. ![Edit Home: an × on every tile and widget, each widget's size below it, and + Add widget and Done at the top](images/edit-home.png) A widget shows a tool's data at a glance: today's habits, tonight's aurora forecast, a quote. It refreshes by itself. When it couldn't refresh, it keeps the last view and says how old it is. Home keeps itself up to date while it's open: a tool being built fills in as it goes, and a tool an agent made or changed elsewhere shows up within a minute. ## Hewn's own tools **New** offers, under its box, **Or install**: **One of Hewn's tools**, or **A file or a link someone shared** ([Sharing tools](sharing.md#installing-a-tool-someone-shared)). **Hewn's tools** are ready to install: Hewn's own (**Official**), which come with Hewn, so they work offline. Search, or pick a tag; each card shows what the tool is for and what it needs ("reaches api.met.no", "uses a model"; nothing when it needs nothing), and **Installed** when you have it. A tool's page has its screens (click one to see it larger), what it does and keeps (Hewn's reading of its code), its operations, what it needs, its versions and its **Source code** (a version opens it too). **Install** opens the install sheet ([Sharing tools](sharing.md#installing-a-tool-someone-shared)); a tool you have already, under any name, offers **Open** and **Install a copy**. **Install from a file or link…** is here too. ![Hewn's tools: search, Install from a file or link, the Official and tag filters, and Hewn's eight own tools, each with a screenshot, what it needs and the Official mark (Running Log is Installed)](images/hewns-tools.png) ## Search and commands Press `⌘K` (or `Ctrl K`, or `/`), or click Search. Type to find a tool, a page (Activity, Models, Backups…) or an action (New tool, Edit Home, Back up now, Install from a file or link…). `↑` and `↓` move through the list, going round at either end (`↑` on the first goes to the last); Enter opens it. Hewn's own tools you don't have yet come last. ![The command palette with "run" typed: Running Log, Weekend Weather, Change Running Log… and Running Log · Info](images/command-palette.png) ## The Inbox The **Inbox** button on the right of the top bar holds everything that needs you, with a count: - tools waiting for your approval of what they need (a host, a key, another tool, a model) - an agent's change to a tool, waiting for your approval (opening the tool shows it too) - agents waiting to be approved - schedules an agent proposed - builds that failed, and builds a host's builder paused (**Continue** or **Stop**) - connections that need you to sign in again - model spend at 80% of your budget, or calls refused over it - tools Hewn suspended because they kept it from responding ([Troubleshooting](troubleshooting.md#tools)) Each row has one action. **Activity** in the Inbox shows what just happened, and builds in progress pulse. ![The Inbox open over Home: a failed build to show, an agent that wants to connect, a tool that wants to reach a host, and a connection to sign in to again, each with one button, then the recent calls](images/inbox.png) One thing doesn't wait in the Inbox: when an agent calls an operation marked *destructive* (deleting runs, say), the agent is stuck until you answer. A banner shows on every page until you allow it once or stop it, and the tab's title counts the calls waiting ("(3) Hewn") while the tab is open on screen (a tab in the background asks Hewn nothing). When one agent has several calls of the same operation waiting, **Allow all** lets them all run; each is still its own call in Activity. ## A tool's page **Info** (in the tool's menu) is one page about the tool: what it's for, its status, and each part of it as a section you act on right there: - **Operations:** each with **Run**, which opens it as a form and shows the result; the first five, then **Show all** - **Allowed to:** the hosts, keys, other tools and model it may use. **Authorize** or **Deny** a host, another tool or the model it asks for (a no is kept until its next version, and through a quick change such as another tier; it can't run without it, so Info offers **Ask builder to work without it**), **Set…** a key it asks for, **Revoke** what it has. The model's row has its tier (or **A specific model…**) in a menu, what it spent this month, and its own monthly cap ([Models](models.md)) - **Agents:** a switch for each connected agent: whether it can use this tool. Off keeps an agent that sees every tool away from this one; on gives it to an agent limited to some tools ([Connecting agents](agents.md#what-agents-can-do)) - **Data:** how many rows it keeps, when it last wrote, **Export**, and **Start over** (empty it, keep the tool: [Sharing tools](sharing.md#start-over)) - **Schedules:** a switch each, **+ Add schedule**, and **Try again** on a failed run (one run now, as the schedule runs; if it works, one paused after failing stays paused until you switch it on) - **Widgets:** the widgets themselves, at the size they have on Home (else their largest; **S M L** shows the others), and **Add to Home** - **Instructions:** standing rules for this tool's builds, removed or added in place ([Building tools](building-tools.md#instructions)) - **Versions:** the last two, and **All versions**; a version's **Details** has its conversation, spec, log and code ([Building tools](building-tools.md#versions)) - **Recent calls:** its last ten calls, each opening to the lines its code printed, as in [Activity](#activity); **All in Activity** for the rest Anything that needs you (something to authorize, a failed change, a model to set up, a paused schedule, **Resume** for a suspended tool) sits at the top with its one button. Every section shows, with a way to add one when it's empty. In a wide window the sections sit in two columns. The **Change it** box asks for a change ([Building tools](building-tools.md#changing-a-tool)). **Polish…** in the tool's menu, under **Change…**, opens the change panel for a second look at its design: the intake proposes a Polish (say what you'd like it to lead with), and the builder reviews the tool on screenshots and fixes what it finds, keeping what the tool does and its character. Your own data is shown to the builder only if you tick it on the proposal ([Polishing a tool](building-tools.md#polishing-a-tool)). **When something in a tool fails** (an operation in its own screen, a run from Info, a widget that can't refresh, a schedule's run), Hewn offers **Ask builder to fix this**. It opens a change to the tool with what failed in the box (the operation, the error, its input and the last log lines) and "Fix it so this works." Add anything you know, and send it. Hewn keeps a tool's last ten failed calls for this. ![Running Log's Info page: its status and version, Change… and Share… in the top bar, the Change it box, then Operations, Allowed to and Data (with Start over) on the left, and Schedules, Widgets, Instructions and Versions on the right](images/tool-info.png) ### Schedules A schedule runs a read or write operation hourly, daily, weekly or on a custom cadence, in your time zone (Settings › General). Info › Schedules lists them, with a switch each and when they run next. **+ Add schedule** adds one. Agents can propose a schedule, but nothing runs until you enable it from the Inbox. A schedule that fails three times in a row pauses itself and says why. Resume it when it's fixed. While the machine Hewn runs on sleeps, nothing runs. When it wakes, what came due runs once, and later schedules run on time. ## Activity Everything that happened, newest first: builds, calls, and access changes (agents approved or disconnected, grants, secrets and settings, destructive calls, an agent's change you approved or declined, signing in to a connection). Filter by kind (All, Builds, Calls, Access), by tool or by agent. Press `a` to open it. ![Activity: today's calls, builds and access changes, newest first, each with who did it and when](images/activity.png) Builds show their milestones (spec, code, tests, and for a new tool or a Polish the design review and fixing details) as they happen. Open one for its steps and its log ([A build](#a-build)). Click a call to open it: its operation, its error if it failed, how long it took, and the lines the tool's code printed during it (`| ` for a log line, `! ` for a warning or an error). An agent reading a tool's log shows here too, as "read the call log": one row while it keeps reading, with how many times. Call logs are kept for two weeks by default (Settings › Data). ### A build A build's page lists its steps while it runs. So does the change panel while a change you asked for there builds; the tool keeps running its current version meanwhile. - **Spec agreed:** click it for the spec the builder works from. **Conversation**, above the steps, has what you and the intake said. - **Writing code:** the builder at work, with its log below, where each check it runs on its own work shows ("Checking its work (1 of 10)", "Check: 2 problems to fix"). A Polish has **Sample data** here instead: written first when the tool has none, else done at once. - **Running tests:** how many have passed so far. - **Reviewing the design** and **Fixing details:** a new tool's second look, and a Polish's ([The build](building-tools.md#the-build)). - **Your authorization:** anything new it asks for (a host, a key, another tool, a model), once it's built. ![A new tool's build page, Bike Care: the builder, its model and effort, Conversation, then the steps, with Spec agreed, Writing code and Running tests done and timed, Reviewing the design running, Fixing details and Your authorization to come, and the log below](images/build-second-look.png) Each step shows how long it took, by Hewn's clock, so it's the same whenever you open the page; the running one counts up. You can leave: it keeps building. Once it's live, the log folds under **Show log**. A failed build says why (in the second look, which step), with its log open, **Ask builder to fix** and **Retry**; once it's been retried, it says by which build instead. A build a host's builder paused shows the host's note with **Continue** and **Stop** ([When a build fails](building-tools.md#when-a-build-fails)). ## Agents and Accounts - **Agents** lists the agents that use your tools, and the ones that work for Hewn. See [Connecting agents](agents.md). - **Accounts** lists your connections to other services, and their health. See [Connections](connections.md). ## Settings - **General:** appearance (system, light or dark; a tool open in Hewn follows it too, if its screen uses Hewn's styles or handles light and dark itself: [Tool UIs](../spec/tools.md#tool-uis)), your time zone, and whether the sandbox is on. - **AI:** who does [Hewn's two jobs](concepts.md#hewns-two-jobs) (builds tools, on which model, and thinks inside tools), which models agents may ask for, your [instructions for building](building-tools.md#instructions), and the Models page ([Models](models.md)). - **Remote access:** the public URL, your passkeys and signed-in browsers ([Using Hewn from anywhere](remote-access.md)). - **Data:** backups and their folder, how long call logs are kept, how big each tool's data can get, and deleted tools ([Your data](data.md)). - **About:** the version, whether a newer one is out (with the command to upgrade), and shortcuts. ![Settings › AI: Builds tools set to Claude Code on the default model, the models agents may ask for, Instructions for building (none yet), and Thinks inside tools with no provider yet](images/settings-ai.png) ## On a phone On a narrow screen, Home is a four-column grid, the menu folds into ☰ (the Inbox stays), and tools open full screen, with **•••** alone in the top bar so the tool's name has the room (**Change…** and **Share…** are in it). The other pages work on a phone, but are laid out for a computer. To reach Hewn from your phone at all, see [Using Hewn from anywhere](remote-access.md). ![Home on a phone: tools in a four-column grid, the menu folded into ☰ next to the Inbox, and widgets full width below](images/phone-home.png) ## Hewn's mark Behind the first run, a new tool, a build and the sign-in page is Hewn's mark, drawn in dots: the thirteen pixels of the H run together into one pixel and part again, every 26 seconds. It pauses while the tab is hidden. With your system's reduce motion setting on, it rests on the H. A browser without WebGL 2 shows the H standing still. ## Shortcuts | Key | | | --- | --- | | `n` | New tool | | `h` | Home | | `e` | Edit Home | | `i` | Inbox | | `a` | Activity | | `b` | Builds | | `g` | Agents | | `u` | Accounts | | `,` | Settings | | `/` or `⌘K` | Search and commands | | `?` | Shortcuts | | `Esc` | Close a dialog, a menu or the Inbox |