AI assistant
Ask Buildfyio questions in the dashboard, or have it explain why a deployment failed. It reads; it never changes anything.
By the Buildfyio team · Updated
What it can do
- Answer questions about Buildfyio: open Ask Buildfyio in the dashboard header and ask in English or Turkish. Answers are grounded in these docs and link to the page they come from.
- Explain a failed deployment: on a failed deployment's page choose Explain this failure. The assistant reads the deployment's status, failure reason, the Build Doctor diagnosis and the end of the build log, and suggests what to change.
- Follow-up questions in the same conversation keep the earlier answers as context.
Every workspace member can use it, viewers included, for deployments of the workspace they are in. A deployment of another workspace is answered with 404.
What it cannot do
- It is read-only: it cannot deploy, roll back, change settings, environment variables or domains, or open pull requests. It tells you which page or CLI command to use instead.
- It only helps with Buildfyio and your app running on it.
- It does not see your source code, your environment variable values, runtime (app) logs or billing data, and it has no memory between conversations.
- Answers come from a language model and can be wrong. When the docs do not cover something it is told to say so rather than guess; check limits and prices on the linked page.
Data sent to Anthropic
Answers are generated by Anthropic's Claude (claude-sonnet-5-5 by default) through the Anthropic API. For each question Buildfyio sends:
- your question and up to 8 earlier messages of the open conversation;
- up to 6 excerpts of these docs that match the question;
- when a deployment is attached: its id, project name, status, environment, framework, branch, short commit SHA, failure class and failure reason, the Build Doctor diagnoses, and the last 200 build-log lines (at most 16,000 characters).
bfy_ tokens, bearer credentials, passwords in URLs and PASSWORD=…-style assignments are replaced with [redacted]. Your name, email address and workspace name are not sent.Buildfyio does not store the conversation. It logs token counts, the model and timing per answer, never the question, the log or the answer.
Limits
| Limit | Value |
|---|---|
| Questions per user | 20 per hour |
| Questions per workspace | 200 per day (all members together) |
| Question length | 2,000 characters |
| Build log sent | last 200 lines, at most 16,000 characters |
| Answer length | 4,096 tokens |
A question over a limit is refused with 429 and assistant_rate_limited before it reaches the model; the hourly window and the daily window (UTC) reset on their own.
Errors
| Status | Code | Meaning |
|---|---|---|
503 | assistant_not_configured | The assistant is not configured on this platform (the dashboard then hides it). |
429 | assistant_rate_limited | A user or workspace limit above was reached. |
404 | Not Found | Deployment not found: it is not in this workspace. |
503 | assistant_busy | The model provider is overloaded; try again in a minute. |
502 | assistant_unavailable | The model provider could not be reached or failed. |
API
The dashboard uses the same endpoints as any API client. An API token needs the read scope.
GET /v1/orgs/:orgId/assistant → { configured, model, limits }
POST /v1/orgs/:orgId/assistant/messages → text/event-stream
{ "question": "Why did this deployment fail?",
"locale": "en", // or "tr"
"deploymentId": "dpl_…", // optional
"history": [{ "role": "user", "content": "…" },
{ "role": "assistant", "content": "…" }] } // optional
event: meta data: {"model":"…","docs":[{"title":"…","href":"/docs/…"}],"deploymentId":"dpl_…"}
event: delta data: {"text":"…"}
event: done data: {"stopReason":"end_turn"}
event: error data: {"code":"assistant_stream_error","message":"…"}Self-hosting
The assistant is off until the API has an Anthropic key. Set ANTHROPIC_API_KEY in the API's environment; ASSISTANT_MODEL overrides the model and ASSISTANT_DOCS_URL where the full docs text is read from (default <WEB_ORIGIN>/llms-full.txt; without it the assistant falls back to the docs headings and help-centre index).