The agent

Flowhawk's agent sits in a side panel on every page. It answers questions about your flows and incidents, works the page you have open, builds views the app doesn't have, and drafts code fixes for errors. It resolves incidents and errors that stopped and checks a fix after it ships. It also learns what your team tells it, answers saved questions on a schedule and can use the tools of your own MCP servers.

Asking a question

Open the panel with Agent at the top of any page (Ctrl+I, or ⌘I on a Mac), or with Ask the agent on a page, which starts with a question about it. Each question goes with the page you have open: its filters, the time window and a short summary of what it shows, such as the first rows, the selected issues or an open trace. So "why is the second one slow?" or "are these errors new?" mean what you see. The summary is only used for that answer and is not saved with the conversation. Each question costs the price on the billing page.

Working the page for you

The agent can do what you would do on the page yourself. On Logs it can set the search, add a filter, switch to patterns or start live tail. On Traces it can sort, group and open a trace. On Flows it can filter and highlight flows, and on Issues it can search and select issues for you. From any page it can open any other with its filters set, or change the time window.

  • When you ask for something, like "show me checkout errors", it happens right away and the panel shows what changed with an Undo button. Undo takes the page back to how it was.
  • When the agent thinks of a next step you didn't ask for, it shows it as a button in its answer. Nothing happens until you click it.
  • Only the view changes. Resolving issues, changing alerts or touching incidents still go through their own buttons and reviewed changes.

Pages the agent makes

When you ask for a view the app doesn't have, such as two flows side by side or a table of slow steps by customer, the agent draws it in the panel with charts and tables. Asked from a coding tool over MCP, the same view is kept as a page in Flowhawk and you get its link. Every chart and table on it runs its query again for whoever opens it, with their own role, and an editor can press Keep as dashboard to save it as a dashboard, which is a reviewed change like any other.

When charts and tables can't show what you asked for, like an interactive explorer or a chart type we don't have, the agent writes a small page with HTML and scripts. These pages are guarded the way Claude's artifacts are:

  • The page runs in a sandboxed frame with no access to your session, cookies or the Flowhawk API, and it can't make network requests, submit forms or open other sites. Scripts and styles load only from the page itself and a few public code CDNs.
  • It lists its queries when it is saved, at most ten, and can only run those by name. Each runs read-only as the person viewing the page, inside their workspace and up to 1,000 rows. The page can't send SQL of its own.
  • Flowhawk checks the page before keeping it and refuses one that tries to navigate away, send requests or store data. If a page leaves its frame anyway, Flowhawk removes it.
  • In the panel you asked for it, so it runs right away, and Open as page gives it its own address. Someone opening that address later first sees that the agent wrote it and which queries it will run as them, and presses Run page.

Pages the agent made are listed on Dashboards under Made by the agent.

Drafting a fix

On an issue page, an editor can press Draft a fix. The agent reads the error, its stack trace and up to four of the files in it from your repository, at the release that failed when Flowhawk knows it, and suggests small edits. It also reads the instructions your repository keeps for coding agents and contributors, such as AGENTS.md, CLAUDE.md, Cursor rules, Copilot instructions, .editorconfig and a contributing guide, and follows their conventions. The page leads with what it found and folds the diff away. When the cause isn't in those files or it isn't sure, it says what to check and changes nothing. A draft is kept per issue and costs one question, however often the page is opened.

Open pull request opens the change as a draft pull request on GitHub through the Flowhawk GitHub App. It keeps the changes made on your default branch since the release, and Flowhawk never merges it. Flowhawk doesn't install or run your code, so linting, type checks and tests are left to your own CI. The Fix card shows the pull request's checks as running, passed or failed. When one fails, Draft again with the failures has the agent read the failures and draft a follow-up for you to review and commit to the same pull request, which costs one more question. GitLab and Bitbucket code can be read for a draft, but pull requests are GitHub only for now.

Did the fix work?

Flowhawk follows a fix after its pull request merges. Once a deploy with the merge is running, it watches the error for 24 hours. When the error stays away while the service keeps serving requests, the issue is resolved. When the error happens again on the new release, the issue is reopened with the numbers, and the assignee gets one email, or the owners and admins when nobody is assigned. For an incident, the flow since the deploy is compared with the hour before the incident opened. The Fix card on the issue page and a card on the incident page show where each fix stands.

A pull request you or your coding agent opened is followed too when its title, description or branch names the issue or incident, such as ERR-12, INC-3 or a link to its page. A pull request that changes a line in an open error's stack trace is shown on the issue page as one that may fix it, and an editor presses Follow as the fix or Not the fix. Flowhawk never claims a fix that nobody named. All of this reads pull requests through the Flowhawk GitHub App, never writes to them, and uses no model, so it costs nothing. When Flowhawk sees no deploy with the merge within 14 days, the check says it can't tell.

Incidents and proposals

The agent investigates new incidents and proposes a fix: a config change, or one of the actions your team set up in Settings > Actions, such as a rollback, a scale-up, a flag change or a pull request. An action says exactly what runs, for example one of your GitHub Actions workflows or a signed webhook to your own deploy tool, and which values a proposal may fill in. Without actions, the agent names the cause and what to do, and runs nothing.

A proposal runs only after someone with the role the action asks for approves it, in the app, in Slack or over MCP. It runs once, with the values that were approved, and expires when nobody decides in time, an hour by default. A pull request opens as a draft and shows its checks. Half an hour after an action ran, the incident's timeline says whether it helped, and the action shows on Changes like any deploy. The only actions that run without a person at that moment are the ones you approved in advance.

The agent's findings sit on the incident page under Agent findings. What it looked at and could clear, such as a deploy that came after the errors started, is listed apart under Checked and ruled out, so the next person doesn't check it again. The postmortem draft and the text you copy for a coding agent keep the two apart too.

On each day the agent changed, we grade the release that runs on recorded incidents and questions with known causes. How the agent is checked shows the latest results, how they are graded and what the tests don't show.

When a trace or a log you expected isn't there, ask the agent where it is. It answers from what was left out of storage and why: the share of requests kept for each flow, log levels and metrics that are off, attributes removed by redaction, inbound filters and ingest that was paused.

Pre-approved actions

An admin can approve one action in advance for one situation, so it can run at night without waking anyone. An example: roll back checkout-api when a deploy of it makes checkout fail more within 15 minutes, at most once, between 22:00 and 07:00, for the next 30 days. Set these up in Settings > Actions under Pre-approved actions. Nothing is pre-approved until an admin turns one on.

  • There are two situations to choose from. Either a deploy of one service made one flow fail more, or one alert fired. A deploy counts only when the flow's errors went up: a slower flow alone never runs an action, and the first 3 minutes after a deploy, while the new version warms up, are left out. A rollback tied to a deploy goes back to the version that deploy replaced.
  • Each one has limits. It runs once unless you allow more, up to 10 times, with a wait between runs. It can be kept to certain hours of the day, and it ends after 30 days unless you pick another date, at most 90 days away. A workspace can have 20 turned on.
  • Editors and the agent can write a draft. Turning it on takes an admin, or an owner when the action asks for one, and a coding agent over MCP can't turn on a draft it wrote. Pull requests can't be pre-approved.
  • When the action is changed after it was approved, it stops running until someone turns it on again.
  • After it runs, the person who approved it and the admins get an email with what happened and the result, with Undo where Flowhawk knows how to undo it. The run is on the incident's timeline, on Changes and in the inbox. When the situation happened but the action didn't run, for instance outside its hours, the email says why.
  • Pause all stops every pre-approved action at once. Any editor can press it, and only an admin can turn them back on.

Resolving and following up on its own

Every 30 minutes Flowhawk looks at the open incidents and errors again.

  • An incident with nothing failing any more is resolved once its flow has been back to how it was before the incident for 6 hours. An incident whose alert is still firing is never resolved this way. It resolves when the alert recovers.
  • An error with no event for 7 days is resolved when its service kept serving requests in that time. For an error that usually comes back less often, it waits longer. If the error happens again, the issue comes back as a regression.
  • An incident or an assigned issue that is still happening and that nobody touched for 24 hours gets one email to its lead or assignee, or to the owners and admins.

Each step shows the numbers it went on, in the inbox and on the incident's timeline or the issue's activity, with an Undo. After an undo, Flowhawk leaves that incident or issue alone. It resolves, reopens and emails at most 10 times a day. This uses no model, so it costs nothing, and it never changes your code or your production systems. Editors change the times and the daily limit, or turn it off, in Settings > Workspace under Resolve and follow up on its own, which is a reviewed change like any other.

Running code

For questions that need more rows than fit in an answer, such as percentiles per customer or thousands of traces compared before and after a deploy, the agent can write Python and run it in Anthropic's code sandbox. The code calls the same read tools as the agent, with your role, and has no network. It can read your data but never change anything.

  • It is off by default. To turn it on, ask the agent to turn on code execution. It proposes a change to the workspace settings (agent.codeExecution in workspace.yaml, see Config as code) that an editor reviews and applies.
  • What the code reads can stay in Anthropic's sandbox for up to 30 days, and it isn't covered by zero data retention. That is why it is a choice for each workspace.

What the agent may spend

The agent investigates new incidents by itself up to 20 a day by default. It also pauses for the rest of the month when what agent work charged your balance reaches the workspace's AI budget, $80 a month by default, even with balance left. Editors change the AI budget in Settings > Usage, where it shows how much of it this month used. To change the number of investigations, ask the agent. It proposes a change to the workspace settings that an editor reviews and applies. The spend cap in Settings > Usage limits the whole bill, as the billing page describes.

Teaching it about your system

Tell the agent "remember that the orders service restarts every night at 02:00" and it proposes a note for the workspace, which an editor reviews like any other change. Notes are listed in Settings > Workspace under What the agent should know, where you can also add and remove them. The agent reads them with every question and investigation.

Every answer in the panel and every incident's findings ask Did this help?. When you press No, you can say what was wrong. Settings > Usage and billing shows how often the agent was right over the last 30 days and what people said when it wasn't.

Questions on a schedule

A scheduled question is one the agent answers every day, every working day or one day a week, at an hour in your time zone, and sends to a Slack channel, by email, or both. Use it for a weekly report on your most important flows, a morning summary or an on-call handover. Set them up in Settings > Automations under Scheduled questions, with Send now to try one, or ask the agent to schedule one for you. A scheduled answer uses read tools only and costs the same as a question.

Your own tools

In Settings > Integrations, under Your MCP servers, add an MCP server your team runs, such as an admin API, your feature flags or an order system. Give it a name, a line on what the agent finds there, its https address and a token if it needs one. Adding a server is a reviewed change, and the card lists the tools the agent gets from it.

  • Tools the server marks as read-only are offered wherever the agent runs, investigations included.
  • Tools that change something are left out unless an editor allows them for that server. Even then they are offered only when a person asks in the panel or over MCP, and each call is in the audit log.
  • Viewers don't get these tools. What a server answers is treated as data, never as instructions to the agent.

The same agent in your coding tools

Claude Code, Cursor and other MCP clients connect to https://api.flowhawk.dev/mcp and get the same tools as the panel, limited by your role. A page the agent makes there comes back as a link to Flowhawk, and the same goes for a page it opens with filters set. See Coding agents and MCP.