Skip to content

Commit ecddce9

Browse files
authored
Remove agent builder from processor (#7063)
# Description of Changes Remove agent builder from processor because we don't intend to implement it any time soon.
1 parent 398f473 commit ecddce9

34 files changed

Lines changed: 5 additions & 2208 deletions

frontend/editor/public/locales/en-US/translation.toml

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -6136,90 +6136,6 @@ free = "Editor plan"
61366136
subscribed = "Processor plan"
61376137
unlinked = "Not linked"
61386138

6139-
[portal.agentBuilder]
6140-
bootstrapFromDocument = "Bootstrap from document"
6141-
sectionsAriaLabel = "Agent builder sections"
6142-
selectorAriaLabel = "Agents"
6143-
subtitle = "Design, test and ship the AI agents that classify, extract from and route your documents. Define scenarios, fence tool access, run a golden set, and publish a version."
6144-
title = "Agent Builder"
6145-
6146-
[portal.agentBuilder.bootstrap]
6147-
cancel = "Cancel"
6148-
dropzoneText = "Choose a sample document (PDF or image)"
6149-
lead = "Drop a sample document and we'll propose scenarios and an extraction schema you can refine. Nothing is published until you review it."
6150-
submit = "Bootstrap agent"
6151-
subtitle = "Seed a new agent from one representative file"
6152-
title = "Bootstrap from a document"
6153-
6154-
[portal.agentBuilder.empty]
6155-
description = "Bootstrap an agent from a sample document to seed its scenarios and extraction schema, then refine and publish."
6156-
title = "No agents yet"
6157-
6158-
[portal.agentBuilder.evals]
6159-
casesPassing = "Cases passing"
6160-
columnCase = "Eval case"
6161-
columnLatency = "Latency"
6162-
columnResult = "Result"
6163-
fail = "fail"
6164-
goldenSetPassRate = "Golden-set pass rate"
6165-
latencyMs = "{{ms}} ms"
6166-
notRun = "not run"
6167-
pass = "pass"
6168-
passRate = "Pass rate"
6169-
runEvals = "Run evals"
6170-
6171-
[portal.agentBuilder.evals.empty]
6172-
description = "Evals turn your scenarios into a repeatable golden set. Upgrade to capture pass-rate over time and gate publishes on it."
6173-
title = "No golden set yet"
6174-
6175-
[portal.agentBuilder.kpi]
6176-
acrossGoldenSets = "across golden sets"
6177-
activeAgents = "Active agents"
6178-
avgPassRate = "Avg eval pass rate"
6179-
fleetWide = "fleet-wide"
6180-
latestPublished = "Latest published"
6181-
scenarios = "Scenarios"
6182-
testCases = "test cases"
6183-
totalDescription_one = "{{count}} total"
6184-
totalDescription_other = "{{count}} total"
6185-
6186-
[portal.agentBuilder.scenarios]
6187-
add = "Add"
6188-
addScenario = "Add scenario"
6189-
enable = "Enable"
6190-
expectationLabel = "Expected behaviour"
6191-
expectationPlaceholder = "What the agent should do"
6192-
inEval = "in eval"
6193-
mute = "Mute"
6194-
muted = "muted"
6195-
nameLabel = "Name"
6196-
namePlaceholder = "e.g. Compliance escalation"
6197-
6198-
[portal.agentBuilder.status]
6199-
draft = "Draft"
6200-
published = "Published"
6201-
6202-
[portal.agentBuilder.tabs]
6203-
evals = "Evals"
6204-
scenarios = "Scenarios"
6205-
tools = "Tools"
6206-
versions = "Versions"
6207-
6208-
[portal.agentBuilder.tools]
6209-
broadAccess = "Broad access"
6210-
deniedHint = "Selected tools are blocked. Everything else stays callable."
6211-
deniedTools = "Denied tools"
6212-
governanceGate = "Tool governance is available on the Enterprise plan."
6213-
restricted = "Restricted"
6214-
restrictedAccess = "Restricted tool access"
6215-
restrictedDescription = "Allow every tool except the ones you deny below."
6216-
6217-
[portal.agentBuilder.versions]
6218-
current = "current"
6219-
historyGate = "Full version history and rollback are available on the Enterprise plan."
6220-
publish = "Publish"
6221-
rollBack = "Roll back"
6222-
62236139
[portal.assistant]
62246140
close = "Close assistant"
62256141
error = "Couldn't reach the assistant."
@@ -7988,7 +7904,6 @@ subtitle = "Reusable input connections that feed documents into Stirling. Config
79887904
title = "Sources"
79897905

79907906
[portal.sources.actions]
7991-
agentBuilder = "Agent Builder"
79927907
connectSource = "Connect source"
79937908

79947909
[portal.sources.builder]

frontend/editor/src/portal-saas/components/sources/AgentBuilderAction.test.tsx

Lines changed: 0 additions & 10 deletions
This file was deleted.

frontend/editor/src/portal-saas/components/sources/AgentBuilderAction.tsx

Lines changed: 0 additions & 7 deletions
This file was deleted.

frontend/editor/src/portal-saas/views/AgentBuilder.tsx

Lines changed: 0 additions & 10 deletions
This file was deleted.

frontend/editor/src/portal/MOCKS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ non-2xx). Views consume via `useAsync()` + `useSectionFlags()` (`hooks/useAsync.
6262
| Documents | `GET /v1/documents` | `tier` | `fetchDocuments` | `DocumentsResponse` |
6363
| Pipelines | `GET /v1/pipelines` · `POST /v1/pipelines/:id/promote-to-policy` | `tier` | `fetchPipelines` · `promoteToPolicy` | `PipelinesResponse` |
6464
| Policies | `GET/POST /api/v1/policies` · `GET/DELETE /api/v1/policies/{id}` · `POST /api/v1/policies/{id}/run` || `fetchPolicies` · `savePolicy` · `deletePolicy` · `runPolicy` | `PoliciesResponse` · `Policy` |
65-
| Agent Builder | `GET /v1/agents` | `tier` | `fetchAgents` | `AgentsResponse` |
6665
| Sources | `GET /v1/sources` | `tier` | `fetchSources` | `SourcesResponse` |
6766
| Components | `GET /v1/components` | `tier` | `fetchComponents` | `ComponentsResponse` |
6867
| Infrastructure | `GET /v1/infrastructure/deployments` | `tier` | `fetchDeployments` | `DeploymentsResponse` |

frontend/editor/src/portal/ViewRouter.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { Pipelines } from "@portal/views/Pipelines";
77
import { PipelineBuilder } from "@portal/views/PipelineBuilder";
88
import { Sources } from "@portal/views/Sources";
99
import { SourceBuilder } from "@portal/views/SourceBuilder";
10-
import { AgentBuilder } from "@portal/views/AgentBuilder";
1110
import { Policies } from "@portal/views/Policies";
1211
import { EditorAdmin } from "@portal/views/EditorAdmin";
1312
import { Infrastructure } from "@portal/views/Infrastructure";
@@ -51,10 +50,6 @@ export function ViewRouter() {
5150
path={`${rel(VIEW_PATHS.sources)}/:id`}
5251
element={<SourceBuilder />}
5352
/>
54-
<Route
55-
path={rel(VIEW_PATHS["agent-builder"])}
56-
element={<AgentBuilder />}
57-
/>
5853
<Route path={rel(VIEW_PATHS.policies)} element={<Policies />} />
5954
<Route path={rel(VIEW_PATHS.documents)} element={<Documents />} />
6055
<Route path={rel(VIEW_PATHS.editor)} element={<EditorAdmin />} />

frontend/editor/src/portal/api/agents.ts

Lines changed: 0 additions & 132 deletions
This file was deleted.

frontend/editor/src/portal/api/demoData.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe("portal demo data seam", () => {
1212
it("is inert until enabled", async () => {
1313
expect(
1414
await resolveDemoResponse(
15-
new URL("/v1/agents?tier=pro", window.location.origin),
15+
new URL("/v1/notifications", window.location.origin),
1616
{},
1717
),
1818
).toBeUndefined();
@@ -22,20 +22,20 @@ describe("portal demo data seam", () => {
2222
it("answers from the fixture handlers while enabled", async () => {
2323
await enablePortalDemoData();
2424
const res = await resolveDemoResponse(
25-
new URL("/v1/agents?tier=pro", window.location.origin),
25+
new URL("/v1/notifications", window.location.origin),
2626
{},
2727
);
2828
expect(res?.status).toBe(200);
29-
const body = (await res?.json()) as { agents: unknown[] };
30-
expect(body.agents.length).toBeGreaterThan(0);
29+
const body = (await res?.json()) as unknown[];
30+
expect(body.length).toBeGreaterThan(0);
3131
});
3232

3333
it("releases back to the network on disable", async () => {
3434
await enablePortalDemoData();
3535
disablePortalDemoData();
3636
expect(
3737
await resolveDemoResponse(
38-
new URL("/v1/agents?tier=pro", window.location.origin),
38+
new URL("/v1/notifications", window.location.origin),
3939
{},
4040
),
4141
).toBeUndefined();

frontend/editor/src/portal/components/agent-builder/AgentBuilderPanel.stories.tsx

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)