AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(platform): say "workflow" instead of "agent" or "graph" in user-facing copy (SECRT-2853) (#15251)
John Ababsehce4f59292647
diff --git a/autogpt_platform/backend/backend/api/features/experts/experts_db_test.py b/autogpt_platform/backend/backend/api/features/experts/experts_db_test.pyindex 238c55f944..4682236ea5 100644--- a/autogpt_platform/backend/backend/api/features/experts/experts_db_test.py+++ b/autogpt_platform/backend/backend/api/features/experts/experts_db_test.py@@ -5197,7 +5197,7 @@ def test_to_expert_run_falls_back_when_workflow_unresolved():run = experts_db._to_expert_run(_run_execution(), None, "unknown", None, needs_review=False)- assert run.agent_name == "Agent task"+ assert run.agent_name == "Workflow task"assert run.library_agent_id is Noneassert run.output_key is Noneassert run.link is Nonediff --git a/autogpt_platform/backend/backend/api/features/graphs/routes.py b/autogpt_platform/backend/backend/api/features/graphs/routes.pyindex b1cd0bbd2b..023cb53f19 100644--- a/autogpt_platform/backend/backend/api/features/graphs/routes.py+++ b/autogpt_platform/backend/backend/api/features/graphs/routes.py@@ -76,7 +76,7 @@ async def get_graph(organization_id=ctx.org_id,)if not graph:- raise HTTPException(status_code=404, detail=f"Graph #{graph_id} not found.")+ raise HTTPException(status_code=404, detail=f"Workflow #{graph_id} not found.")return graph@@ -93,7 +93,7 @@ async def get_graph_all_versions(graph_id, user_id=user_id, organization_id=ctx.org_id)if not graphs:- raise HTTPException(status_code=404, detail=f"Graph #{graph_id} not found.")+ raise HTTPException(status_code=404, detail=f"Workflow #{graph_id} not found.")return graphs@@ -165,7 +165,7 @@ async def update_graph(existing_versions = await graph_db.get_graph_all_versions(graph_id, user_id=user_id)if not existing_versions:- raise HTTPException(404, detail=f"Graph #{graph_id} not found")+ raise HTTPException(404, detail=f"Workflow #{graph_id} not found")graph.version = max(g.version for g in existing_versions) + 1current_active_version = next((v for v in existing_versions if v.is_active), None)@@ -238,7 +238,9 @@ async def set_graph_active_version(graph_id, new_active_version, user_id=user_id)if not new_active_graph:- raise HTTPException(404, f"Graph #{graph_id} v{new_active_version} not found")+ raise HTTPException(+ 404, f"Workflow #{graph_id} v{new_active_version} not found"+ )current_active_graph = await graph_db.get_graph(graph_id=graph_id,@@ -297,7 +299,7 @@ async def update_graph_settings(graph_id=graph_id, user_id=user_id)if not library_agent:- raise HTTPException(404, f"Graph #{graph_id} not found in user's library")+ raise HTTPException(404, f"Workflow #{graph_id} not found in user's library")updated_agent = await library_db.update_library_agent(library_agent_id=library_agent.id,@@ -344,7 +346,7 @@ async def execute_graph(if current_balance <= 0:raise HTTPException(status_code=402,- detail="Insufficient balance to execute the agent. Please top up your account.",+ detail="Insufficient balance to execute the workflow. Please top up your account.",)try:diff --git a/autogpt_platform/backend/backend/api/features/home/activity_test.py b/autogpt_platform/backend/backend/api/features/home/activity_test.pyindex cd6ff1eb51..001f97a0eb 100644--- a/autogpt_platform/backend/backend/api/features/home/activity_test.py+++ b/autogpt_platform/backend/backend/api/features/home/activity_test.py@@ -173,7 +173,7 @@ def test_active_task_falls_back_when_the_graph_is_unknown() -> None:{},)- assert tasks[0].title == "Agent task"+ assert tasks[0].title == "Workflow task"assert tasks[0].link is Nonediff --git a/autogpt_platform/backend/backend/api/features/home/attention.py b/autogpt_platform/backend/backend/api/features/home/attention.pyindex b5b76a2451..3fa4763721 100644--- a/autogpt_platform/backend/backend/api/features/home/attention.py+++ b/autogpt_platform/backend/backend/api/features/home/attention.py@@ -181,7 +181,7 @@ def _expert_attention(expert: Expert) -> HomeAttentionItem:priority="high",title=f"Review {expert.name}'s paused work",description=description,- why_it_matters="Upcoming tasks will not run while this agent is paused.",+ why_it_matters="Upcoming tasks will not run while this expert is paused.",expert=summary,created_at=as_utc(expert.schedules_paused_at),primary_action=HomeAction(@@ -273,7 +273,7 @@ def _credits_attention(schedule_count: int) -> HomeAttentionItem:description=(f"{schedule_count} upcoming task{'s' if schedule_count != 1 else ''} may not run."),- why_it_matters="Agents need a positive balance before paid blocks can start.",+ why_it_matters="Experts and workflows need a positive balance before paid blocks can start.",primary_action=HomeAction(label="Add credits", href="/profile/credits"),)@@ -284,7 +284,7 @@ def _review_expert(review: PendingHumanReviewModel) -> HomeExpert | None:return HomeExpert(id=review.expert_id,name=review.expert_name,- role="Agent",+ role="Expert",avatar_url=review.expert_avatar_url,)diff --git a/autogpt_platform/backend/backend/api/features/home/attention_test.py b/autogpt_platform/backend/backend/api/features/home/attention_test.pyindex f6cac44020..d908d42172 100644--- a/autogpt_platform/backend/backend/api/features/home/attention_test.py+++ b/autogpt_platform/backend/backend/api/features/home/attention_test.py@@ -587,8 +587,8 @@ def test_home_names_a_held_calls_ids_as_the_card_does() -> None:item = _one(review)- assert item.title == "Move agents into library folder “Archive”"- assert item.preview == "Agents: Digest, a1, Triage, Notes, Inbox +2 more"+ assert item.title == "Move workflows into library folder “Archive”"+ assert item.preview == "Workflows: Digest, a1, Triage, Notes, Inbox +2 more"def test_a_clipped_id_list_still_counts_every_id() -> None:@@ -608,5 +608,5 @@ def test_a_clipped_id_list_still_counts_every_id() -> None:review = _gate_review().model_copy(update={"payload": payload})assert _one(review).preview == (- "Agents: Agent 0, Agent 1, Agent 2, Agent 3, Agent 4 +695 more · Folder: f-9"+ "Workflows: Agent 0, Agent 1, Agent 2, Agent 3, Agent 4 +695 more · Folder: f-9")diff --git a/autogpt_platform/backend/backend/api/features/home/recent_work_test.py b/autogpt_platform/backend/backend/api/features/home/recent_work_test.pyindex 8d1e0f6843..53bb25255d 100644--- a/autogpt_platform/backend/backend/api/features/home/recent_work_test.py+++ b/autogpt_platform/backend/backend/api/features/home/recent_work_test.py@@ -198,7 +198,10 @@ def test_events_from_unfetched_runs_stay_apart() -> None:assert len(work.groups) == 2assert all(group.actor.kind == "workflow" for group in work.groups)- assert [group.actor.name for group in work.groups] == ["Agent task", "Agent task"]+ assert [group.actor.name for group in work.groups] == [+ "Workflow task",+ "Workflow task",+ ]def test_thread_work_without_an_expert_is_autopilots() -> None:diff --git a/autogpt_platform/backend/backend/api/features/home/service_test.py b/autogpt_platform/backend/backend/api/features/home/service_test.pyindex 71d60b4cbb..1d3fe8d95f 100644--- a/autogpt_platform/backend/backend/api/features/home/service_test.py+++ b/autogpt_platform/backend/backend/api/features/home/service_test.py@@ -325,7 +325,7 @@ async def test_persisted_summaries_are_scrubbed_when_the_activity_flag_is_off(assert dashboard.briefing.outcomes[0].summary == "Completed successfully."# The hybrid response also appends the live run; a one-sided scrub that# covered only the stored half would still leak through that one.- assert dashboard.briefing.outcomes[1].title == "Agent task finished"+ assert dashboard.briefing.outcomes[1].title == "Workflow task finished"assert dashboard.briefing.outcomes[1].summary == "Completed successfully."@@ -354,7 +354,7 @@ async def test_activity_summary_hidden_when_flag_disabled(dashboard = await build_home_dashboard(user_id="user-1")- assert dashboard.briefing.outcomes[0].title == "Agent task finished"+ assert dashboard.briefing.outcomes[0].title == "Workflow task finished"@pytest.mark.asynciodiff --git a/autogpt_platform/backend/backend/api/features/integrations/router.py b/autogpt_platform/backend/backend/api/features/integrations/router.pyindex 4c46a6b8d4..37fdb9803c 100644--- a/autogpt_platform/backend/backend/api/features/integrations/router.py+++ b/autogpt_platform/backend/backend/api/features/integrations/router.py@@ -1739,7 +1739,7 @@ async def remove_all_webhooks_for_credentials()if any(w.triggered_nodes or w.triggered_presets for w in webhooks) and not force:raise NeedConfirmation(- "Some webhooks linked to these credentials are still in use by an agent"+ "Some webhooks linked to these credentials are still in use by a workflow")for webhook in webhooks:# Unlink all nodes & presetsdiff --git a/autogpt_platform/backend/backend/api/features/onboarding_dump/intro.py b/autogpt_platform/backend/backend/api/features/onboarding_dump/intro.pyindex ee05270683..a15ee6af82 100644--- a/autogpt_platform/backend/backend/api/features/onboarding_dump/intro.py+++ b/autogpt_platform/backend/backend/api/features/onboarding_dump/intro.py@@ -299,7 +299,7 @@ def fallback_prompts() -> list[SuggestedPrompt]:"""return [SuggestedPrompt(- title="Build an agent that drafts your Monday status report before you wake up",+ title="Build a workflow that drafts your Monday status report before you wake up",prompt=("I want a recurring weekly summary of my work. Ask me what ""sources to pull from, then draft the first report so I can "@@ -335,7 +335,7 @@ def fallback_prompts() -> list[SuggestedPrompt]:icon="megaphone",),SuggestedPrompt(- title="Find the two tasks eating your week and hand them to an agent today",+ title="Find the two tasks eating your week and hand them to an expert today",prompt=("Help me find what to automate. Interview me briefly about ""what repeats every week, then propose the two tasks you'd "diff --git a/autogpt_platform/backend/backend/api/features/store/db.py b/autogpt_platform/backend/backend/api/features/store/db.pyindex e555730f5d..071efb447f 100644--- a/autogpt_platform/backend/backend/api/features/store/db.py+++ b/autogpt_platform/backend/backend/api/features/store/db.py@@ -157,7 +157,7 @@ async def get_store_agents()except Exception as e:logger.error(f"Error getting store agents: {e}")- raise DatabaseError("Failed to fetch store agents") from e+ raise DatabaseError("Failed to fetch store workflows") from e# TODO: commenting this out as we concerned about potential db load issues# finally:# if search_term:@@ -311,7 +311,7 @@ async def get_store_agent_details(if not agent:logger.warning(f"Agent not found: {username}/{agent_name}")- raise NotFoundError(f"Agent {username}/{agent_name} not found")+ raise NotFoundError(f"Workflow {username}/{agent_name} not found")# Fetch changelog data if requestedchangelog_data = None@@ -342,7 +342,7 @@ async def get_store_agent_details(raiseexcept Exception as e:logger.error(f"Error getting store agent details: {e}")- raise DatabaseError("Failed to fetch agent details") from e+ raise DatabaseError("Failed to fetch workflow details") from e@overload@@ -401,7 +401,7 @@ async def get_available_graph(except Exception as e:logger.error(f"Error getting agent: {e}")- raise DatabaseError("Failed to fetch agent") from e+ raise DatabaseError("Failed to fetch workflow") from easync def get_store_agent_by_version_id(@@ -421,7 +421,7 @@ async def get_store_agent_by_version_id(if not agent:logger.warning(f"Agent not found: {store_listing_version_id}")- raise NotFoundError(f"Agent {store_listing_version_id} not found")+ raise NotFoundError(f"Workflow {store_listing_version_id} not found")logger.debug(f"Found agent details for {store_listing_version_id}")return store_model.StoreAgentDetails.from_db(agent)@@ -429,7 +429,7 @@ async def get_store_agent_by_version_id(raiseexcept Exception as e:logger.error(f"Error getting store agent details: {e}")- raise DatabaseError("Failed to fetch agent details") from e+ raise DatabaseError("Failed to fetch workflow details") from easync def get_store_agent_details_as_admin(@@ -911,19 +911,19 @@ async def create_store_submission(# Provide more user-friendly error message when graph_id is emptyif not graph_id or graph_id.strip() == "":raise ValueError(- "No agent selected. "- "Please select an agent before submitting to the store."+ "No workflow selected. "+ "Please select a workflow before submitting to the store.")else:raise NotFoundError(- f"Agent #{graph_id} v{graph_version} not found "+ f"Workflow #{graph_id} v{graph_version} not found "f"for this user (#{user_id})")if not graph.User or not graph.User.Profile:logger.warning(f"User #{user_id} does not have a Profile")raise PreconditionFailed(- "User must create a Marketplace Profile before submitting an agent"+ "User must create a Marketplace Profile before submitting a workflow")async with transaction() as tx:@@ -1024,7 +1024,7 @@ async def create_store_submission(if "slug" in error_str.lower():logger.debug(f"Slug '{slug}' is already in use by graph #{graph_id}")raise store_exceptions.SlugAlreadyInUseError(- f"The slug '{slug}' is already in use by another one of your agents. "+ f"The slug '{slug}' is already in use by another one of your workflows. ""Please choose a different slug.") from excelse:@@ -1426,7 +1426,7 @@ async def get_my_agents()except Exception as e:logger.error(f"Error getting my agents: {e}")- raise DatabaseError("Failed to fetch my agents") from e+ raise DatabaseError("Failed to fetch my workflows") from easync def get_agent(store_listing_version_id: str) -> GraphModel:diff --git a/autogpt_platform/backend/backend/api/features/store/db_test.py b/autogpt_platform/backend/backend/api/features/store/db_test.pyindex 6c047d61f4..e5a4c98b1a 100644--- a/autogpt_platform/backend/backend/api/features/store/db_test.py+++ b/autogpt_platform/backend/backend/api/features/store/db_test.py@@ -9,7 +9,7 @@ import pytestfrom prisma import Prismafrom backend.blocks.google.sheets import GoogleSheetsReadBlock-from backend.util.exceptions import NotFoundError+from backend.util.exceptions import DatabaseError, NotFoundErrorfrom . import categories as store_categoriesfrom . import db@@ -121,6 +121,46 @@ async def test_get_store_agent_details(mocker):)[email protected](loop_scope="session")+async def test_get_store_agent_details_missing_names_the_workflow(mocker):+ mock_store_agent = mocker.patch("prisma.models.StoreAgent.prisma")+ mock_store_agent.return_value.find_first = AsyncMock(return_value=None)++ with pytest.raises(NotFoundError, match="^Workflow creator/gone not found$"):+ await db.get_store_agent_details("creator", "gone")++[email protected](loop_scope="session")+async def test_get_store_agent_details_db_failure_names_the_workflow(mocker):+ mock_store_agent = mocker.patch("prisma.models.StoreAgent.prisma")+ mock_store_agent.return_value.find_first = AsyncMock(+ side_effect=RuntimeError("db down")+ )++ with pytest.raises(DatabaseError, match="^Failed to fetch workflow details$"):+ await db.get_store_agent_details("creator", "test-agent")++[email protected](loop_scope="session")+async def test_get_store_agent_by_version_id_missing_names_the_workflow(mocker):+ mock_store_agent = mocker.patch("prisma.models.StoreAgent.prisma")+ mock_store_agent.return_value.find_first = AsyncMock(return_value=None)++ with pytest.raises(NotFoundError, match="^Workflow version-9 not found$"):+ await db.get_store_agent_by_version_id("version-9")++[email protected](loop_scope="session")+async def test_get_store_agent_by_version_id_db_failure_names_the_workflow(mocker):+ mock_store_agent = mocker.patch("prisma.models.StoreAgent.prisma")+ mock_store_agent.return_value.find_first = AsyncMock(+ side_effect=RuntimeError("db down")+ )++ with pytest.raises(DatabaseError, match="^Failed to fetch workflow details$"):+ await db.get_store_agent_by_version_id("version-9")++@pytest.mark.asyncio(loop_scope="session")async def test_get_store_creator(mocker):# Mock datadiff --git a/autogpt_platform/backend/backend/copilot/briefing/generate_test.py b/autogpt_platform/backend/backend/copilot/briefing/generate_test.pyindex 3349c59d08..9823baa3ae 100644--- a/autogpt_platform/backend/backend/copilot/briefing/generate_test.py+++ b/autogpt_platform/backend/backend/copilot/briefing/generate_test.py@@ -825,7 +825,7 @@ async def test_generate_writes_recomposed_content_back_to_an_unreadable_row(client.create_briefing.assert_not_awaited()update_call = client.update_briefing_content.await_argsassert update_call.args[:2] == ("user-1", "briefing-1")- assert update_call.args[2]["run_items"][0]["agent_name"] == "Agent task"+ assert update_call.args[2]["run_items"][0]["agent_name"] == "Workflow task"@pytest.mark.asynciodiff --git a/autogpt_platform/backend/backend/copilot/briefing/outcome.py b/autogpt_platform/backend/backend/copilot/briefing/outcome.pyindex c663d49dda..b4a6ffc103 100644--- a/autogpt_platform/backend/backend/copilot/briefing/outcome.py+++ b/autogpt_platform/backend/backend/copilot/briefing/outcome.py@@ -15,7 +15,7 @@ from backend.data.execution import ExecutionStatus, GraphExecutionMetafrom .models import BriefingRunItem# Shared fallback for a run whose agent couldn't be resolved in the library.-DEFAULT_AGENT_NAME = "Agent task"+DEFAULT_AGENT_NAME = "Workflow task"_FAILED_DETAIL = "Open the run to inspect the failure and choose the next step."_COMPLETED_DETAIL = "Completed successfully."# Longest a summary's first sentence may run before it is clipped into a title.diff --git a/autogpt_platform/backend/backend/copilot/gate/headline.py b/autogpt_platform/backend/backend/copilot/gate/headline.pyindex d629b388f9..d70bbe8258 100644--- a/autogpt_platform/backend/backend/copilot/gate/headline.py+++ b/autogpt_platform/backend/backend/copilot/gate/headline.py@@ -14,16 +14,16 @@ _ASK: dict[str, tuple[str, tuple[str, ...]]] = {"browser_act": ("Act on the open page", ()),"post_to_chat_platform": ("Post a message", ()),"edit_chat_platform_message": ("Edit a posted message", ()),- "create_agent": ("Create an agent", ()),- "customize_agent": ("Customize an agent", ()),- "edit_agent": ("Edit an agent", ()),- "fix_agent_graph": ("Fix an agent", ()),- "enter_agent_building_mode": ("Start building an agent", ()),+ "create_agent": ("Create a workflow", ()),+ "customize_agent": ("Customize a workflow", ()),+ "edit_agent": ("Edit a workflow", ()),+ "fix_agent_graph": ("Fix a workflow", ()),+ "enter_agent_building_mode": ("Start building a workflow", ()),"create_folder": ("Create library folder", ("name",)),"update_folder": ("Update library folder", ("name",)),"move_folder": ("Move library folder", ()),"delete_folder": ("Delete library folder", ()),- "move_agents_to_folder": ("Move agents into library folder", ()),+ "move_agents_to_folder": ("Move workflows into library folder", ()),"update_preset": ("Update preset", ("name",)),"delete_preset": ("Delete a preset", ()),"schedule_followup": ("Schedule a follow-up", ("name",)),diff --git a/autogpt_platform/backend/backend/copilot/gate/references.py b/autogpt_platform/backend/backend/copilot/gate/references.pyindex b697620a23..9b9c3ae64a 100644--- a/autogpt_platform/backend/backend/copilot/gate/references.py+++ b/autogpt_platform/backend/backend/copilot/gate/references.py@@ -189,7 +189,7 @@ async def _library_folder(folder_id: str, call: _Call) -> _Found | None:name=folder.name,href=f"/library?{urlencode({'folder': folder.id})}",meta=[- _count(folder.agent_count, "agent"),+ _count(folder.agent_count, "workflow"),_count(folder.subfolder_count, "subfolder"),f"In {parent.name}" if parent else None,],@@ -229,7 +229,7 @@ async def _preset(preset_id: str, call: _Call) -> _Found | None:href=_agent_href(agent.id, activeTab=tab, activeItem=item) if agent else None,description=preset.description,meta=[- f"Agent: {agent.name}" if agent else None,+ f"Workflow: {agent.name}" if agent else None,None if preset.is_active else "Inactive",],)@@ -259,7 +259,7 @@ async def _schedule(schedule_id: str, call: _Call) -> _Found | None:meta=[_cron(job.cron) if job.cron else "Runs once",_when("Next run", when) if when else "Paused",- f"Agent: {agent.name}" if agent else None,+ f"Workflow: {agent.name}" if agent else None,],)@@ -356,7 +356,7 @@ async def _routine(routine_id: str, call: _Call) -> _Found | None:async def _store_listing(version_id: str, call: _Call) -> _Found | None:agent = await store_db().get_store_agent_by_version_id(version_id)return _Found(- kind="Marketplace agent",+ kind="Marketplace workflow",name=agent.agent_name,href=f"/marketplace/agent/{quote(agent.creator, safe='')}/"f"{quote(agent.slug, safe='')}",@@ -481,7 +481,7 @@ async def _parent_folder(parent_id: str, call: _Call) -> LibraryFolder | None:def _agent(agent: LibraryAgent) -> _Found:return _Found(- kind="Agent",+ kind="Workflow",name=agent.name,href=_agent_href(agent.id),description=agent.description,diff --git a/autogpt_platform/backend/backend/copilot/gate/references_db_test.py b/autogpt_platform/backend/backend/copilot/gate/references_db_test.pyindex 274e73a925..a80ac7f745 100644--- a/autogpt_platform/backend/backend/copilot/gate/references_db_test.py+++ b/autogpt_platform/backend/backend/copilot/gate/references_db_test.py@@ -41,8 +41,8 @@ async def test_a_held_delete_names_the_folder_in_the_stored_card(name=name,href=f"/library?folder={folder.id}",kind="Library folder",- meta=[Fact(text="0 agents"), Fact(text="0 subfolders")],- summary="0 agents · 0 subfolders",+ meta=[Fact(text="0 workflows"), Fact(text="0 subfolders")],+ summary="0 workflows · 0 subfolders",)]diff --git a/autogpt_platform/backend/backend/copilot/gate/references_test.py b/autogpt_platform/backend/backend/copilot/gate/references_test.pyindex f1020a20f9..a6ea360c81 100644--- a/autogpt_platform/backend/backend/copilot/gate/references_test.py+++ b/autogpt_platform/backend/backend/copilot/gate/references_test.py@@ -74,8 +74,8 @@ async def test_a_single_id_resolves_to_its_name_and_page():name="Q3 reports",href="/library?folder=f-111",kind="Library folder",- meta=[Fact(text="0 agents"), Fact(text="0 subfolders")],- summary="0 agents · 0 subfolders",+ meta=[Fact(text="0 workflows"), Fact(text="0 subfolders")],+ summary="0 workflows · 0 subfolders",)lib.get_folder.assert_awaited_once_with("f-111", "user-1")@@ -308,7 +308,7 @@ async def test_a_resolved_agent_carries_its_card_for_the_hover():ref = await _resolved_agent(description="Sends the morning digest")assert (ref.kind, ref.name, ref.description) == (- "Agent",+ "Workflow","Digest","Sends the morning digest",)diff --git a/autogpt_platform/backend/backend/copilot/gate/review.py b/autogpt_platform/backend/backend/copilot/gate/review.pyindex 2d3be33f32..8d3b41c4b3 100644--- a/autogpt_platform/backend/backend/copilot/gate/review.py+++ b/autogpt_platform/backend/backend/copilot/gate/review.py@@ -365,9 +365,11 @@ def _field_labels(tool_name: str, shown: dict[str, Any]) -> list[FieldLabel]:def _humanize(key: str) -> str:- # agent_ids -> "Agents": the card shows names there, not ids.+ # agent_ids -> "Workflows": the card shows names there, not ids, and users+ # know a graph as a workflow.plural = key.endswith("_ids")words = key.removesuffix("_ids").removesuffix("_id").replace("_", " ").strip()+ words = words.replace("agent", "workflow").replace("graph", "workflow")words += "s" if plural else ""return words[:1].upper() + words[1:]diff --git a/autogpt_platform/backend/backend/copilot/offers.py b/autogpt_platform/backend/backend/copilot/offers.pyindex 177cbaee0b..bacf532dd3 100644--- a/autogpt_platform/backend/backend/copilot/offers.py+++ b/autogpt_platform/backend/backend/copilot/offers.py@@ -341,7 +341,7 @@ def _limitations(transport: ChatTransportResponse) -> list[str]:if transport.auth_provider in {"codex", "microsoft_365_copilot"}:# Stated because it is a real edge a user can hit, not a policy note:# the builder panel rejects a codex route outright.- limitations.append("The agent builder's chat panel always runs on AutoGPT.")+ limitations.append("The workflow builder's chat panel always runs on AutoGPT.")if transport.auth_provider == "microsoft_365_copilot":limitations.extend([diff --git a/autogpt_platform/backend/backend/copilot/offers_test.py b/autogpt_platform/backend/backend/copilot/offers_test.pyindex cae7f37ce1..29a2375311 100644--- a/autogpt_platform/backend/backend/copilot/offers_test.py+++ b/autogpt_platform/backend/backend/copilot/offers_test.py@@ -293,7 +293,7 @@ async def test_chatgpt_states_the_edge_a_user_can_actually_hit((offer,) = await get_connection_offers(USER_ID)assert offer.limitations == [- "The agent builder's chat panel always runs on AutoGPT."+ "The workflow builder's chat panel always runs on AutoGPT."]diff --git a/autogpt_platform/backend/backend/copilot/tools/agent_generator/core.py b/autogpt_platform/backend/backend/copilot/tools/agent_generator/core.pyindex ddec3d14d2..90b89476b2 100644--- a/autogpt_platform/backend/backend/copilot/tools/agent_generator/core.py+++ b/autogpt_platform/backend/backend/copilot/tools/agent_generator/core.py@@ -590,7 +590,7 @@ def json_to_graph(agent_json: dict[str, Any]) -> Graph:id=agent_json.get("id", str(uuid.uuid4())),version=agent_json.get("version", 1),is_active=agent_json.get("is_active", True),- name=agent_json.get("name", "Generated Agent"),+ name=agent_json.get("name", "Generated Workflow"),description=agent_json.get("description", ""),nodes=nodes,links=links,diff --git a/autogpt_platform/backend/backend/copilot/tools/agent_generator/errors.py b/autogpt_platform/backend/backend/copilot/tools/agent_generator/errors.pyindex 282d8cf9aa..f102ca666d 100644--- a/autogpt_platform/backend/backend/copilot/tools/agent_generator/errors.py+++ b/autogpt_platform/backend/backend/copilot/tools/agent_generator/errors.py@@ -66,8 +66,8 @@ def get_user_message_for_error(elif error_type == "validation_error":base_message = (validation_message- or "The generated agent failed validation. "- "This usually happens when the agent structure doesn't match "+ or "The generated workflow failed validation. "+ "This usually happens when the workflow structure doesn't match ""what the platform expects. Please try simplifying your goal ""or breaking it into smaller parts.")@@ -79,7 +79,7 @@ def get_user_message_for_error(elif error_type in ("timeout", "llm_timeout"):base_message = ("The request took too long to process. This can happen with "- "complex agents. Please try again or simplify your goal."+ "complex workflows. Please try again or simplify your goal.")elif error_type in ("rate_limit", "llm_rate_limit"):base_message = "The service is currently busy. Please try again in a moment."diff --git a/autogpt_platform/backend/backend/copilot/tools/agent_generator/pipeline.py b/autogpt_platform/backend/backend/copilot/tools/agent_generator/pipeline.pyindex 194b068043..a47c3e0a31 100644--- a/autogpt_platform/backend/backend/copilot/tools/agent_generator/pipeline.py+++ b/autogpt_platform/backend/backend/copilot/tools/agent_generator/pipeline.py@@ -49,7 +49,7 @@ async def fix_validate_and_save(session_id: str | None,save: bool = True,is_update: bool = False,- default_name: str = "Agent",+ default_name: str = "Workflow",preview_message: str | None = None,save_message: str | None = None,library_agents: list[dict[str, Any]] | None = None,@@ -114,7 +114,7 @@ async def fix_validate_and_save(except Exception as e:logger.error(f"Validation failed with exception: {e}", exc_info=True)return ErrorResponse(- message="Failed to validate the agent. Please try again.",+ message="Failed to validate the workflow. Please try again.",error="validation_exception",details={"exception": str(e)},session_id=session_id,@@ -133,6 +133,12 @@ async def fix_validate_and_save("updated agent","new agent","my agent",+ "workflow",+ "generated workflow",+ "customized workflow",+ "updated workflow",+ "new workflow",+ "my workflow",}metadata_warnings: list[str] = []if not agent_json.get("name") or agent_name.lower().strip() in _GENERIC_NAMES:@@ -143,7 +149,7 @@ async def fix_validate_and_save(if metadata_warnings:missing = " and ".join(metadata_warnings)metadata_hint = (- f" Note: the agent is missing a meaningful {missing}. "+ f" Note: the workflow is missing a meaningful {missing}. "f"Please update the agent_json to include them.")@@ -152,7 +158,7 @@ async def fix_validate_and_save(message=((preview_message- or f"Agent '{agent_name}' with {node_count} blocks is ready."+ or f"Workflow '{agent_name}' with {node_count} blocks is ready.")+ metadata_hint),@@ -166,7 +172,7 @@ async def fix_validate_and_save(if not user_id:return ErrorResponse(- message="You must be logged in to save agents.",+ message="You must be logged in to save workflows.",error="auth_required",session_id=session_id,)@@ -181,7 +187,7 @@ async def fix_validate_and_save()return AgentSavedResponse(message=(- (save_message or f"Agent '{created_graph.name}' has been saved!")+ (save_message or f"Workflow '{created_graph.name}' has been saved!")+ metadata_hint),agent_id=created_graph.id,@@ -195,7 +201,7 @@ async def fix_validate_and_save(except Exception as e:logger.error(f"Failed to save agent: {e}", exc_info=True)return ErrorResponse(- message=f"Failed to save the agent: {str(e)}",+ message=f"Failed to save the workflow: {str(e)}",error="save_failed",details={"exception": str(e)},session_id=session_id,diff --git a/autogpt_platform/backend/backend/copilot/tools/agent_generator/validator.py b/autogpt_platform/backend/backend/copilot/tools/agent_generator/validator.pyindex 6f787d55d5..5fa62996c0 100644--- a/autogpt_platform/backend/backend/copilot/tools/agent_generator/validator.py+++ b/autogpt_platform/backend/backend/copilot/tools/agent_generator/validator.py@@ -1133,7 +1133,7 @@ class AgentValidator:logger.info("Agent validation successful.")return True, Noneelse:- error_message = "Agent validation failed with the following errors:\n\n"+ error_message = "Workflow validation failed with the following errors:\n\n"for i, error in enumerate(self.errors, 1):error_message += f"{i}. {error}\n"diff --git a/autogpt_platform/backend/backend/copilot/tools/agent_json_input.py b/autogpt_platform/backend/backend/copilot/tools/agent_json_input.pyindex 1b7fc27768..48d79d46fb 100644--- a/autogpt_platform/backend/backend/copilot/tools/agent_json_input.py+++ b/autogpt_platform/backend/backend/copilot/tools/agent_json_input.py@@ -160,9 +160,9 @@ async def _resolve_ref(uri = _ref_to_uri(ref)if uri is None:return None, (- f"Could not interpret agent graph reference "+ f"Could not interpret workflow reference "f"'{os.path.basename(ref)[:80]}' as a workspace file reference. "- "Pass the agent graph inline as agent_json, or a "+ "Pass the workflow inline as agent_json, or a ""'workspace:///agent.json' reference as agent_json_ref.")@@ -172,13 +172,13 @@ async def _resolve_ref(try:data = await read_file_bytes(uri, user_id, session)except ValueError:- return None, f"Could not read referenced agent graph file '{ref_name}'."+ return None, f"Could not read referenced workflow file '{ref_name}'."parsed = _try_parse_json(data.decode("utf-8", errors="replace"))if not isinstance(parsed, dict) or not parsed:return None, (- f"Referenced agent graph file '{ref_name}' did not contain a JSON "- "object. Ensure the file holds the full agent graph before "+ f"Referenced workflow file '{ref_name}' did not contain a JSON "+ "object. Ensure the file holds the full workflow before ""referencing it.")return parsed, Nonediff --git a/autogpt_platform/backend/backend/copilot/tools/agent_output.py b/autogpt_platform/backend/backend/copilot/tools/agent_output.pyindex 40da793466..75ea503dce 100644--- a/autogpt_platform/backend/backend/copilot/tools/agent_output.py+++ b/autogpt_platform/backend/backend/copilot/tools/agent_output.py@@ -202,21 +202,21 @@ class AgentOutputTool(BaseTool):return agent, Noneexcept Exception as e:logger.warning(f"Failed to get library agent by ID: {e}")- return None, f"Library agent '{library_agent_id}' not found"+ return None, f"Library workflow '{library_agent_id}' not found"# Priority 2: Store slug (username/agent-name)if store_slug and "/" in store_slug:username, agent_slug = store_slug.split("/", 1)graph, _ = await fetch_graph_from_store_slug(username, agent_slug)if not graph:- return None, f"Agent '{store_slug}' not found in marketplace"+ return None, f"Workflow '{store_slug}' not found in marketplace"# Find in user's library by graph_idagent = await lib_db.get_library_agent_by_graph_id(user_id, graph.id)if not agent:return (None,- f"Agent '{store_slug}' is not in your library. "+ f"Workflow '{store_slug}' is not in your library. ""Add it first to see outputs.",)return agent, None@@ -232,18 +232,18 @@ class AgentOutputTool(BaseTool):if not response.agents:return (None,- f"No agents matching '{agent_name}' found in your library",+ f"No workflows matching '{agent_name}' found in your library",)# Return best match (first result from search)return response.agents[0], Noneexcept Exception as e:logger.error(f"Error searching library agents: {e}")- return None, f"Error searching for agent: {e}"+ return None, f"Error searching for workflow: {e}"return (None,- "Please specify an agent name, library_agent_id, or store_slug",+ "Please specify a workflow name, library_agent_id, or store_slug",)async def _get_execution(@@ -340,7 +340,7 @@ class AgentOutputTool(BaseTool):if not execution:return AgentOutputResponse(- message=f"No completed executions found for agent '{agent.name}'",+ message=f"No completed executions found for workflow '{agent.name}'",session_id=session_id,agent_name=agent.name,agent_id=agent.graph_id,@@ -390,7 +390,7 @@ class AgentOutputTool(BaseTool):# Build appropriate message based on execution statusif execution.status == ExecutionStatus.COMPLETED:- message = f"Found execution outputs for agent '{agent.name}'"+ message = f"Found execution outputs for workflow '{agent.name}'"health_warning = build_run_health_warning(execution.outputs,node_failures,@@ -406,12 +406,12 @@ class AgentOutputTool(BaseTool):)message += f". {health_warning}"elif execution.status == ExecutionStatus.FAILED:- message = f"Execution for agent '{agent.name}' failed"+ message = f"Execution for workflow '{agent.name}' failed"elif execution.status == ExecutionStatus.TERMINATED:- message = f"Execution for agent '{agent.name}' was terminated"+ message = f"Execution for workflow '{agent.name}' was terminated"elif execution.status == ExecutionStatus.REVIEW:message = (- f"Execution for agent '{agent.name}' is awaiting human review. "+ f"Execution for workflow '{agent.name}' is awaiting human review. ""The user needs to approve it before it can continue.")elif execution.status in (@@ -420,11 +420,11 @@ class AgentOutputTool(BaseTool):ExecutionStatus.INCOMPLETE,):message = (- f"Execution for agent '{agent.name}' is still {execution.status.value}. "+ f"Execution for workflow '{agent.name}' is still {execution.status.value}. ""Results may be incomplete. Use wait_if_running to wait for completion.")else:- message = f"Found execution for agent '{agent.name}' (status: {execution.status.value})"+ message = f"Found execution for workflow '{agent.name}' (status: {execution.status.value})"if len(available_executions) > 1:message += (@@ -518,11 +518,13 @@ class AgentOutputTool(BaseTool):if not agent:return NoResultsResponse(message=(- f"Execution found but agent not in your library. "+ f"Execution found but workflow not in your library. "f"Graph ID: {execution.graph_id}"),session_id=session_id,- suggestions=["Add the agent to your library to see more details"],+ suggestions=[+ "Add the workflow to your library to see more details"+ ],).from_outside()return self._build_response(agent, execution, [], session_id)@@ -537,11 +539,11 @@ class AgentOutputTool(BaseTool):if error or not agent:return NoResultsResponse(- message=error or "Agent not found",+ message=error or "Workflow not found",session_id=session_id,suggestions=[- "Check the agent name or ID",- "Make sure the agent is in your library",+ "Check the workflow name or ID",+ "Make sure the workflow is in your library",],)diff --git a/autogpt_platform/backend/backend/copilot/tools/agent_output_test.py b/autogpt_platform/backend/backend/copilot/tools/agent_output_test.pyindex 0b612ec4a2..45bce3e618 100644--- a/autogpt_platform/backend/backend/copilot/tools/agent_output_test.py+++ b/autogpt_platform/backend/backend/copilot/tools/agent_output_test.py@@ -5,7 +5,7 @@ run) or produce no outputs; the response message must surface that insteadof reading as success."""-from unittest.mock import MagicMock+from unittest.mock import AsyncMock, MagicMock, patchfrom backend.data.execution import (ExecutionStatus,@@ -16,6 +16,8 @@ from backend.data.execution import (from .agent_output import AgentOutputTool+_MODULE = "backend.copilot.tools.agent_output"+def _agent() -> MagicMock:agent = MagicMock()@@ -116,3 +118,70 @@ def test_healthy_completed_has_no_warning():)assert "WARNING" not in response.messageassert response.execution.nodes_failed is None+++def _library(**methods) -> MagicMock:+ lib = MagicMock()+ for name, mock in methods.items():+ setattr(lib, name, mock)+ return lib+++async def _resolve(lib: MagicMock, **kwargs) -> tuple:+ args = {"agent_name": None, "library_agent_id": None, "store_slug": None}+ args.update(kwargs)+ with patch(f"{_MODULE}.library_db", return_value=lib):+ return await AgentOutputTool()._resolve_agent(user_id="user-1", **args)+++async def test_resolve_unknown_library_id_names_the_workflow():+ lib = _library(get_library_agent=AsyncMock(side_effect=ValueError("missing")))+ agent, error = await _resolve(lib, library_agent_id="lib-9")+ assert agent is None+ assert error == "Library workflow 'lib-9' not found"+++async def test_resolve_unknown_store_slug_names_the_workflow():+ with patch(+ f"{_MODULE}.fetch_graph_from_store_slug",+ AsyncMock(return_value=(None, None)),+ ):+ agent, error = await _resolve(_library(), store_slug="alice/digest")+ assert agent is None+ assert error == "Workflow 'alice/digest' not found in marketplace"+++async def test_resolve_store_workflow_missing_from_library_says_add_it():+ graph = MagicMock()+ graph.id = "graph-7"+ lib = _library(get_library_agent_by_graph_id=AsyncMock(return_value=None))+ with patch(+ f"{_MODULE}.fetch_graph_from_store_slug",+ AsyncMock(return_value=(graph, None)),+ ):+ agent, error = await _resolve(lib, store_slug="alice/digest")+ assert agent is None+ assert error == (+ "Workflow 'alice/digest' is not in your library. "+ "Add it first to see outputs."+ )+++async def test_resolve_name_with_no_match_names_workflows():+ lib = _library(list_library_agents=AsyncMock(return_value=MagicMock(agents=[])))+ agent, error = await _resolve(lib, agent_name="Digest")+ assert agent is None+ assert error == "No workflows matching 'Digest' found in your library"+++async def test_resolve_name_search_failure_names_the_workflow():+ lib = _library(list_library_agents=AsyncMock(side_effect=RuntimeError("db down")))+ agent, error = await _resolve(lib, agent_name="Digest")+ assert agent is None+ assert error == "Error searching for workflow: db down"+++async def test_resolve_with_no_identifier_asks_for_a_workflow_name():+ agent, error = await _resolve(_library())+ assert agent is None+ assert error == "Please specify a workflow name, library_agent_id, or store_slug"diff --git a/autogpt_platform/backend/backend/copilot/tools/agent_search.py b/autogpt_platform/backend/backend/copilot/tools/agent_search.pyindex cf299cc51b..509625be6e 100644--- a/autogpt_platform/backend/backend/copilot/tools/agent_search.py+++ b/autogpt_platform/backend/backend/copilot/tools/agent_search.py@@ -82,9 +82,9 @@ async def _search_marketplace(query: str, session_id: str | None) -> ToolResponsif not agents:return NoResultsResponse(message=(- f"No agents found matching '{query}'. Let the user know they can "+ f"No workflows found matching '{query}'. Let the user know they can ""try different keywords or browse the marketplace. Also let them "- "know you can create a custom agent for them based on their needs."+ "know you can create a custom workflow for them based on their needs."),suggestions=["Try more general terms",@@ -97,11 +97,11 @@ async def _search_marketplace(query: str, session_id: str | None) -> ToolResponsreturn AgentsFoundResponse(message=("Now you have found some options for the user to choose from. "- "You can add a link to a recommended agent at: /marketplace/agent/agent_id "- "Please ask the user if they would like to use any of these agents. "- "Let the user know we can create a custom agent for them based on their needs."+ "You can add a link to a recommended workflow at: /marketplace/agent/agent_id "+ "Please ask the user if they would like to use any of these workflows. "+ "Let the user know we can create a custom workflow for them based on their needs."),- title=f"Found {len(agents)} agent{'s' if len(agents) != 1 else ''} for '{query}'",+ title=f"Found {len(agents)} workflow{'s' if len(agents) != 1 else ''} for '{query}'",agents=agents,count=len(agents),session_id=session_id,@@ -181,19 +181,19 @@ async def _search_library(return NoResultsResponse(message=("Your library is empty. Let the user know they can browse the "- "marketplace to find agents, or you can create a custom agent "+ "marketplace to find workflows, or you can create a custom workflow ""for them based on their needs."),suggestions=[- "Browse the marketplace to find and add agents",+ "Browse the marketplace to find and add workflows","Use tool:find_agent to search the marketplace",],session_id=session_id,)return NoResultsResponse(message=(- f"No agents matching '{query}' found in your library. Let the "- "user know you can create a custom agent for them based on "+ f"No workflows matching '{query}' found in your library. Let the "+ "user know you can create a custom workflow for them based on ""their needs."),suggestions=[@@ -205,24 +205,24 @@ async def _search_library()if not query:- title = f"Found {len(agents)} agent{'s' if len(agents) != 1 else ''} in your library"+ title = f"Found {len(agents)} workflow{'s' if len(agents) != 1 else ''} in your library"else:- title = f"Found {len(agents)} agent{'s' if len(agents) != 1 else ''} in your library for '{query}'"+ title = f"Found {len(agents)} workflow{'s' if len(agents) != 1 else ''} in your library for '{query}'"message = (- "Found agents in the user's library. You can provide a link to view "- "an agent at: /library/agents/{agent_id}. Use tool:view_agent_output to get "+ "Found workflows in the user's library. You can provide a link to view "+ "a workflow at: /library/agents/{agent_id}. Use tool:view_agent_output to get ""execution results, or run_agent to execute. Let the user know we can "- "create a custom agent for them based on their needs."+ "create a custom workflow for them based on their needs.")if any(a.trigger_info for a in agents):message += (- "\n\nSome agents have a webhook trigger (see their "+ "\n\nSome workflows have a webhook trigger (see their ""`trigger_info`). To set up or activate ""such a trigger, call tool:setup_agent_webhook_trigger and pass the ""config_schema fields as `trigger_config` — you don't need the full ""graph for this, and must NOT edit the trigger node's values in the "- "graph (that changes the agent's global default for everyone)."+ "graph (that changes the workflow's global default for everyone).")if truncation_notice:message += f"\n\nNote: {truncation_notice}"@@ -304,9 +304,9 @@ async def _enrich_agents_with_graph()return (f"Graph data included for {len(fetchable)} of "- f"{len(with_graph_id)} eligible agents (limit: {_MAX_GRAPH_FETCHES}). "- f"To fetch graphs for remaining agents, narrow your search to a "- f"specific agent by UUID."+ f"{len(with_graph_id)} eligible workflows (limit: {_MAX_GRAPH_FETCHES}). "+ f"To fetch graphs for remaining workflows, narrow your search to a "+ f"specific workflow by UUID.")return None@@ -392,10 +392,10 @@ async def search_library_for_creation(return NoResultsResponse(message=("No `goal_summary` was provided, so no similarity check "- "ran. If the user is asking for a new agent, retry "+ "ran. If the user is asking for a new workflow, retry ""find_library_agent with for_creation=true and a ""goal_summary describing what they want. If the user has "- "since clarified they want a new agent regardless, "+ "since clarified they want a new workflow regardless, ""proceed with tool:create_agent and pass ""library_check_ack=true."),@@ -449,13 +449,13 @@ async def search_library_for_creation()return NoResultsResponse(message=(- "No functionally similar agents found in the user's library. "- "You may proceed to create a new agent: call `tool:create_agent` "+ "No functionally similar workflows found in the user's library. "+ "You may proceed to create a new workflow: call `tool:create_agent` ""with `library_check_ack=true` to satisfy the similarity ""gate."),suggestions=[- "Proceed with tool:create_agent (no similar library agent to reuse)",+ "Proceed with tool:create_agent (no similar library workflow to reuse)",],session_id=session_id,)@@ -468,13 +468,13 @@ async def search_library_for_creation()return NoResultsResponse(message=(- "No functionally similar agents found in the user's library. "- "You may proceed to create a new agent: call `tool:create_agent` "+ "No functionally similar workflows found in the user's library. "+ "You may proceed to create a new workflow: call `tool:create_agent` ""with `library_check_ack=true` to satisfy the similarity ""gate."),suggestions=[- "Proceed with tool:create_agent (no similar library agent to reuse)",+ "Proceed with tool:create_agent (no similar library workflow to reuse)",],session_id=session_id,)@@ -489,16 +489,16 @@ async def search_library_for_creation()return AgentsFoundResponse(message=(- "Found agents in the user's library that may already match the "+ "Found workflows in the user's library that may already match the ""user's goal. Present them with their `match_score` (a float in ""[0, 1]; format as `[N% match]` for the user) and ask whether ""they want to reuse one of these instead of creating a new "- "agent. Use run_agent to execute a chosen existing agent. ONLY "+ "workflow. Use run_agent to execute a chosen existing workflow. ONLY ""call `tool:create_agent` with `library_check_ack=true` if the user ""explicitly chooses to build a new one anyway."),title=(- f"Found {len(agents)} potentially similar agent"+ f"Found {len(agents)} potentially similar workflow"f"{'s' if len(agents) != 1 else ''} in your library"),agents=agents,@@ -553,7 +553,7 @@ async def lookup_library_agent_by_id("""if not user_id:return ErrorResponse(- message="User authentication required to fetch a library agent",+ message="User authentication required to fetch a library workflow",session_id=session_id,)@@ -562,7 +562,7 @@ async def lookup_library_agent_by_id(except DatabaseError as e:logger.error(f"Error fetching library agent {agent_id}: {e}", exc_info=True)return ErrorResponse(- message="Failed to fetch the library agent. Please try again.",+ message="Failed to fetch the library workflow. Please try again.",error=str(e),session_id=session_id,)@@ -570,9 +570,9 @@ async def lookup_library_agent_by_id(if agent is None:return NoResultsResponse(message=(- f"No library agent found with id '{agent_id}'. It may have been "+ f"No library workflow found with id '{agent_id}'. It may have been ""deleted or you may not have access. Retry find_library_agent "- "with a name query, or create a custom agent."+ "with a name query, or create a custom workflow."),suggestions=["Retry find_library_agent with a name/description query",@@ -586,7 +586,7 @@ async def lookup_library_agent_by_id(truncation_notice = await _enrich_agents_with_graph([agent], user_id)message = (- "Found the requested library agent. Link to it at "+ "Found the requested library workflow. Link to it at ""/library/agents/{agent_id}. Use tool:view_agent_output for execution ""results, or run_agent to execute it.")@@ -595,7 +595,7 @@ async def lookup_library_agent_by_id(return AgentsFoundResponse(message=message,- title=f"Loaded agent '{agent.name}'",+ title=f"Loaded workflow '{agent.name}'",agents=[agent],count=1,session_id=session_id,diff --git a/autogpt_platform/backend/backend/copilot/tools/ayrshare_managed.py b/autogpt_platform/backend/backend/copilot/tools/ayrshare_managed.pyindex fec9221db8..3492fbf329 100644--- a/autogpt_platform/backend/backend/copilot/tools/ayrshare_managed.py+++ b/autogpt_platform/backend/backend/copilot/tools/ayrshare_managed.py@@ -309,7 +309,7 @@ def _unattended_link_error("(it was scheduled), so say plainly in your reply that the post ""was skipped and that the user can link their social accounts by "f"opening this chat and choosing {CONNECT_BUTTON} on the Ayrshare "- f"card (or {BUILDER_CONNECT_BUTTON} in the agent builder)"+ f"card (or {BUILDER_CONNECT_BUTTON} in the workflow builder)"+ (", then grant this expert access to it on the expert's ""Integrations page"diff --git a/autogpt_platform/backend/backend/copilot/tools/ayrshare_managed_test.py b/autogpt_platform/backend/backend/copilot/tools/ayrshare_managed_test.pyindex d0342f58fb..b1d46bb5dd 100644--- a/autogpt_platform/backend/backend/copilot/tools/ayrshare_managed_test.py+++ b/autogpt_platform/backend/backend/copilot/tools/ayrshare_managed_test.py@@ -203,7 +203,7 @@ class TestBlockWithoutCredential:assert isinstance(result, ErrorResponse)assert result.error == "ayrshare_accounts_not_linked"assert "choosing Connect on the Ayrshare card" in result.message- assert f"or {BUILDER_CONNECT_BUTTON} in the agent builder" in result.message+ assert f"or {BUILDER_CONNECT_BUTTON} in the workflow builder" in result.messageasync def test_a_block_the_session_may_not_run_provisions_nothing(self):block_id = PostToLinkedInBlock().iddiff --git a/autogpt_platform/backend/backend/copilot/tools/create_agent.py b/autogpt_platform/backend/backend/copilot/tools/create_agent.pyindex 3dc7cc176b..3382cccaf9 100644--- a/autogpt_platform/backend/backend/copilot/tools/create_agent.py+++ b/autogpt_platform/backend/backend/copilot/tools/create_agent.py@@ -122,9 +122,9 @@ class CreateAgentTool(BaseTool):session=session,session_id=session_id,missing_message=(- "Please provide agent_json with the complete agent graph "+ "Please provide agent_json with the complete workflow "'(inline or as an "@@agptfile:<path>" string), or '- "agent_json_ref pointing at the workspace agent file. "+ "agent_json_ref pointing at the workspace workflow file. "'Use find_capability(context="graph") to discover blocks, then generate the JSON.'),)@@ -139,7 +139,8 @@ class CreateAgentTool(BaseTool):if not nodes:return ErrorResponse(message=(- "The agent JSON has no nodes. " "An agent needs at least one block."+ "The agent JSON has no nodes. "+ "A workflow needs at least one block."),error="empty_agent",session_id=session_id,@@ -162,7 +163,7 @@ class CreateAgentTool(BaseTool):session_id=session_id,save=save,is_update=False,- default_name="Generated Agent",+ default_name="Generated Workflow",library_agents=library_agents,folder_id=folder_id,is_hidden=is_hidden,diff --git a/autogpt_platform/backend/backend/copilot/tools/customize_agent.py b/autogpt_platform/backend/backend/copilot/tools/customize_agent.pyindex a57f327999..e35f7eb67e 100644--- a/autogpt_platform/backend/backend/copilot/tools/customize_agent.py+++ b/autogpt_platform/backend/backend/copilot/tools/customize_agent.py@@ -84,8 +84,8 @@ class CustomizeAgentTool(BaseTool):session=session,session_id=session_id,missing_message=(- "Please provide agent_json with the complete customized agent "- "graph, or agent_json_ref pointing at the workspace agent file."+ "Please provide agent_json with the complete customized "+ "workflow, or agent_json_ref pointing at the workspace workflow file."),)if resolve_error is not None:@@ -118,7 +118,7 @@ class CustomizeAgentTool(BaseTool):session_id=session_id,save=save,is_update=False,- default_name="Customized Agent",+ default_name="Customized Workflow",library_agents=library_agents,folder_id=folder_id,)diff --git a/autogpt_platform/backend/backend/copilot/tools/decompose_goal.py b/autogpt_platform/backend/backend/copilot/tools/decompose_goal.pyindex 018cb5137b..15fae79d45 100644--- a/autogpt_platform/backend/backend/copilot/tools/decompose_goal.py+++ b/autogpt_platform/backend/backend/copilot/tools/decompose_goal.py@@ -133,7 +133,7 @@ class DecomposeGoalTool(BaseTool):)return TaskDecompositionResponse(- message=f"Here's the plan to build your agent ({len(decomposition_steps)} steps):",+ message=f"Here's the plan to build your workflow ({len(decomposition_steps)} steps):",goal=goal,steps=decomposition_steps,step_count=len(decomposition_steps),diff --git a/autogpt_platform/backend/backend/copilot/tools/edit_agent.py b/autogpt_platform/backend/backend/copilot/tools/edit_agent.pyindex 3f1782304b..b7c3cd6b41 100644--- a/autogpt_platform/backend/backend/copilot/tools/edit_agent.py+++ b/autogpt_platform/backend/backend/copilot/tools/edit_agent.py@@ -94,9 +94,9 @@ class EditAgentTool(BaseTool):elif agent_id != builder_graph_id:return ErrorResponse(message=(- "This chat is bound to the builder's current agent. "- "Editing a different agent is not allowed here — "- "open that agent in the builder instead."+ "This chat is bound to the builder's current workflow. "+ "Editing a different workflow is not allowed here — "+ "open that workflow in the builder instead."),error="builder_session_graph_mismatch",session_id=session_id,@@ -108,7 +108,7 @@ class EditAgentTool(BaseTool):if not agent_id:return ErrorResponse(- message="Please provide the agent ID to edit.",+ message="Please provide the workflow ID to edit.",error="missing_agent_id",session_id=session_id,)@@ -130,9 +130,9 @@ class EditAgentTool(BaseTool):session=session,session_id=session_id,missing_message=(- "Please provide agent_json with the complete updated agent "- 'graph (inline or as an "@@agptfile:<path>" string), or '- "agent_json_ref pointing at the workspace agent file."+ "Please provide agent_json with the complete updated "+ 'workflow (inline or as an "@@agptfile:<path>" string), or '+ "agent_json_ref pointing at the workspace workflow file."),)if resolve_error is not None:@@ -151,7 +151,7 @@ class EditAgentTool(BaseTool):current_agent = await get_agent_as_json(agent_id, user_id)if current_agent is None:return ErrorResponse(- message=f"Could not find agent with ID '{agent_id}' in your library.",+ message=f"Could not find workflow with ID '{agent_id}' in your library.",error="agent_not_found",session_id=session_id,)@@ -164,7 +164,7 @@ class EditAgentTool(BaseTool):message=("This edit changes the webhook trigger block's configuration "f"({', '.join(changed_trigger_fields)}), which can't be set "- "by editing the graph — that would change the agent's global "+ "by editing the graph — that would change the workflow's global ""default for everyone who uses it. A trigger's configuration ""lives on a per-trigger preset: use the ""tool:setup_agent_webhook_trigger tool with these fields as "@@ -188,7 +188,7 @@ class EditAgentTool(BaseTool):session_id=session_id,save=save,is_update=True,- default_name="Updated Agent",+ default_name="Updated Workflow",library_agents=library_agents,)diff --git a/autogpt_platform/backend/backend/copilot/tools/execution_utils.py b/autogpt_platform/backend/backend/copilot/tools/execution_utils.pyindex 83ac56c91a..6d5e4c8d4f 100644--- a/autogpt_platform/backend/backend/copilot/tools/execution_utils.py+++ b/autogpt_platform/backend/backend/copilot/tools/execution_utils.py@@ -253,21 +253,21 @@ def build_run_health_warning(return (f"WARNING: {len(node_failures)} node(s) FAILED despite the COMPLETED "f"status ({details}). Treat this run as unsuccessful — inspect "- "node_executions, fix the agent, and re-verify before reporting "+ "node_executions, fix the workflow, and re-verify before reporting ""success.")if failed_node_count > 0:return (f"WARNING: {failed_node_count} node(s) FAILED despite the COMPLETED ""status. Treat this run as unsuccessful — inspect node_executions, "- "fix the agent, and re-verify before reporting success."+ "fix the workflow, and re-verify before reporting success.")if not outputs:return ("WARNING: the run COMPLETED but produced no outputs. If this "- "agent declares AgentOutput blocks, that usually means a broken "+ "workflow declares AgentOutput blocks, that usually means a broken ""link or a node that silently produced nothing — inspect ""node_executions before reporting success. (Side-effect-only "- "agents with no declared outputs legitimately finish this way.)"+ "workflows with no declared outputs legitimately finish this way.)")return Nonediff --git a/autogpt_platform/backend/backend/copilot/tools/expert_resources.py b/autogpt_platform/backend/backend/copilot/tools/expert_resources.pyindex 779c208736..46db933c0c 100644--- a/autogpt_platform/backend/backend/copilot/tools/expert_resources.py+++ b/autogpt_platform/backend/backend/copilot/tools/expert_resources.py@@ -70,12 +70,12 @@ class InstallExpertWorkflowTool(BaseTool):"username_agent_slug": {"type": "string","description": "Marketplace 'creator/slug'.",- "title": "Marketplace agent",+ "title": "Marketplace workflow",},"store_listing_version_id": {"type": "string","description": "Marketplace listing version.",- "title": "Marketplace agent",+ "title": "Marketplace workflow","entity": "store_listing",},"expert_id": _EXPERT_ID_PARAM,@@ -124,7 +124,7 @@ class InstallExpertWorkflowTool(BaseTool):listing_id = await _listing_id_from_slug(username_agent_slug)if listing_id is None:return ErrorResponse(- message=f"Marketplace agent '{username_agent_slug}' not found",+ message=f"Marketplace workflow '{username_agent_slug}' not found",session_id=session_id,)await settle_expert_grants(user_id, session)diff --git a/autogpt_platform/backend/backend/copilot/tools/find_library_agent.py b/autogpt_platform/backend/backend/copilot/tools/find_library_agent.pyindex 9f64686261..de27bfb282 100644--- a/autogpt_platform/backend/backend/copilot/tools/find_library_agent.py+++ b/autogpt_platform/backend/backend/copilot/tools/find_library_agent.py@@ -187,7 +187,7 @@ class FindLibraryAgentTool(BaseTool):if write_graph_to and not agent_id.strip():return ErrorResponse(message=(- "write_graph_to requires agent_id — pass the library agent "+ "write_graph_to requires agent_id — pass the library workflow ""or graph id whose graph should be written to the file."),error="missing_agent_id",@@ -246,7 +246,7 @@ async def _write_graph_note(agent_json = Noneif agent_json is None:return (- "NOTE: could not load the agent's graph to write it to a file; "+ "NOTE: could not load the workflow to write it to a file; ""retry with include_graph=true to inspect it inline.")_ref, note = await write_agent_json_to_workspace(@@ -254,7 +254,7 @@ async def _write_graph_note(write_to,user_id,session_id,- label="Agent graph",+ label="Workflow",pass_to="tool:edit_agent / tool:validate_agent_graph",fallback_note="retry with include_graph=true to inspect the graph inline.",)diff --git a/autogpt_platform/backend/backend/copilot/tools/fix_agent.py b/autogpt_platform/backend/backend/copilot/tools/fix_agent.pyindex cb379b1612..9ce25b0bfb 100644--- a/autogpt_platform/backend/backend/copilot/tools/fix_agent.py+++ b/autogpt_platform/backend/backend/copilot/tools/fix_agent.py@@ -86,7 +86,7 @@ class FixAgentGraphTool(BaseTool):missing_message=("Please provide a valid agent JSON object via agent_json (inline "'or an "@@agptfile:<path>" string), or agent_json_ref pointing '- "at the workspace agent file."+ "at the workspace workflow file."),missing_error="Missing or invalid agent_json parameter",invalid_error="Missing or invalid agent_json parameter",@@ -99,7 +99,7 @@ class FixAgentGraphTool(BaseTool):if not nodes:return ErrorResponse(- message="The agent JSON has no nodes. An agent needs at least one block.",+ message="The agent JSON has no nodes. A workflow needs at least one block.",error="empty_agent",session_id=session_id,)@@ -128,7 +128,7 @@ class FixAgentGraphTool(BaseTool):is_valid = Falseif is_valid:- message = f"Applied {len(fixes_applied)} fix(es). Agent graph is now valid!"+ message = f"Applied {len(fixes_applied)} fix(es). Workflow is now valid!"else:message = (f"Applied {len(fixes_applied)} fix(es), but "diff --git a/autogpt_platform/backend/backend/copilot/tools/helpers.py b/autogpt_platform/backend/backend/copilot/tools/helpers.pyindex ac551fee71..6ba878ec3c 100644--- a/autogpt_platform/backend/backend/copilot/tools/helpers.py+++ b/autogpt_platform/backend/backend/copilot/tools/helpers.py@@ -1648,15 +1648,15 @@ def require_library_check(session: ChatSession, tool_name: str):return Nonereturn ErrorResponse(message=(- f"Before tool:{tool_name} can run, search the user's library for an "- "agent that already does what they want. Call "+ f"Before tool:{tool_name} can run, search the user's library for a "+ "workflow that already does what they want. Call ""`find_library_agent` with `for_creation=true` and ""`goal_summary=<one-sentence description of the user's goal>` ""(default-mode substring search does NOT satisfy this gate). "- "If any agents are returned, present them to the user and ask "+ "If any workflows are returned, present them to the user and ask ""whether they want to reuse one. Only retry "f"tool:{tool_name} with `library_check_ack=true` if the user "- "explicitly chooses to build a new agent anyway."+ "explicitly chooses to build a new workflow anyway."),session_id=session.session_id,)diff --git a/autogpt_platform/backend/backend/copilot/tools/list_agent_triggers.py b/autogpt_platform/backend/backend/copilot/tools/list_agent_triggers.pyindex 6edfea65c0..3193f495b3 100644--- a/autogpt_platform/backend/backend/copilot/tools/list_agent_triggers.py+++ b/autogpt_platform/backend/backend/copilot/tools/list_agent_triggers.py@@ -118,7 +118,7 @@ class ListAgentTriggersTool(BaseTool):parent = await ldb.get_library_agent(id=library_agent_id, user_id=user_id)except NotFoundError as e:return ErrorResponse(- message=f"Library agent not found: {e}",+ message=f"Library workflow not found: {e}",error="library_agent_not_found",session_id=session_id,)@@ -175,7 +175,7 @@ class ListAgentTriggersTool(BaseTool):]message = (- f"Found {len(triggers)} trigger(s) for this agent."+ f"Found {len(triggers)} trigger(s) for this workflow."if triggerselse "No triggers configured.")diff --git a/autogpt_platform/backend/backend/copilot/tools/manage_folders.py b/autogpt_platform/backend/backend/copilot/tools/manage_folders.pyindex d6f6dcf711..ff9c060e0d 100644--- a/autogpt_platform/backend/backend/copilot/tools/manage_folders.py+++ b/autogpt_platform/backend/backend/copilot/tools/manage_folders.py@@ -487,7 +487,7 @@ class DeleteFolderTool(BaseTool):)return FolderDeletedResponse(- message="Folder deleted. Any agents inside were moved to root level.",+ message="Folder deleted. Any workflows inside were moved to root level.",folder_id=folder_id,session_id=session_id,)@@ -544,7 +544,7 @@ class MoveAgentsToFolderTool(BaseTool):if not agent_ids:return ErrorResponse(- message="Please provide at least one agent ID.",+ message="Please provide at least one workflow ID.",error="missing_agent_ids",session_id=session_id,)@@ -557,7 +557,7 @@ class MoveAgentsToFolderTool(BaseTool):)except Exception as e:return ErrorResponse(- message=f"Failed to move agents: {e}",+ message=f"Failed to move workflows: {e}",error="move_agents_failed",session_id=session_id,)@@ -566,7 +566,7 @@ class MoveAgentsToFolderTool(BaseTool):agent_names = [a.name for a in moved]dest = "the folder" if folder_id else "root level"names_str = (- ", ".join(agent_names) if agent_names else f"{len(agent_ids)} agent(s)"+ ", ".join(agent_names) if agent_names else f"{len(agent_ids)} workflow(s)")return AgentsMovedToFolderResponse(message=f"Moved {names_str} to {dest}.",diff --git a/autogpt_platform/backend/backend/copilot/tools/manage_presets.py b/autogpt_platform/backend/backend/copilot/tools/manage_presets.pyindex 7d407946eb..d7061da2ee 100644--- a/autogpt_platform/backend/backend/copilot/tools/manage_presets.py+++ b/autogpt_platform/backend/backend/copilot/tools/manage_presets.py@@ -205,7 +205,7 @@ class ListPresetsTool(BaseTool):)except NotFoundError as e:return ErrorResponse(- message=f"Library agent not found: {e}",+ message=f"Library workflow not found: {e}",error="library_agent_not_found",session_id=session_id,)diff --git a/autogpt_platform/backend/backend/copilot/tools/manage_schedules.py b/autogpt_platform/backend/backend/copilot/tools/manage_schedules.pyindex 3386f5fc2c..c8daa1d89c 100644--- a/autogpt_platform/backend/backend/copilot/tools/manage_schedules.py+++ b/autogpt_platform/backend/backend/copilot/tools/manage_schedules.py@@ -190,7 +190,7 @@ class ListSchedulesTool(BaseTool):)except NotFoundError as e:return ErrorResponse(- message=f"Library agent not found: {e}",+ message=f"Library workflow not found: {e}",error="library_agent_not_found",session_id=session_id,)diff --git a/autogpt_platform/backend/backend/copilot/tools/models.py b/autogpt_platform/backend/backend/copilot/tools/models.pyindex 80d8447866..d186698275 100644--- a/autogpt_platform/backend/backend/copilot/tools/models.py+++ b/autogpt_platform/backend/backend/copilot/tools/models.py@@ -236,7 +236,7 @@ class AgentsFoundResponse(ToolResponseBase):"""Response for find_agent tool."""type: ResponseType = ResponseType.AGENTS_FOUND- title: str = "Available Agents"+ title: str = "Available Workflows"agents: list[AgentInfo]count: intname: str = "agents_found"diff --git a/autogpt_platform/backend/backend/copilot/tools/run_agent.py b/autogpt_platform/backend/backend/copilot/tools/run_agent.pyindex 1a7863686d..9086d5eb93 100644--- a/autogpt_platform/backend/backend/copilot/tools/run_agent.py+++ b/autogpt_platform/backend/backend/copilot/tools/run_agent.py@@ -254,7 +254,7 @@ class RunAgentTool(BaseTool):"username_agent_slug": {"type": "string","description": "Marketplace format 'username/agent-name'.",- "title": "Marketplace agent",+ "title": "Marketplace workflow",},"library_agent_id": {"type": "string",@@ -397,7 +397,7 @@ class RunAgentTool(BaseTool):)if has_library_id and library_agent is None:return ErrorResponse(- message=f"Library agent '{params.library_agent_id}' not found",+ message=f"Library workflow '{params.library_agent_id}' not found",session_id=session_id,).from_outside()if not graph:@@ -407,7 +407,7 @@ class RunAgentTool(BaseTool):else params.username_agent_slug)return ErrorResponse(- message=f"Agent '{identifier}' not found",+ message=f"Workflow '{identifier}' not found",session_id=session_id,).from_outside()scope_error = await require_installed_workflow(@@ -427,8 +427,8 @@ class RunAgentTool(BaseTool):if builder_graph_id and graph.id != builder_graph_id:return ErrorResponse(message=(- "This chat is bound to the builder's current agent. "- "Running a different agent is not allowed here."+ "This chat is bound to the builder's current workflow. "+ "Running a different workflow is not allowed here."),error="builder_session_graph_mismatch",session_id=session_id,@@ -444,7 +444,7 @@ class RunAgentTool(BaseTool):)return AgentDetailsResponse(message=(- f"Agent '{graph.name}' runs on a webhook trigger, so it "+ f"Workflow '{graph.name}' runs on a webhook trigger, so it ""can't be run or scheduled directly. Set it up with ""tool:setup_agent_webhook_trigger using the trigger block's ""config (see trigger_info.config_schema). For provider "@@ -516,7 +516,7 @@ class RunAgentTool(BaseTool):).from_outside()except NotFoundError as e:return ErrorResponse(- message=f"Agent '{params.username_agent_slug}' not found",+ message=f"Workflow '{params.username_agent_slug}' not found",error=str(e) if str(e) else "not_found",session_id=session_id,).from_outside()@@ -566,7 +566,7 @@ class RunAgentTool(BaseTool):required_names = [i["name"] for i in inputs_list if i["required"]]optional_names = [i["name"] for i in inputs_list if not i["required"]]- message_parts = [f"Agent '{graph.name}' accepts the following inputs:"]+ message_parts = [f"Workflow '{graph.name}' accepts the following inputs:"]if required_names:message_parts.append(f"Required: {', '.join(required_names)}.")if optional_names:@@ -574,7 +574,7 @@ class RunAgentTool(BaseTool):f"Optional (have defaults): {', '.join(optional_names)}.")if not inputs_list:- message_parts = [f"Agent '{graph.name}' has no required inputs."]+ message_parts = [f"Workflow '{graph.name}' has no required inputs."]message_parts.append(suffix)return " ".join(message_parts)@@ -631,7 +631,7 @@ class RunAgentTool(BaseTool):missing = build_missing_credentials_from_graph(graph, None)if is_unattended_turn():return await unattended_missing_credentials_error(- f"Agent '{graph.name}'",+ f"Workflow '{graph.name}'",missing,session_id,user_id,@@ -640,7 +640,7 @@ class RunAgentTool(BaseTool):credentials_dict = await annotate_expert_grants(user_id, expert_id, missing)return SetupRequirementsResponse(message=(- f"Agent '{graph.name}' has credentials that are missing or "+ f"Workflow '{graph.name}' has credentials that are missing or ""no longer valid. Please connect the required account(s) ""and try again."),@@ -700,7 +700,7 @@ class RunAgentTool(BaseTool):return creds_setupreturn ErrorResponse(message=(- f"Agent has configuration issues that need to be resolved "+ f"Workflow has configuration issues that need to be resolved "f"before {action_verb}: {error}"),error="graph_validation_failed",@@ -739,7 +739,7 @@ class RunAgentTool(BaseTool):InputValidationErrorResponse(message=(f"Unknown input field(s) provided: {', '.join(sorted(unrecognized_fields))}. "- f"Agent was not executed. Please use the correct field names from the schema."+ f"Workflow was not executed. Please use the correct field names from the schema."),session_id=session_id,unrecognized_fields=sorted(unrecognized_fields),@@ -763,7 +763,7 @@ class RunAgentTool(BaseTool):)if is_unattended_turn():return graph_credentials, await unattended_missing_credentials_error(- f"Agent '{graph.name}'",+ f"Workflow '{graph.name}'",missing_credentials_dict,session_id,user_id,@@ -835,9 +835,9 @@ class RunAgentTool(BaseTool):graph_credentials,AgentDetailsResponse(message=(- f"Agent '{graph.name}' is missing required inputs: "+ f"Workflow '{graph.name}' is missing required inputs: "f"{', '.join(missing_inputs)}. "- "Please provide these values to run the agent."+ "Please provide these values to run the workflow."),session_id=session_id,agent=self._build_agent_details(graph, credentials),@@ -866,7 +866,7 @@ class RunAgentTool(BaseTool):if params.username_agent_slug or params.library_agent_id:return ErrorResponse(message=(- "Use either preset_id or an agent identifier "+ "Use either preset_id or a workflow identifier ""(username_agent_slug / library_agent_id), not both."),session_id=session_id,@@ -897,7 +897,7 @@ class RunAgentTool(BaseTool):if not graph:return ErrorResponse(message=(- f"The agent for preset '{params.preset_id}' is not "+ f"The workflow for preset '{params.preset_id}' is not ""accessible (anymore)."),session_id=session_id,@@ -915,8 +915,8 @@ class RunAgentTool(BaseTool):if builder_graph_id and graph.id != builder_graph_id:return ErrorResponse(message=(- "This chat is bound to the builder's current agent. "- "Running a preset for a different agent is not allowed here."+ "This chat is bound to the builder's current workflow. "+ "Running a preset for a different workflow is not allowed here."),error="builder_session_graph_mismatch",session_id=session_id,@@ -1005,7 +1005,7 @@ class RunAgentTool(BaseTool):and session.successful_agent_runs.get(graph.id, 0) >= config.max_agent_runs):return ErrorResponse(- message="Maximum agent runs reached for this session. Please try again later.",+ message="Maximum workflow runs reached for this session. Please try again later.",session_id=session_id,).from_outside()@@ -1064,7 +1064,7 @@ class RunAgentTool(BaseTool):# approves it on Home or the run page. Not a successful run yet.return ExecutionStartedResponse(message=(- f"Agent '{library_agent.name}' is waiting for the user's "+ f"Workflow '{library_agent.name}' is waiting for the user's ""approval to spend more credits (spend threshold reached). "f"It runs once they approve it on Home or at "f"{library_agent_link}. {MSG_DO_NOT_RUN_AGAIN}"@@ -1164,13 +1164,13 @@ class RunAgentTool(BaseTool):)if health_warning:message = (- f"Agent '{library_agent.name}' finished with status "+ f"Workflow '{library_agent.name}' finished with status "f"COMPLETED. {health_warning} "f"View at {library_agent_link}.")else:message = (- f"Agent '{library_agent.name}' completed successfully. "+ f"Workflow '{library_agent.name}' completed successfully. "f"View at {library_agent_link}.")return AgentOutputResponse(@@ -1202,7 +1202,7 @@ class RunAgentTool(BaseTool):)return ErrorResponse(message=(- f"Agent '{library_agent.name}' execution failed. "+ f"Workflow '{library_agent.name}' execution failed. "f"View details at {library_agent_link}."),session_id=session_id,@@ -1219,7 +1219,7 @@ class RunAgentTool(BaseTool):)return ErrorResponse(message=(- f"Agent '{library_agent.name}' execution was terminated. "+ f"Workflow '{library_agent.name}' execution was terminated. "f"View details at {library_agent_link}."),session_id=session_id,@@ -1232,7 +1232,7 @@ class RunAgentTool(BaseTool):)return ExecutionStartedResponse(message=(- f"Agent '{library_agent.name}' is awaiting human review. "+ f"Workflow '{library_agent.name}' is awaiting human review. "f"The user can approve or reject inline. After approval, "f"the execution resumes automatically. Use tool:view_agent_output "f"with execution_id='{execution.id}' to check the result."@@ -1252,7 +1252,7 @@ class RunAgentTool(BaseTool):)return ExecutionStartedResponse(message=(- f"Agent '{library_agent.name}' is still {status} after "+ f"Workflow '{library_agent.name}' is still {status} after "f"{wait_for_result}s. Check results later at "f"{library_agent_link}. "f"Use tool:view_agent_output with wait_if_running to check again."@@ -1269,7 +1269,7 @@ class RunAgentTool(BaseTool):await _safe_link_to_chat_share(session_id=session_id, execution_id=execution.id)return ExecutionStartedResponse(message=(- f"Agent '{library_agent.name}' execution started successfully. "+ f"Workflow '{library_agent.name}' execution started successfully. "f"View at {library_agent_link}. "f"{MSG_DO_NOT_RUN_AGAIN}"),@@ -1314,7 +1314,7 @@ class RunAgentTool(BaseTool):>= config.max_agent_schedules):return ErrorResponse(- message="Maximum agent schedules reached for this session.",+ message="Maximum workflow schedules reached for this session.",session_id=session_id,).from_outside()@@ -1411,7 +1411,7 @@ class RunAgentTool(BaseTool):library_agent_link = f"/library/agents/{library_agent.id}"return ExecutionStartedResponse(message=(- f"Agent '{library_agent.name}' scheduled successfully as '{schedule_name}'. "+ f"Workflow '{library_agent.name}' scheduled successfully as '{schedule_name}'. "f"View at {library_agent_link}. "f"{MSG_DO_NOT_SCHEDULE_AGAIN}"),diff --git a/autogpt_platform/backend/backend/copilot/tools/run_agent_test.py b/autogpt_platform/backend/backend/copilot/tools/run_agent_test.pyindex 8bb35b4d14..50add0c579 100644--- a/autogpt_platform/backend/backend/copilot/tools/run_agent_test.py+++ b/autogpt_platform/backend/backend/copilot/tools/run_agent_test.py@@ -537,7 +537,7 @@ async def test_run_agent_rejects_unknown_input_fields(setup_test_data):"unknown_field",}assert "inputs" in result_data # Contains the valid schema- assert "Agent was not executed" in result_data["message"]+ assert "Workflow was not executed" in result_data["message"]# ---------------------------------------------------------------------------diff --git a/autogpt_platform/backend/backend/copilot/tools/setup_agent_webhook_trigger.py b/autogpt_platform/backend/backend/copilot/tools/setup_agent_webhook_trigger.pyindex 854bfbbba7..e983ec790f 100644--- a/autogpt_platform/backend/backend/copilot/tools/setup_agent_webhook_trigger.py+++ b/autogpt_platform/backend/backend/copilot/tools/setup_agent_webhook_trigger.py@@ -127,13 +127,13 @@ class SetupAgentWebhookTriggerTool(BaseTool):"graph_id": {"type": "string","description": "Agent graph ID (alt to library_agent_id).",- "title": "Agent",+ "title": "Workflow","entity": "graph",},"graph_version": {"type": "integer","description": "Graph version (used with graph_id).",- "title": "Agent version",+ "title": "Workflow version",},"name": {"type": "string",@@ -206,7 +206,7 @@ class SetupAgentWebhookTriggerTool(BaseTool):if not (trigger_node := graph.webhook_input_node):return ErrorResponse(message=(- f"Agent '{graph.name}' has no webhook trigger block, so it "+ f"Workflow '{graph.name}' has no webhook trigger block, so it ""can't have a webhook trigger. Run or schedule it instead."),error="no_webhook_trigger",@@ -288,7 +288,7 @@ class SetupAgentWebhookTriggerTool(BaseTool):)except NotFoundError:return None, ErrorResponse(- message=f"Library agent '{library_agent_id}' not found.",+ message=f"Library workflow '{library_agent_id}' not found.",error="library_agent_not_found",session_id=session_id,)@@ -301,7 +301,7 @@ class SetupAgentWebhookTriggerTool(BaseTool):)if not graph:return None, ErrorResponse(- message=f"Agent graph '{graph_id}' not found.",+ message=f"Workflow '{graph_id}' not found.",error="graph_not_found",session_id=session_id,)diff --git a/autogpt_platform/backend/backend/copilot/tools/validate_agent.py b/autogpt_platform/backend/backend/copilot/tools/validate_agent.pyindex f94c3391b6..424383ee41 100644--- a/autogpt_platform/backend/backend/copilot/tools/validate_agent.py+++ b/autogpt_platform/backend/backend/copilot/tools/validate_agent.py@@ -72,7 +72,7 @@ class ValidateAgentGraphTool(BaseTool):missing_message=("Please provide a valid agent JSON object via agent_json (inline "'or an "@@agptfile:<path>" string), or agent_json_ref pointing '- "at the workspace agent file."+ "at the workspace workflow file."),missing_error="Missing or invalid agent_json parameter",invalid_error="Missing or invalid agent_json parameter",@@ -85,7 +85,7 @@ class ValidateAgentGraphTool(BaseTool):if not nodes:return ErrorResponse(- message="The agent JSON has no nodes. An agent needs at least one block.",+ message="The agent JSON has no nodes. A workflow needs at least one block.",error="empty_agent",session_id=session_id,)@@ -104,7 +104,7 @@ class ValidateAgentGraphTool(BaseTool):if is_valid:return ValidationResultResponse(- message="Agent graph is valid! No issues found.",+ message="Workflow is valid! No issues found.",valid=True,errors=[],error_count=0,diff --git a/autogpt_platform/backend/backend/data/briefing_data.py b/autogpt_platform/backend/backend/data/briefing_data.pyindex 20b4d08796..add71f986b 100644--- a/autogpt_platform/backend/backend/data/briefing_data.py+++ b/autogpt_platform/backend/backend/data/briefing_data.py@@ -199,4 +199,4 @@ def _to_agent_stats(row: dict) -> AgentPeriodStats:def _fallback_name(graph_id: str) -> str:- return f"Agent {graph_id[:8]}"+ return f"Workflow {graph_id[:8]}"diff --git a/autogpt_platform/backend/backend/data/credit_history/service.py b/autogpt_platform/backend/backend/data/credit_history/service.pyindex 88a50457c5..681af6b41a 100644--- a/autogpt_platform/backend/backend/data/credit_history/service.py+++ b/autogpt_platform/backend/backend/data/credit_history/service.py@@ -73,7 +73,7 @@ async def get_credit_history()for item in transactions:if item.activity_type == "agent_run":- item.description = item.agent_name or "Agent unavailable"+ item.description = item.agent_name or "Workflow unavailable"has_more = len(rows) > limitlast = rows[limit - 1] if has_more else Nonereturn TransactionHistory(@@ -116,7 +116,7 @@ def _to_item(row: _HistoryRow, user_id: str) -> CreditTransactionItem:if row.usage_chat_session_id:activity_type, description = "copilot_tools", "Expert tool use"elif row.usage_execution_id:- activity_type, description = "agent_run", "Agent run"+ activity_type, description = "agent_run", "Workflow run"elif row.usage_has_block:activity_type, description = "block_usage", "Block usage"else:diff --git a/autogpt_platform/backend/backend/data/credit_history/service_test.py b/autogpt_platform/backend/backend/data/credit_history/service_test.pyindex 41c633cb4e..45e40145b9 100644--- a/autogpt_platform/backend/backend/data/credit_history/service_test.py+++ b/autogpt_platform/backend/backend/data/credit_history/service_test.py@@ -144,7 +144,7 @@ async def test_invalid_page_limit_is_rejected_before_query(limit):@pytest.mark.parametrize("execution_id,session_id,activity,description",[- ("run-1", None, "agent_run", "Agent run"),+ ("run-1", None, "agent_run", "Workflow run"),(None, "chat", "copilot_tools", "Expert tool use"),(None, None, "block_usage", "Block usage"),],@@ -203,7 +203,7 @@ def test_reason_only_usage_does_not_invent_a_block(is_reset, expected):@pytest.mark.asyncio@pytest.mark.parametrize("name,expected",- [("Research digest", "Research digest"), (None, "Agent unavailable")],+ [("Research digest", "Research digest"), (None, "Workflow unavailable")],)async def test_legacy_description_uses_safe_enriched_name(monkeypatch, name, expected):monkeypatch.setattr(diff --git a/autogpt_platform/backend/backend/data/execution.py b/autogpt_platform/backend/backend/data/execution.pyindex 89e9ae14e0..ebcc97b819 100644--- a/autogpt_platform/backend/backend/data/execution.py+++ b/autogpt_platform/backend/backend/data/execution.py@@ -1952,7 +1952,7 @@ async def get_graph_execution_by_share_token(graph_name=(execution.AgentGraph.nameif (execution.AgentGraph and execution.AgentGraph.name)- else "Untitled Agent"+ else "Untitled Workflow"),graph_description=(execution.AgentGraph.description if execution.AgentGraph else Nonediff --git a/autogpt_platform/backend/backend/data/graph.py b/autogpt_platform/backend/backend/data/graph.pyindex b302b215b4..ad379952fb 100644--- a/autogpt_platform/backend/backend/data/graph.py+++ b/autogpt_platform/backend/backend/data/graph.py@@ -985,7 +985,7 @@ class GraphModel(Graph, GraphMeta):if block.disabled:raise ValueError(- f"Block {node.block_id} is disabled and cannot be used in graphs"+ f"Block {node.block_id} is disabled and cannot be used in workflows")node_input_mask = (@@ -1124,10 +1124,10 @@ class GraphModel(Graph, GraphMeta):if picker_format == "google-drive-picker":remediation = (f"Add an AgentGoogleDriveFileInputBlock node to the "- f"graph and link its 'result' output to "+ f"workflow and link its 'result' output to "f"{field_name!r} instead. That block renders a "f"Google Drive picker at run time so whoever runs "- f"the agent supplies their own credentials via the "+ f"the workflow supplies their own credentials via the "f"picked file.")else:@@ -1137,7 +1137,7 @@ class GraphModel(Graph, GraphMeta):f"This field expects a picker-populated object "f"containing a '_credentials_id'. Wire the matching "f"input block for this provider into {field_name!r} "- f"so whoever runs the agent supplies their own "+ f"so whoever runs the workflow supplies their own "f"credentials at run time.")@@ -1977,14 +1977,14 @@ async def validate_graph_execution_permissions(or await is_graph_published_in_marketplace(graph_id, graph_version)):raise GraphNotAccessibleError(- f"You do not have access to graph #{graph_id} v{graph_version}: "+ f"You do not have access to workflow #{graph_id} v{graph_version}: ""it is not owned by you, not in your library as a submitted ""version, and not available in the Marketplace")elif not (version_readable_from_library or owner_has_live_library_entry or is_sub_graph):- raise GraphNotInLibraryError(f"Graph #{graph_id} is not in your library")+ raise GraphNotInLibraryError(f"Workflow #{graph_id} is not in your library")# Step 4: Check execution-specific permissions (raises generic NotAuthorizedError)# Additional authorization checks beyond the above:diff --git a/autogpt_platform/backend/backend/data/graph_test.py b/autogpt_platform/backend/backend/data/graph_test.pyindex 1c8b297c3d..71aeab0855 100644--- a/autogpt_platform/backend/backend/data/graph_test.py+++ b/autogpt_platform/backend/backend/data/graph_test.py@@ -448,7 +448,7 @@ async def test_access_store_listing_graph(other_user.id,)assert exc_info.value.status_code == 404- assert "Graph" in str(exc_info.value.detail)+ assert "Workflow" in str(exc_info.value.detail)# Now we create a store listingstore_listing = await server.agent_server.test_create_store_listing(diff --git a/autogpt_platform/backend/backend/data/model.py b/autogpt_platform/backend/backend/data/model.pyindex ed54842cd3..0f00106d5b 100644--- a/autogpt_platform/backend/backend/data/model.py+++ b/autogpt_platform/backend/backend/data/model.py@@ -784,7 +784,7 @@ class CredentialsFieldInfo(BaseModel, Generic[CP, CT]):except KeyError:raise ValueError(f"Model '{discriminator_value}' is not supported. "- "It may have been deprecated. Please update your agent configuration."+ "It may have been deprecated. Please update your workflow configuration.")supported_types = self.supported_typesdiff --git a/autogpt_platform/backend/backend/executor/auto_credentials.py b/autogpt_platform/backend/backend/executor/auto_credentials.pyindex 2926671f32..53e7681b38 100644--- a/autogpt_platform/backend/backend/executor/auto_credentials.py+++ b/autogpt_platform/backend/backend/executor/auto_credentials.py@@ -71,7 +71,7 @@ async def acquire_auto_credentials(raise ValueError(f"{provider.capitalize()} credential id for "f"'{file_name}' in field '{field_name}' is empty "- f"or invalid. Please open the agent in the "+ f"or invalid. Please open the workflow in the "f"builder and re-select the file.")file_name = field_data.get("name", "selected file")@@ -100,9 +100,9 @@ async def acquire_auto_credentials(f"{provider.capitalize()} credentials for "f"'{file_name}' in field '{field_name}' are not "f"available in your account. "- f"This can happen if the agent was created by "+ f"This can happen if the workflow was created by "f"another user or the credentials were deleted. "- f"Please open the agent in the builder and "+ f"Please open the workflow in the builder and "f"re-select the file to authenticate with your "f"own account.")diff --git a/autogpt_platform/backend/backend/executor/manager.py b/autogpt_platform/backend/backend/executor/manager.pyindex eb555a79ef..388639d9a6 100644--- a/autogpt_platform/backend/backend/executor/manager.py+++ b/autogpt_platform/backend/backend/executor/manager.py@@ -1199,7 +1199,7 @@ class ExecutionProcessor:user_id=graph_exec.user_id,message=(f"At least {required_balance} credit must be available to run "- f"this agent. {INSUFFICIENT_BALANCE_GUIDANCE}"+ f"this workflow. {INSUFFICIENT_BALANCE_GUIDANCE}"),balance=credit_balance,amount=required_balance,diff --git a/autogpt_platform/backend/backend/executor/manager_activity_status_test.py b/autogpt_platform/backend/backend/executor/manager_activity_status_test.pyindex d082a77d63..1dc148821b 100644--- a/autogpt_platform/backend/backend/executor/manager_activity_status_test.py+++ b/autogpt_platform/backend/backend/executor/manager_activity_status_test.py@@ -217,7 +217,7 @@ def test_graph_start_credit_failure_records_structured_reason(credit_balance):assert status == ExecutionStatus.FAILEDassert stats.failure_reason == ExecutionFailureReason.INSUFFICIENT_BALANCEassert stats.error == (- "At least 1 credit must be available to run this agent. "+ "At least 1 credit must be available to run this workflow. ""Please make more credits available and try again.")db_client.get_org_credits.assert_called_once_with(org_id="org-1")diff --git a/autogpt_platform/backend/backend/executor/scheduler.py b/autogpt_platform/backend/backend/executor/scheduler.pyindex 52bc567a64..8e6b134c49 100644--- a/autogpt_platform/backend/backend/executor/scheduler.py+++ b/autogpt_platform/backend/backend/executor/scheduler.py@@ -2666,7 +2666,7 @@ class Scheduler(AppService):"""job, info = self._authorized_job(schedule_id, user_id, action="update")if not isinstance(info, GraphExecutionJobInfo):- raise NotFoundError(f"Agent schedule #{schedule_id} not found.")+ raise NotFoundError(f"Workflow schedule #{schedule_id} not found.")job_args = _updated_graph_job_args(info,diff --git a/autogpt_platform/backend/backend/executor/utils.py b/autogpt_platform/backend/backend/executor/utils.pyindex 71dd039655..8088d2fc2f 100644--- a/autogpt_platform/backend/backend/executor/utils.py+++ b/autogpt_platform/backend/backend/executor/utils.py@@ -851,7 +851,7 @@ async def _construct_starting_node_execution_input(n_errors = sum(len(errors) for errors in validation_errors.values())if validation_errors:raise GraphValidationError(- f"Graph validation failed: {n_errors} issues on {n_error_nodes} nodes",+ f"Workflow validation failed: {n_errors} issues on {n_error_nodes} nodes",node_errors=validation_errors,)@@ -885,9 +885,9 @@ async def _construct_starting_node_execution_input(and "payload" not in input_data):raise ValueError(- "This agent is triggered by an external event (webhook) "+ "This workflow is triggered by an external event (webhook) ""and cannot be executed directly. "- "Please use the appropriate trigger to run this agent."+ "Please use the appropriate trigger to run this workflow.")input_data, error = validate_exec(node, input_data, dry_run=dry_run)@@ -898,7 +898,7 @@ async def _construct_starting_node_execution_input(if not nodes_input:raise ValueError(- "No starting nodes found for the graph, make sure an AgentInput or blocks with no inbound links are present as starting nodes."+ "No starting point found for this workflow. Add an input block, or a block with no incoming links.")return nodes_input, nodes_to_skip@@ -951,7 +951,7 @@ async def validate_and_construct_node_execution_input(skip_access_check=True,)if not graph:- raise GraphNotFoundError(f"Graph #{graph_id} not found.")+ raise GraphNotFoundError(f"Workflow #{graph_id} not found.")# Validate that the user has permission to execute this graph# This checks both library membership and execution permissions,@@ -1155,7 +1155,7 @@ async def stop_graph_execution()if not graph_exec:- raise NotFoundError(f"Graph execution #{graph_exec_id} not found.")+ raise NotFoundError(f"Workflow run #{graph_exec_id} not found.")if graph_exec.status in [ExecutionStatus.TERMINATED,@@ -1207,7 +1207,7 @@ async def stop_graph_execution(await asyncio.sleep(0.1)raise TimeoutError(- f"Graph execution #{graph_exec_id} will need to take longer than {wait_timeout} seconds to stop. "+ f"Workflow run #{graph_exec_id} will need to take longer than {wait_timeout} seconds to stop. "f"You can check the status of the execution in the UI or try again later.")@@ -1408,7 +1408,7 @@ async def _add_graph_execution()if not bypass_paywall and await is_user_paywalled(user_id):- raise UserPaywalledError("A subscription is required to run agents.")+ raise UserPaywalledError("A subscription is required to run workflows.")is_new_execution = graph_exec_id is Nonecontext_expert_id = execution_context.expert_id if execution_context else None@@ -1439,7 +1439,7 @@ async def _add_graph_execution()if not graph_exec:- raise NotFoundError(f"Graph execution #{graph_exec_id} not found.")+ raise NotFoundError(f"Workflow run #{graph_exec_id} not found.")# A resume rebuilds its context from the graph settings, which would# drop the pause the chat that started this run asked for.diff --git a/autogpt_platform/backend/backend/notifications/review_alerts.py b/autogpt_platform/backend/backend/notifications/review_alerts.pyindex 42325aecd0..d122c96dcb 100644--- a/autogpt_platform/backend/backend/notifications/review_alerts.py+++ b/autogpt_platform/backend/backend/notifications/review_alerts.py@@ -69,7 +69,7 @@ async def sync_awaiting_review(else:assert graph_idmetadata = await get_graph_metadata(graph_id=graph_id)- agent = metadata.name if metadata else f"Agent {graph_id[:8]}"+ agent = metadata.name if metadata else f"Workflow {graph_id[:8]}"cta_path = f"/library/agents/{graph_id}/reviews"cause = AwaitingReviewCause(cta_path=cta_path,diff --git a/autogpt_platform/backend/backend/notifications/templates/onboarding.html.j2 b/autogpt_platform/backend/backend/notifications/templates/onboarding.html.j2index e13a9fe44c..a33c49416b 100644--- a/autogpt_platform/backend/backend/notifications/templates/onboarding.html.j2+++ b/autogpt_platform/backend/backend/notifications/templates/onboarding.html.j2@@ -43,7 +43,7 @@('📦', 'End-to-end marketing', 'Pulled release notes from GitHub, wrote a changelog email in our brand voice, and built it in send-ready HTML.'),('📈', 'Strategy & competitive intel', 'Analyzed 13 competitors, built a SWOT with threat scores, and delivered an interactive strategy report.'),('🔍', 'Talent sourcing & outreach', 'Took a job description, sourced and scored candidates, and wrote personalized outreach, ready to send.'),- ('🎯', 'Sales funnel & demo prep', 'Found leads matching our ICP, built curated demo agents, and wrote scripts and follow-up questions.'),+ ('🎯', 'Sales funnel & demo prep', 'Found leads matching our ICP, built curated demo workflows, and wrote scripts and follow-up questions.'),]) }}{{ ui.media_link('Watch all five in 6 minutes', 'Everything in the demo ran autonomously, and these five are just what fit in six minutes.', urls.demo_video) }}{% call ui.para() %}Pick the one closest to your work, open Otto, and describe it in your own words. That's it. No setup, no flowcharts.{% endcall %}@@ -55,8 +55,8 @@{% call ui.para() %}Hi {{ user_name }}, now that you've run a task or two, here's what the rest of your workspace does for you. Three things worth knowing about, so you know them when you see them:{% endcall %}{{ ui.emoji_cards([('🎨', 'Artifacts, right in the conversation', 'Reports open as interactive documents, charts render live, and PDFs are readable in a side panel. No downloads, no tab-juggling.'),- ('📋', 'Agent briefings at a glance', "Your Home screen shows a live briefing for each agent: what it's doing, what it finished, and what's next. Scheduled agents surface their upcoming runs automatically."),- ('💬', 'Chat with your builder', 'Building a custom workflow? The flow builder has its own AI chat panel that knows your graph and helps you debug or extend it without switching context.'),+ ('📋', 'Workflow briefings at a glance', "Your Home screen shows a live briefing for each workflow: what it's doing, what it finished, and what's next. Scheduled workflows surface their upcoming runs automatically."),+ ('💬', 'Chat with your builder', 'Building a custom workflow? The flow builder has its own AI chat panel that knows your workflow and helps you debug or extend it without switching context.'),]) }}{{ ui.cta('Open AutoGPT', urls.dashboard) }}{% call ui.para(color='#575072', size=13, lh=20, top=18) %}Next up: a quick personal check-in from me. No screenshots, no buttons. Just a question.{% endcall %}@@ -75,8 +75,8 @@{% call ui.para(top=22) %}<strong style="color:#171925;">Shipped in the last few weeks:</strong>{% endcall %}{{ ui.emoji_cards([('🎨', 'Rich artifacts in a side panel', 'Reports, charts, PDFs, and even playable games open right beside the conversation.'),- ('📋', 'Live agent briefings', 'On your Home screen, with upcoming run times for every scheduled agent.'),- ('💬', 'An AI chat panel inside the flow builder', 'It knows your graph and helps you debug or extend it.'),+ ('📋', 'Live workflow briefings', 'On your Home screen, with upcoming run times for every scheduled workflow.'),+ ('💬', 'An AI chat panel inside the flow builder', 'It knows your workflow and helps you debug or extend it.'),('🔔', 'Web push notifications', 'Plus long-term memory blocks and the latest models: Claude Opus 4.7 and Grok.'),]) }}{{ ui.cta("See what's new", urls.changelog) }}diff --git a/autogpt_platform/backend/backend/notifications/templates/onboarding.subject.j2 b/autogpt_platform/backend/backend/notifications/templates/onboarding.subject.j2index df36b8cbd5..32eeb218a1 100644--- a/autogpt_platform/backend/backend/notifications/templates/onboarding.subject.j2+++ b/autogpt_platform/backend/backend/notifications/templates/onboarding.subject.j2@@ -1,7 +1,7 @@{% if part == 1 %}Welcome to AutoGPT: let's get you your first winYou're all set up. Here's the 2-minute path to your first task, done for you.{% elif part == 2 %}5 tasks you can hand to Otto todayReal workflows from real users. Steal the prompts and make them yours.{% elif part == 3 %}A quick tour of your workspace-Artifacts, agent briefings, and an AI copilot inside the builder.{% elif part == 4 %}How's it going so far?+Artifacts, workflow briefings, and an AI copilot inside the builder.{% elif part == 4 %}How's it going so far?A real question from a real person. Hit reply: it comes straight to me.{% elif part == 5 %}We shipped while you were reading thisWeekly releases, a public changelog, and your feedback steering it all.{% else %}You made it: here's your direct line to the teamThe tour is done. The conversation isn't. Discord, feedback, or a call with me.{% endif %}diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/link/[token]/components/SuccessView.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/link/[token]/components/SuccessView.tsxindex 370a0ad6f0..83695d591b 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/link/[token]/components/SuccessView.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/link/[token]/components/SuccessView.tsx@@ -50,8 +50,8 @@ export function SuccessView({</Text>{returnUrl && forUser ? (<Text variant="small" className="mt-3 block text-muted-foreground">- Try it now — “research a topic”, “build me an- agent”, or “draft a doc”.+ Try it now — “research a topic”, “build me a+ workflow”, or “draft a doc”.</Text>) : null}</div>diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/login/components/LoginMarketingPanel.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/login/components/LoginMarketingPanel.tsxindex 501cd84a32..3089cdf36a 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/login/components/LoginMarketingPanel.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/login/components/LoginMarketingPanel.tsx@@ -6,18 +6,18 @@ export function LoginMarketingPanel() {return (<AuthMarketingPanelheadingLines={["Welcome back"]}- description="Pick up where you left off. Your agents are waiting."+ description="Pick up where you left off. Your experts are waiting."itemsTitle="What's new"items={[{icon: <Icon icon={BrainIcon} size={20} />,title: "New memory upgrades",- description: "Smarter agents with longer context windows.",+ description: "Smarter experts with longer context windows.",},{icon: <Icon icon={Store01Icon} size={20} />,title: "Marketplace update",- description: "Discover agents shared by the community.",+ description: "Discover workflows shared by the community.",},{icon: <Icon icon={GaugeIcon} size={20} />,diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/share/[token]/__tests__/page.test.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/share/[token]/__tests__/page.test.tsxindex d114173172..3703b3e1c6 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/share/[token]/__tests__/page.test.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/share/[token]/__tests__/page.test.tsx@@ -61,7 +61,7 @@ describe("SharePage (execution share viewer)", () => {expect(logos.length).toBeGreaterThan(0);// Public-share affordance alert.expect(- await screen.findByText(/publicly shared agent run result/i),+ await screen.findByText(/publicly shared workflow run result/i),).toBeDefined();// Run name surfaces from the structured payload (in both header// and card-title slots; we just need it to be present).diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/share/[token]/page.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/share/[token]/page.tsxindex 4902bf202b..8b9317bfef 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/share/[token]/page.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/share/[token]/page.tsx@@ -108,8 +108,8 @@ export default function SharePage() {<Alert><InfoIcon className="h-4 w-4" /><AlertDescription>- This is a publicly shared agent run result. The person who shared- this link can disable access at any time.+ This is a publicly shared workflow run result. The person who+ shared this link can disable access at any time.</AlertDescription></Alert></div>diff --git a/autogpt_platform/frontend/src/app/(no-navbar)/share/layout.tsx b/autogpt_platform/frontend/src/app/(no-navbar)/share/layout.tsxindex 9a9d8921f6..7357f32241 100644--- a/autogpt_platform/frontend/src/app/(no-navbar)/share/layout.tsx+++ b/autogpt_platform/frontend/src/app/(no-navbar)/share/layout.tsx@@ -1,8 +1,8 @@import type { Metadata } from "next";export const metadata: Metadata = {- title: "Shared Agent Run - AutoGPT",- description: "View shared agent run results",+ title: "Shared Workflow Run - AutoGPT",+ description: "View shared workflow run results",robots: "noindex, nofollow",};diff --git a/autogpt_platform/frontend/src/app/(platform)/PaywallGate/components/PaywallHeader.tsx b/autogpt_platform/frontend/src/app/(platform)/PaywallGate/components/PaywallHeader.tsxindex e0ef998cb0..b18e854b95 100644--- a/autogpt_platform/frontend/src/app/(platform)/PaywallGate/components/PaywallHeader.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/PaywallGate/components/PaywallHeader.tsx@@ -16,7 +16,7 @@ export function PaywallHeader() {</span></Text><Text variant="body" className="!text-zinc-500">- Pick a plan to start working with experts and running agents.+ Pick a plan to start working with experts and running workflows.</Text><Linkhref="/tour/chat?utm_source=platform_paywall"diff --git a/autogpt_platform/frontend/src/app/(platform)/auth/authorize/page.tsx b/autogpt_platform/frontend/src/app/(platform)/auth/authorize/page.tsxindex bb57900e50..64a7ac9c61 100644--- a/autogpt_platform/frontend/src/app/(platform)/auth/authorize/page.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/auth/authorize/page.tsx@@ -18,10 +18,10 @@ import { Icon } from "@/components/atoms/Icon/Icon";// Human-readable scope descriptionsconst SCOPE_DESCRIPTIONS: { [key in APIKeyPermission]: string } = {IDENTITY: "View your user ID, e-mail, and timezone",- EXECUTE_GRAPH: "Run your agents",- READ_GRAPH: "View your agents and their configurations",- WRITE_GRAPH: "Create agent graphs",- WRITE_LIBRARY: "Add agents to your library",+ EXECUTE_GRAPH: "Run your workflows",+ READ_GRAPH: "View your workflows and their configurations",+ WRITE_GRAPH: "Create workflows",+ WRITE_LIBRARY: "Add workflows to your library",EXECUTE_BLOCK: "Execute individual blocks",READ_BLOCK: "View available blocks",READ_STORE: "Access the Marketplace",diff --git a/autogpt_platform/frontend/src/app/(platform)/build/__tests__/NewBlockMenu.test.tsx b/autogpt_platform/frontend/src/app/(platform)/build/__tests__/NewBlockMenu.test.tsxindex 9dd3f6dd21..26e5572f1d 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/__tests__/NewBlockMenu.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/__tests__/NewBlockMenu.test.tsx@@ -283,7 +283,7 @@ describe("BlockMenuContent", () => {expect(screen.getByPlaceholderText(- "Blocks, Agents, Integrations or Keywords...",+ "Blocks, Workflows, Integrations or Keywords...",),).toBeDefined();});@@ -316,7 +316,7 @@ describe("BlockMenuContent", () => {render(<BlockMenuContent />);const input = screen.getByPlaceholderText(- "Blocks, Agents, Integrations or Keywords...",+ "Blocks, Workflows, Integrations or Keywords...",);fireEvent.change(input, { target: { value: "slack" } });@@ -327,7 +327,7 @@ describe("BlockMenuContent", () => {render(<BlockMenuContent />);const input = screen.getByPlaceholderText(- "Blocks, Agents, Integrations or Keywords...",+ "Blocks, Workflows, Integrations or Keywords...",);fireEvent.change(input, { target: { value: "test" } });diff --git a/autogpt_platform/frontend/src/app/(platform)/build/__tests__/NewSaveControl.test.tsx b/autogpt_platform/frontend/src/app/(platform)/build/__tests__/NewSaveControl.test.tsxindex 3e8e407a77..06eb5ebdaf 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/__tests__/NewSaveControl.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/__tests__/NewSaveControl.test.tsx@@ -171,7 +171,7 @@ describe("NewSaveControl", () => {</TooltipProvider>,);- const saveButton = screen.getByRole("button", { name: /save agent/i });+ const saveButton = screen.getByRole("button", { name: /save workflow/i });expect((saveButton as HTMLButtonElement).disabled).toBe(true);});@@ -265,6 +265,6 @@ describe("NewSaveControl", () => {</TooltipProvider>,);- expect(screen.getByText("Save Agent")).toBeDefined();+ expect(screen.getByText("Save Workflow")).toBeDefined();});});diff --git a/autogpt_platform/frontend/src/app/(platform)/build/__tests__/useSaveGraph.test.tsx b/autogpt_platform/frontend/src/app/(platform)/build/__tests__/useSaveGraph.test.tsxindex 8c4b2b2815..04f6541750 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/__tests__/useSaveGraph.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/__tests__/useSaveGraph.test.tsx@@ -228,7 +228,7 @@ describe("useSaveGraph", () => {});expect(mockToast).toHaveBeenCalledWith(expect.objectContaining({- title: "Couldn't save your agent",+ title: "Couldn't save your workflow",description: expect.stringContaining("Agent Output › Name: This field is required",),@@ -252,7 +252,7 @@ describe("useSaveGraph", () => {expect(mockSetNodeErrorsForBackendId).not.toHaveBeenCalled();expect(mockToast).toHaveBeenCalledWith(expect.objectContaining({- title: "Error saving graph",+ title: "Error saving workflow",description: "Network unreachable",}),);diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuildTabIntro/BuildTabIntro.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuildTabIntro/BuildTabIntro.tsxindex 32dada70fa..ca0409a982 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuildTabIntro/BuildTabIntro.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuildTabIntro/BuildTabIntro.tsx@@ -41,7 +41,7 @@ export function BuildTabIntro() {isOpen={isOpen}icon={FlowIcon}title="Create your own workflows."- body="Wire blocks into an agent that runs exactly how you want — or let Otto build it."+ body="Wire blocks into a workflow that runs exactly how you want — or let Otto build it."cta={{ label: "Ask Otto to build it", onClick: askAutoPilot }}altAction={{ label: "Learn to build it yourself", onClick: learnToBuild }}onDismiss={dismiss}diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/AgentOutputs/AgentOutputs.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/AgentOutputs/AgentOutputs.tsxindex 9ee151e6cb..1e841466ac 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/AgentOutputs/AgentOutputs.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/AgentOutputs/AgentOutputs.tsx@@ -67,7 +67,8 @@ export const AgentOutputs = ({ flowID }: { flowID: string | null }) => {metadata: {name: node.data.hardcodedValues?.name || "Output",description:- node.data.hardcodedValues?.description || "Output from the agent",+ node.data.hardcodedValues?.description ||+ "Output from the workflow",},items,};@@ -102,7 +103,7 @@ export const AgentOutputs = ({ flowID }: { flowID: string | null }) => {</SheetTrigger></TooltipTrigger><TooltipContent>- <p>Agent Outputs</p>+ <p>Workflow Outputs</p></TooltipContent></Tooltip></TooltipProvider>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/CronSchedulerDialog/CronSchedulerDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/CronSchedulerDialog/CronSchedulerDialog.tsxindex 8c1572a485..e6088c697e 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/CronSchedulerDialog/CronSchedulerDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/CronSchedulerDialog/CronSchedulerDialog.tsx@@ -20,7 +20,7 @@ export function CronSchedulerDialog({setOpen,defaultCronExpression = "",- title = "Schedule Graph",+ title = "Schedule Workflow",inputs,credentials,}: CronSchedulerDialogProps) {diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/PublishToMarketplace/__tests__/PublishToMarketplace.test.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/PublishToMarketplace/__tests__/PublishToMarketplace.test.tsxindex 71bdce9631..69bcd18faf 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/PublishToMarketplace/__tests__/PublishToMarketplace.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/PublishToMarketplace/__tests__/PublishToMarketplace.test.tsx@@ -132,7 +132,7 @@ describe("PublishToMarketplace (builder)", () => {expect(await screen.findByTestId("publish-agent-modal")).toBeDefined();expect(await screen.findByText("Build the store listing")).toBeDefined();- expect(screen.queryByText(/choose an agent/i)).toBeNull();+ expect(screen.queryByText(/choose a workflow/i)).toBeNull();expect(await screen.findByDisplayValue(AGENT_NAME)).toBeDefined();});diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunGraph/RunGraph.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunGraph/RunGraph.tsxindex c018976cea..a915de47ba 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunGraph/RunGraph.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunGraph/RunGraph.tsx@@ -75,7 +75,7 @@ export const RunGraph = ({ flowID }: { flowID: string | null }) => {</Button></TooltipTrigger><TooltipContent>- Simulate agent (no real execution — LLM-generated outputs)+ Simulate workflow (no real execution — LLM-generated outputs)</TooltipContent></Tooltip>)}@@ -100,8 +100,8 @@ export const RunGraph = ({ flowID }: { flowID: string | null }) => {{isLoading? "Processing...": isGraphRunning- ? "Stop agent"- : "Run agent"}+ ? "Stop workflow"+ : "Run workflow"}</TooltipContent></Tooltip><RunInputDialogdiff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunGraph/useRunGraph.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunGraph/useRunGraph.tsindex b158c86711..19b3846b21 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunGraph/useRunGraph.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunGraph/useRunGraph.ts@@ -114,7 +114,7 @@ export const useRunGraph = () => {}toast({- title: errorData?.message || "Graph validation failed",+ title: errorData?.message || "Workflow validation failed",description:"Please fix the validation errors on the highlighted nodes and try again.",variant: "destructive",diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunInputDialog/RunInputDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunInputDialog/RunInputDialog.tsxindex 14e94dfe0f..3671df7052 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunInputDialog/RunInputDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunInputDialog/RunInputDialog.tsx@@ -61,7 +61,7 @@ export const RunInputDialog = ({return (<><Dialog- title={purpose === "run" ? "Run Agent" : "Schedule Run"}+ title={purpose === "run" ? "Run Workflow" : "Schedule Run"}controlled={{isOpen,set: setIsOpen,diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunInputDialog/useRunInputDialog.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunInputDialog/useRunInputDialog.tsindex 20d2535eea..26daafa85f 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunInputDialog/useRunInputDialog.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/RunInputDialog/useRunInputDialog.ts@@ -77,7 +77,7 @@ export const useRunInputDialog = ({}toast({- title: errorData?.message || "Graph validation failed",+ title: errorData?.message || "Workflow validation failed",description:"Please fix the validation errors on the highlighted nodes and try again.",variant: "destructive",@@ -113,7 +113,7 @@ export const useRunInputDialog = ({}} else {toast({- title: "Error running graph",+ title: "Error running workflow",description:(error as Error).message || "An unexpected error occurred.",variant: "destructive",diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/ScheduleGraph/ScheduleGraph.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/ScheduleGraph/ScheduleGraph.tsxindex 2de233a760..2ede0114b9 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/ScheduleGraph/ScheduleGraph.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderActions/components/ScheduleGraph/ScheduleGraph.tsx@@ -35,7 +35,7 @@ export const ScheduleGraph = ({ flowID }: { flowID: string | null }) => {</Button></TooltipTrigger><TooltipContent>- <p>Schedule Graph</p>+ <p>Schedule Workflow</p></TooltipContent></Tooltip></TooltipProvider>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/BuilderChatPanel.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/BuilderChatPanel.tsxindex 5f8e36ad95..c75c2fc916 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/BuilderChatPanel.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/BuilderChatPanel.tsx@@ -51,7 +51,7 @@ export function BuilderChatPanel({ className }: Props) {const activeErrorTitle = bindError? "Could not start the builder chat": bootstrapError- ? "Could not create a blank agent"+ ? "Could not create a blank workflow": "Could not check the AI connection";return (@@ -119,14 +119,14 @@ export function BuilderChatPanel({ className }: Props) {isStreaming={isStreaming}onStop={stop}onEnqueue={onSend}- placeholder="Ask the builder to edit or run this agent…"+ placeholder="Ask the builder to edit or run this workflow…"hasSession={true}/></div></>) : (<div className="flex flex-1 items-center justify-center px-4 py-6 text-sm text-slate-500">- Open an agent to start chatting with the builder.+ Open a workflow to start chatting with the builder.</div>)}</div>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/__tests__/BuilderChatPanel.test.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/__tests__/BuilderChatPanel.test.tsxindex baba7d7f5a..c88b01564a 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/__tests__/BuilderChatPanel.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/__tests__/BuilderChatPanel.test.tsx@@ -136,7 +136,9 @@ describe("BuilderChatPanel", () => {}),);render(<BuilderChatPanel />);- expect(screen.getByText(/Could not create a blank agent/i)).toBeDefined();+ expect(+ screen.getByText(/Could not create a blank workflow/i),+ ).toBeDefined();const retry = screen.getByRole("button", { name: /Retry/i });fireEvent.click(retry);expect(retryBootstrap).toHaveBeenCalledOnce();diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/__tests__/no-model.test.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/__tests__/no-model.test.tsxindex ebb30d0432..21a11af539 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/__tests__/no-model.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/__tests__/no-model.test.tsx@@ -183,7 +183,7 @@ describe("Builder chat with no AI model connected", () => {fireEvent.click(screen.getByRole("button", { name: "Retry" }));expect(await screen.findByPlaceholderText(- "Ask the builder to edit or run this agent…",+ "Ask the builder to edit or run this workflow…",),).toBeDefined();expect(createdGraphs).toBeGreaterThanOrEqual(1);@@ -243,7 +243,7 @@ describe("Builder chat with no AI model connected", () => {renderPanel({ queryClient });fireEvent.click(screen.getByLabelText("Chat with builder"));expect(- await screen.findByText("Could not create a blank agent"),+ await screen.findByText("Could not create a blank workflow"),).toBeDefined();// A window focus refetches the transports; that alone must not retry.@@ -252,12 +252,12 @@ describe("Builder chat with no AI model connected", () => {});await act(() => new Promise((resolve) => setTimeout(resolve, 50)));expect(attempts).toBe(1);- expect(screen.getByText("Could not create a blank agent")).toBeDefined();+ expect(screen.getByText("Could not create a blank workflow")).toBeDefined();fireEvent.click(screen.getByRole("button", { name: "Retry" }));expect(await screen.findByPlaceholderText(- "Ask the builder to edit or run this agent…",+ "Ask the builder to edit or run this workflow…",),).toBeDefined();expect(attempts).toBeGreaterThanOrEqual(2);@@ -292,7 +292,7 @@ describe("Builder chat with no AI model connected", () => {fireEvent.click(screen.getByRole("button", { name: "Open graph-b" }));expect(await screen.findByPlaceholderText(- "Ask the builder to edit or run this agent…",+ "Ask the builder to edit or run this workflow…",),).toBeDefined();expect(screen.queryByText("Could not start the builder chat")).toBeNull();@@ -310,7 +310,7 @@ describe("Builder chat with no AI model connected", () => {expect(await screen.findByPlaceholderText(- "Ask the builder to edit or run this agent…",+ "Ask the builder to edit or run this workflow…",),).toBeDefined();expect(createdGraphs).toBeGreaterThanOrEqual(1);diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/components/PanelHeader.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/components/PanelHeader.tsxindex 3911713a8f..e1f4715b3f 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/components/PanelHeader.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/components/PanelHeader.tsx@@ -39,7 +39,7 @@ export function PanelHeader({? `Revert to version ${revertTargetVersion}`: "Revert to previous version"}- title="Revert to the graph version that was active before the last edit"+ title="Revert to the workflow version that was active before the last edit">Revert</Button>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/useBuilderChatPanel.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/useBuilderChatPanel.tsindex 6fe3527dcb..de9d52113e 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/useBuilderChatPanel.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/BuilderChatPanel/useBuilderChatPanel.ts@@ -316,7 +316,7 @@ export function useBuilderChatPanel({const response = (await createNewGraph({data: {graph: {- name: `New Agent ${new Date().toISOString()}`,+ name: `New Workflow ${new Date().toISOString()}`,description: "",nodes: [],links: [],@@ -339,7 +339,7 @@ export function useBuilderChatPanel({setBootstrapError("failed_to_bootstrap_agent");toast({variant: "destructive",- title: "Could not create a blank agent",+ title: "Could not create a blank workflow",description: "Please try again.",});} finally {diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FloatingSafeModeToogle.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FloatingSafeModeToogle.tsxindex 05be6d1ad4..c946f6e950 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FloatingSafeModeToogle.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FloatingSafeModeToogle.tsx@@ -105,7 +105,7 @@ export function FloatingSafeModeToggle({<SafeModeButtonisEnabled={currentHITLSafeMode}label="Human in the loop block approval"- tooltipEnabled="The agent will pause at human-in-the-loop blocks and wait for your approval"+ tooltipEnabled="The workflow will pause at human-in-the-loop blocks and wait for your approval"tooltipDisabled="Human in the loop blocks will proceed automatically"onToggle={handleHITLToggle}isPending={isPending}@@ -116,7 +116,7 @@ export function FloatingSafeModeToggle({<SafeModeButtonisEnabled={currentSensitiveActionSafeMode}label="Sensitive actions blocks approval"- tooltipEnabled="The agent will pause at sensitive action blocks and wait for your approval"+ tooltipEnabled="The workflow will pause at sensitive action blocks and wait for your approval"tooltipDisabled="Sensitive action blocks will proceed automatically"onToggle={handleSensitiveActionToggle}isPending={isPending}diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/__tests__/CustomControl.test.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/__tests__/CustomControl.test.tsxindex e8ecd18bac..4705e5f035 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/__tests__/CustomControl.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/__tests__/CustomControl.test.tsx@@ -63,7 +63,7 @@ describe("CustomControls", () => {expect(lockButton).not.toBeNull();expect(lockButton!.disabled).toBe(true);expect(lockButton!.textContent).toContain(- "Canvas is locked because this is a read-only graph",+ "Canvas is locked because this is a read-only workflow",);fireEvent.click(lockButton!);diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/CustomControl.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/CustomControl.tsxindex 4fc16fb29b..5a03f9767c 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/CustomControl.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/CustomControl.tsx@@ -98,7 +98,7 @@ export const CustomControls = memo(<LockIcon className="size-3.5 text-zinc-600" />),label: isReadOnly- ? "Canvas is locked because this is a read-only graph"+ ? "Canvas is locked because this is a read-only workflow": "Toggle Lock",onClick: () => setIsLocked(!isLocked),className: `h-10 w-10 border-none ${isLocked ? "bg-zinc-100" : "bg-white"}`,diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/GraphLoadingBox.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/GraphLoadingBox.tsxindex 4a0947c30c..a053bba44d 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/GraphLoadingBox.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/GraphLoadingBox.tsx@@ -30,14 +30,18 @@ export const GraphLoadingBox = ({<div className="absolute inset-0 animate-spin rounded-full border-4 border-zinc-100 border-t-zinc-400 dark:border-gray-700 dark:border-t-blue-400"></div></div><div className="flex flex-col items-center gap-2">- {isSaving && <Text variant="h4">Saving Graph</Text>}+ {isSaving && <Text variant="h4">Saving Workflow</Text>}{flowContentLoading && <Text variant="h4">Loading Flow</Text>}{isSaving && (- <Text variant="small">Please wait while we save your graph...</Text>+ <Text variant="small">+ Please wait while we save your workflow...+ </Text>)}{flowContentLoading && (- <Text variant="small">Please wait while we load your graph...</Text>+ <Text variant="small">+ Please wait while we load your workflow...+ </Text>)}</div></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/TriggerAgentBanner.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/TriggerAgentBanner.tsxindex f49a8cdd76..59be158120 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/TriggerAgentBanner.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/Flow/components/TriggerAgentBanner.tsx@@ -28,9 +28,9 @@ export const TriggerAgentBanner = () => {return (<Alert className="absolute bottom-4 left-1/2 z-20 w-auto -translate-x-1/2 select-none rounded-xlarge">- <AlertTitle>You are building a Trigger Agent</AlertTitle>+ <AlertTitle>You are building a Trigger Workflow</AlertTitle><AlertDescription>- Your agent will listen for its trigger and will run when the time is+ Your workflow will listen for its trigger and will run when the time isright.<br />You can view its activity in your{" "}@@ -40,7 +40,7 @@ export const TriggerAgentBanner = () => {}className="underline">- Agent Library+ Workflow Library</Link>.</AlertDescription>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeContextMenu.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeContextMenu.tsxindex a494c42f80..48e2d7ea73 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeContextMenu.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeContextMenu.tsx@@ -68,7 +68,7 @@ export const NodeContextMenu = ({ nodeId, subGraphID }: Props) => {size={20}className="mr-2 dark:text-gray-100"/>- <span className="dark:text-gray-100">Open agent</span>+ <span className="dark:text-gray-100">Open workflow</span></SecondaryDropdownMenuItem><SecondaryDropdownMenuSeparator /></>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeRightClickMenu.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeRightClickMenu.tsxindex 4d6cd86f32..5f841c4176 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeRightClickMenu.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeRightClickMenu.tsx@@ -95,7 +95,7 @@ export function NodeRightClickMenu({ nodeId, subGraphID, children }: Props) {size={20}className="mr-2 dark:text-gray-100"/>- <span className="dark:text-gray-100">Open agent</span>+ <span className="dark:text-gray-100">Open workflow</span></SecondaryMenuItem><SecondaryMenuSeparator /></>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/SubAgentUpdate/SubAgentUpdateFeature.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/SubAgentUpdate/SubAgentUpdateFeature.tsxindex 48f7d05102..a7c67b231a 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/SubAgentUpdate/SubAgentUpdateFeature.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/SubAgentUpdate/SubAgentUpdateFeature.tsx@@ -35,7 +35,7 @@ export function SubAgentUpdateFeature({handleConfirmIncompatibleUpdate,} = useSubAgentUpdateState({ nodeID: nodeID, nodeData: nodeData });- const agentName = nodeData.title || "Agent";+ const agentName = nodeData.title || "Workflow";if (!updateInfo.hasUpdate && !isInResolutionMode) {return null;diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/SubAgentUpdate/components/IncompatibleUpdateDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/SubAgentUpdate/components/IncompatibleUpdateDialog.tsxindex 87e3a6ad9d..90fbd7b8db 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/SubAgentUpdate/components/IncompatibleUpdateDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/SubAgentUpdate/components/IncompatibleUpdateDialog.tsx@@ -143,7 +143,7 @@ export function IncompatibleUpdateDialog({<Alert variant="warning"><AlertDescription>If you proceed, you'll need to remove the broken connections- before you can save or run your agent.+ before you can save or run your workflow.</AlertDescription></Alert>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/WebhookDisclaimer.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/WebhookDisclaimer.tsxindex 1fdee05a2a..ea4d360b59 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/WebhookDisclaimer.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/WebhookDisclaimer.tsx@@ -42,9 +42,9 @@ export const WebhookDisclaimer = ({ nodeId }: { nodeId: string }) => {}className="underline">- Agent Library+ Workflow Library</Link>- {!isNodeSaved && " (after saving the graph)"}.+ {!isNodeSaved && " (after saving the workflow)"}.</Text></AlertDescription></Alert>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/block-menu.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/block-menu.tsindex 6a1eaf33d5..dabe447d16 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/block-menu.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/block-menu.ts@@ -49,15 +49,15 @@ export const createBlockMenuSteps = (tour: any): StepOptions[] => [title: "The Block Menu",text: `<div class="text-sm leading-[1.375rem] text-zinc-800">- <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">This is the <strong>Block Menu</strong> — your toolbox for building agents.</p>+ <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">This is the <strong>Block Menu</strong> — your toolbox for building workflows.</p><p class="text-sm font-medium leading-[1.375rem] text-zinc-800 m-0" style="margin-top: 0.5rem;">Here you'll find:</p><ul><li><strong>Input Blocks</strong> — Entry points for data</li><li><strong>Action Blocks</strong> — Processing and AI operations</li><li><strong>Output Blocks</strong> — Results and responses</li><li><strong>Integrations</strong> — Third-party service blocks</li>- <li><strong>Library Agents</strong> — Your personal agents</li>- <li><strong>Marketplace Agents</strong> — Community agents</li>+ <li><strong>Library Workflows</strong> — Your personal workflows</li>+ <li><strong>Marketplace Workflows</strong> — Community workflows</li></ul></div>`,diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/completion.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/completion.tsindex 12d3f3fd92..289d8c507f 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/completion.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/completion.ts@@ -6,7 +6,7 @@ export const createCompletionSteps = (tour: any): StepOptions[] => [title: "Congratulations! 🎉",text: `<div class="text-sm leading-[1.375rem] text-zinc-800">- <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">You have successfully created and run your first agent flow!</p>+ <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">You have successfully created and run your first workflow!</p><div class="mt-3 p-3 bg-green-50 ring-1 ring-green-200 rounded-2xl"><p class="text-sm font-medium text-green-600 m-0">You learned how to:</p>@@ -15,7 +15,7 @@ export const createCompletionSteps = (tour: any): StepOptions[] => [<li>• Understand input and output handles</li><li>• Configure block values</li><li>• Connect blocks together</li>- <li>• Save and run your agent</li>+ <li>• Save and run your workflow</li><li>• View execution status and output</li></ul></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/connections.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/connections.tsindex af010b0be0..8b05066b31 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/connections.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/connections.ts@@ -296,7 +296,7 @@ export const createConnectionSteps = (tour: any): StepOptions[] => {<p class="text-[0.75rem] text-green-500 m-0 mt-2 text-center italic">The result of Calculator 1 flows into Calculator 2's input A</p></div>- <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0" style="margin-top: 0.75rem;">Now let's save and run your agent!</p>+ <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0" style="margin-top: 0.75rem;">Now let's save and run your workflow!</p></div>`,beforeShowPromise: async () => {@@ -305,7 +305,7 @@ export const createConnectionSteps = (tour: any): StepOptions[] => {},buttons: [{- text: "Save My Agent",+ text: "Save My Workflow",action: () => tour.next(),},],diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/run.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/run.tsindex f30c4a1950..f2a8df2a0e 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/run.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/run.ts@@ -12,10 +12,10 @@ import { banner } from "../styles";export const createRunSteps = (tour: any): StepOptions[] => [{id: "press-run",- title: "Run Your Agent",+ title: "Run Your Workflow",text: `<div class="text-sm leading-[1.375rem] text-zinc-800">- <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">Your agent is saved and ready! Now let's <strong>run it</strong> to see it in action.</p>+ <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">Your workflow is saved and ready! Now let's <strong>run it</strong> to see it in action.</p>${banner(ICONS.ClickIcon, "Click the Run button", "action")}</div>`,diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/save.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/save.tsindex 32c13844ff..90d1b1bc5e 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/save.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/save.ts@@ -11,10 +11,10 @@ import { banner } from "../styles";export const createSaveSteps = (): StepOptions[] => [{id: "open-save",- title: "Save Your Agent",+ title: "Save Your Workflow",text: `<div class="text-sm leading-[1.375rem] text-zinc-800">- <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">Before running, we need to <strong>save</strong> your agent.</p>+ <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">Before running, we need to <strong>save</strong> your workflow.</p>${banner(ICONS.ClickIcon, "Click the Save button", "action")}</div>`,@@ -41,12 +41,12 @@ export const createSaveSteps = (): StepOptions[] => [{id: "save-details",- title: "Name Your Agent",+ title: "Name Your Workflow",text: `<div class="text-sm leading-[1.375rem] text-zinc-800">- <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">Give your agent a <strong>name</strong> and optional description.</p>- ${banner(ICONS.ClickIcon, 'Enter a name and click "Save Agent"', "action")}- <p class="text-xs font-normal leading-[1.125rem] text-zinc-500 m-0" style="margin-top: 0.5rem;">Example: "My Calculator Agent"</p>+ <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">Give your workflow a <strong>name</strong> and optional description.</p>+ ${banner(ICONS.ClickIcon, 'Enter a name and click "Save Workflow"', "action")}+ <p class="text-xs font-normal leading-[1.125rem] text-zinc-500 m-0" style="margin-top: 0.5rem;">Example: "My Calculator Workflow"</p></div>`,attachTo: {diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/welcome.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/welcome.tsindex 78c7d078b9..bfa8356f01 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/welcome.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/tutorial/steps/welcome.ts@@ -7,12 +7,12 @@ export const createWelcomeSteps = (tour: any): StepOptions[] => [title: "Welcome to AutoGPT Builder! 👋🏻",text: `<div class="text-sm leading-[1.375rem] text-zinc-800">- <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">This interactive tutorial will teach you how to build your first AI agent.</p>+ <p class="text-sm font-normal leading-[1.375rem] text-zinc-800 m-0">This interactive tutorial will teach you how to build your first AI workflow.</p><p class="text-sm font-medium leading-[1.375rem] text-zinc-800 m-0" style="margin-top: 0.75rem;">You'll learn how to:</p><ul class="pl-2 text-sm pt-2"><li>- Add blocks to your workflow</li><li>- Understand block inputs and outputs</li>- <li>- Save and run your agent</li>+ <li>- Save and run your workflow</li><li>- and much more...</li></ul><p class="text-xs font-normal leading-[1.125rem] text-zinc-500 m-0" style="margin-top: 0.75rem;">Estimated time: 3-4 minutes</p>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/MCPToolDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/MCPToolDialog.tsxindex a7e1bd6c6a..149a44e269 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/MCPToolDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/MCPToolDialog.tsx@@ -389,7 +389,7 @@ export function MCPToolDialog({<DialogDescription>{step === "url"? "Enter the URL of an MCP server to discover its available tools."- : `Found ${tools.length} tool${tools.length !== 1 ? "s" : ""}. Select one to add to your agent.`}+ : `Found ${tools.length} tool${tools.length !== 1 ? "s" : ""}. Select one to add to your workflow.`}</DialogDescription></DialogHeader>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/MobileWarning/MobileWarning.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/MobileWarning/MobileWarning.tsxindex f61abc78e4..50bd3e63dc 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/MobileWarning/MobileWarning.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/MobileWarning/MobileWarning.tsx@@ -24,8 +24,8 @@ export function MobileWarning() {<div className="flex flex-col items-center gap-4 px-1 py-2 text-center"><Icon icon={SmartPhone01Icon} className="h-10 w-10 text-amber-600" /><Text variant="body" className="text-zinc-700">- The agent builder relies on canvas interactions that don't work- well on this screen size. For the best experience, switch to a+ The workflow builder relies on canvas interactions that don't+ work well on this screen size. For the best experience, switch to adesktop browser.</Text><div className="mt-2 flex w-full flex-col gap-2 sm:flex-row sm:justify-center">diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuFilters/constants.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuFilters/constants.tsindex cac836e33a..9c49c1364a 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuFilters/constants.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuFilters/constants.ts@@ -9,7 +9,7 @@ export const categories: Array<{ key: CategoryKey; name: string }> = [},{key: SearchEntryFilterAnyOfItem.marketplace_agents,- name: "Marketplace agents",+ name: "Marketplace workflows",},- { key: SearchEntryFilterAnyOfItem.my_agents, name: "My agents" },+ { key: SearchEntryFilterAnyOfItem.my_agents, name: "My workflows" },];diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSearchBar/BlockMenuSearchBar.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSearchBar/BlockMenuSearchBar.tsxindex 703c3af85d..ea69f9d62b 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSearchBar/BlockMenuSearchBar.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSearchBar/BlockMenuSearchBar.tsx@@ -44,7 +44,7 @@ export const BlockMenuSearchBar: React.FC<BlockMenuSearchBarProps> = ({setLocalQuery(e.target.value);debouncedSetSearchQuery(e.target.value);}}- placeholder={"Blocks, Agents, Integrations or Keywords..."}+ placeholder={"Blocks, Workflows, Integrations or Keywords..."}className={cn("m-0 border-none p-0 font-sans text-base font-normal text-zinc-800 shadow-none outline-none","placeholder:text-zinc-400 focus:shadow-none focus:outline-none focus:ring-0",diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSearchContent/useBlockMenuSearchContent.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSearchContent/useBlockMenuSearchContent.tsxindex a8ebdb754a..0a14665518 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSearchContent/useBlockMenuSearchContent.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSearchContent/useBlockMenuSearchContent.tsx@@ -89,7 +89,7 @@ export const useBlockMenuSearchContent = () => {onError: (error) => {Sentry.captureException(error);toast({- title: "Failed to add agent to library",+ title: "Failed to add workflow to library",description:((error as any).message as string) ||"An unexpected error occurred.",@@ -181,13 +181,13 @@ export const useBlockMenuSearchContent = () => {addAgentToBuilder(libraryAgentDetails as LibraryAgent);toast({- title: "Agent Added",- description: "Agent has been added to your library and builder",+ title: "Workflow Added",+ description: "Workflow has been added to your library and builder",});} catch (error) {Sentry.captureException(error);toast({- title: "Failed to add agent to library",+ title: "Failed to add workflow to library",description:((error as any).message as string) || "An unexpected error occurred.",variant: "destructive",diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSidebar/BlockMenuSidebar.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSidebar/BlockMenuSidebar.tsxindex 1872e610b6..9508956df5 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSidebar/BlockMenuSidebar.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/BlockMenuSidebar/BlockMenuSidebar.tsx@@ -83,12 +83,12 @@ export const BlockMenuSidebar = () => {},},{- name: "Marketplace Agents",+ name: "Marketplace Workflows",type: "marketplace_agents",number: blockCounts?.marketplace_agents,},{- name: "My Agents",+ name: "My Workflows",type: "my_agents",number: blockCounts?.my_agents,},diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MarketplaceAgentBlock.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MarketplaceAgentBlock.tsxindex ba772ad285..080b6c6a2f 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MarketplaceAgentBlock.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MarketplaceAgentBlock.tsx@@ -98,7 +98,7 @@ export const MarketplaceAgentBlock: MarketplaceAgentBlockComponent = ({onClick={(e) => e.stopPropagation()}><span className="font-sans text-xs leading-5 text-blue-700 underline">- Agent page+ Workflow page</span><Iconicon={LinkSquare01Icon}diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MarketplaceAgentsContent/useMarketplaceAgentsContent.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MarketplaceAgentsContent/useMarketplaceAgentsContent.tsindex c45f36ae87..c4cb9a16d5 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MarketplaceAgentsContent/useMarketplaceAgentsContent.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MarketplaceAgentsContent/useMarketplaceAgentsContent.ts@@ -60,7 +60,7 @@ export const useMarketplaceAgentsContent = () => {onError: (error) => {Sentry.captureException(error);toast({- title: "Failed to add agent to library",+ title: "Failed to add workflow to library",description:((error as any).message as string) ||"An unexpected error occurred.",@@ -106,13 +106,13 @@ export const useMarketplaceAgentsContent = () => {addAgentToBuilder(libraryAgentDetails as LibraryAgent);toast({- title: "Agent Added",- description: "Agent has been added to your library and builder",+ title: "Workflow Added",+ description: "Workflow has been added to your library and builder",});} catch (error) {Sentry.captureException(error);toast({- title: "Failed to add agent to library",+ title: "Failed to add workflow to library",description:((error as any).message as string) || "An unexpected error occurred.",variant: "destructive",diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MyAgentsContent/useMyAgentsContent.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MyAgentsContent/useMyAgentsContent.tsindex 63f827499d..c4791a1cb2 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MyAgentsContent/useMyAgentsContent.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/MyAgentsContent/useMyAgentsContent.ts@@ -44,7 +44,7 @@ export const useMyAgentsContent = () => {await addLibraryAgentToBuilder(agent);} catch (error) {toast({- title: "Failed to add agent to builder",+ title: "Failed to add workflow to builder",description:((error as any).message as string) || "An unexpected error occurred.",variant: "destructive",diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/UGCAgentBlock.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/UGCAgentBlock.tsxindex 89d6e95bb6..91b05d3ae1 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/UGCAgentBlock.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/UGCAgentBlock.tsx@@ -93,7 +93,7 @@ export const UGCAgentBlock: UGCAgentBlockComponent = ({"rounded-[0.75rem] bg-zinc-200 px-[0.5rem] font-sans text-xs leading-[1.25rem] text-zinc-500",)}>- Your Agent+ Your Workflow</span></div></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/hooks/useAddAgentToBuilder.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/hooks/useAddAgentToBuilder.tsindex 135b714fc0..c740be4329 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/hooks/useAddAgentToBuilder.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewBlockMenu/hooks/useAddAgentToBuilder.ts@@ -22,7 +22,7 @@ export function useAddAgentToBuilder() {const response = await getV2GetLibraryAgent(agent.id);if (!response.data) {- throw new Error("Failed to get agent details");+ throw new Error("Failed to get workflow details");}const libraryAgent = response.data as LibraryAgent;diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSaveControl/NewSaveControl.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSaveControl/NewSaveControl.tsxindex 1998be6498..21c267e0e8 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSaveControl/NewSaveControl.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSaveControl/NewSaveControl.tsx@@ -67,7 +67,7 @@ export const NewSaveControl = () => {id="name"label="Name"size="small"- placeholder="Enter your agent name"+ placeholder="Enter your workflow name"data-id="save-control-name-input"data-testid="save-control-name-input"maxLength={100}@@ -85,7 +85,7 @@ export const NewSaveControl = () => {id="description"size="small"label="Description"- placeholder="Your agent description"+ placeholder="Your workflow description"data-id="save-control-description-input"data-testid="save-control-description-input"maxLength={500}@@ -122,7 +122,7 @@ export const NewSaveControl = () => {disabled={isSaving}loading={isSaving}>- Save Agent+ Save Workflow</Button></CardFooter></form>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSearchGraph/GraphMenu/GraphMenu.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSearchGraph/GraphMenu/GraphMenu.tsxindex fdbab8dc4e..0d1312e4b5 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSearchGraph/GraphMenu/GraphMenu.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSearchGraph/GraphMenu/GraphMenu.tsx@@ -70,7 +70,7 @@ export function GraphSearchMenu() {</PopoverTrigger></TooltipTrigger><TooltipContent side="right">- Search Graph ({isMac ? "Cmd" : "Ctrl"}+F)+ Search Workflow ({isMac ? "Cmd" : "Ctrl"}+F)</TooltipContent></Tooltip>diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSearchGraph/GraphMenuSearchBar/GraphMenuSearchBar.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSearchGraph/GraphMenuSearchBar/GraphMenuSearchBar.tsxindex b9569a09b4..558efebb2c 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSearchGraph/GraphMenuSearchBar/GraphMenuSearchBar.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/NewControlPanel/NewSearchGraph/GraphMenuSearchBar/GraphMenuSearchBar.tsx@@ -43,7 +43,7 @@ export const GraphMenuSearchBar: React.FC<GraphMenuSearchBarProps> = ({value={searchQuery}onChange={(e) => onSearchChange(e.target.value)}onKeyDown={onKeyDown}- placeholder={"Search your graph for nodes, inputs, outputs..."}+ placeholder={"Search this workflow for blocks, inputs, outputs..."}className={cn("m-0 border-none p-0 font-sans text-base font-normal text-zinc-800 shadow-none outline-none","placeholder:text-zinc-400 focus:shadow-none focus:outline-none focus:ring-0",diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/ReadOnlyBanner/ReadOnlyBanner.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/ReadOnlyBanner/ReadOnlyBanner.tsxindex 83af10c5c2..b25f738f5b 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/ReadOnlyBanner/ReadOnlyBanner.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/ReadOnlyBanner/ReadOnlyBanner.tsx@@ -24,7 +24,7 @@ export function ReadOnlyBanner() {className="absolute left-1/2 top-4 z-20 flex -translate-x-1/2 select-none items-center gap-3 rounded-full bg-white px-4 py-2 shadow-lg"><Text variant="body" className="px-2 text-zinc-700">- You're viewing a read-only copy of this agent.+ You're viewing a read-only copy of this workflow.<br />{showDuplicate? "Duplicate it to make changes."diff --git a/autogpt_platform/frontend/src/app/(platform)/build/helpers/__tests__/graphLoadError.test.ts b/autogpt_platform/frontend/src/app/(platform)/build/helpers/__tests__/graphLoadError.test.tsindex 7a21533d31..8280a71fac 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/helpers/__tests__/graphLoadError.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/helpers/__tests__/graphLoadError.test.ts@@ -9,7 +9,7 @@ describe("getGraphLoadErrorToast", () => {it("labels a 404 as not found and surfaces the backend message", () => {const error = new ApiError("Graph not found", 404, { detail: "..." });const toast = getGraphLoadErrorToast(error);- expect(toast.title).toBe("Agent not found");+ expect(toast.title).toBe("Workflow not found");expect(toast.description).toBe("Graph not found");});@@ -17,7 +17,7 @@ describe("getGraphLoadErrorToast", () => {for (const status of [401, 403]) {const error = new ApiError("Not authorized", status, {});const toast = getGraphLoadErrorToast(error);- expect(toast.title).toBe("Not authorized to view this agent");+ expect(toast.title).toBe("Not authorized to view this workflow");expect(toast.description).toBe("Not authorized");}});@@ -25,19 +25,19 @@ describe("getGraphLoadErrorToast", () => {it("falls back to a generic failure title for other statuses", () => {const error = new ApiError("Internal server error", 500, {});const toast = getGraphLoadErrorToast(error);- expect(toast.title).toBe("Failed to load agent");+ expect(toast.title).toBe("Failed to load workflow");expect(toast.description).toBe("Internal server error");});it("falls back to a generic description for a non-ApiError", () => {const toast = getGraphLoadErrorToast(new Error());- expect(toast.title).toBe("Failed to load agent");+ expect(toast.title).toBe("Failed to load workflow");expect(toast.description).toBe("An unexpected error occurred.");});it("falls back to a generic description for a non-Error value", () => {const toast = getGraphLoadErrorToast("boom");- expect(toast.title).toBe("Failed to load agent");+ expect(toast.title).toBe("Failed to load workflow");expect(toast.description).toBe("An unexpected error occurred.");});});diff --git a/autogpt_platform/frontend/src/app/(platform)/build/helpers/graphLoadError.ts b/autogpt_platform/frontend/src/app/(platform)/build/helpers/graphLoadError.tsindex 0109639f94..0975a71e29 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/helpers/graphLoadError.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/helpers/graphLoadError.ts@@ -22,10 +22,10 @@ export function getGraphLoadErrorToast(error: unknown): {: "An unexpected error occurred.";if (status === 404) {- return { title: "Agent not found", description };+ return { title: "Workflow not found", description };}if (status === 401 || status === 403) {- return { title: "Not authorized to view this agent", description };+ return { title: "Not authorized to view this workflow", description };}- return { title: "Failed to load agent", description };+ return { title: "Failed to load workflow", description };}diff --git a/autogpt_platform/frontend/src/app/(platform)/build/helpers/saveGraphError.ts b/autogpt_platform/frontend/src/app/(platform)/build/helpers/saveGraphError.tsindex 0e98b0eeb0..54c2d804ca 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/helpers/saveGraphError.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/helpers/saveGraphError.ts@@ -8,13 +8,13 @@ import { useNodeStore } from "../stores/nodeStore";export function describeSaveError(error: unknown) {if (isValidationError(error)) {return {- title: "Couldn't save your agent",+ title: "Couldn't save your workflow",description: `${error.response.detail.message}. Fix the highlighted fields and save again.`,variant: "destructive" as const,};}return {- title: "Error saving graph",+ title: "Error saving workflow",description:error instanceof Error ? error.message : "An unexpected error occurred.",variant: "destructive" as const,diff --git a/autogpt_platform/frontend/src/app/(platform)/build/hooks/useDuplicateGraph.ts b/autogpt_platform/frontend/src/app/(platform)/build/hooks/useDuplicateGraph.tsindex 4dfbef812f..542977f8d7 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/hooks/useDuplicateGraph.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/hooks/useDuplicateGraph.ts@@ -37,12 +37,12 @@ export function useDuplicateGraph() {const result = await forkAgent({ libraryAgentId: libraryAgent.id });const forked = result.data as LibraryAgent;if (!forked?.graph_id) {- throw new Error("Fork did not return a graph to open.");+ throw new Error("The copy did not return a workflow to open.");}router.push(`/build?flowID=${forked.graph_id}`);} catch (error) {toast({- title: "Failed to duplicate agent",+ title: "Failed to duplicate workflow",description:error instanceof Error? error.messagediff --git a/autogpt_platform/frontend/src/app/(platform)/build/hooks/useSaveGraph.ts b/autogpt_platform/frontend/src/app/(platform)/build/hooks/useSaveGraph.tsindex 3978a99c24..32d9e9b678 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/hooks/useSaveGraph.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/hooks/useSaveGraph.ts@@ -81,8 +81,8 @@ export const useSaveGraph = ({onSuccess?.(data);if (showToast) {toast({- title: "Graph saved successfully",- description: "The graph has been saved successfully.",+ title: "Workflow saved successfully",+ description: "The workflow has been saved successfully.",variant: "default",});}@@ -108,8 +108,8 @@ export const useSaveGraph = ({onSuccess?.(data);if (showToast) {toast({- title: "Graph saved successfully",- description: "The graph has been saved successfully.",+ title: "Workflow saved successfully",+ description: "The workflow has been saved successfully.",variant: "default",});}@@ -128,7 +128,7 @@ export const useSaveGraph = ({name:values?.name ||graph.name ||- `New Agent ${new Date().toISOString()}`,+ `New Workflow ${new Date().toISOString()}`,description: values?.description ?? graph.description ?? "",nodes: graphNodes,links: graphLinks,@@ -138,7 +138,7 @@ export const useSaveGraph = ({if (showToast) {toast({title: "No changes to save",- description: "The graph is the same as the saved version.",+ description: "The workflow is the same as the saved version.",variant: "default",});}@@ -157,7 +157,7 @@ export const useSaveGraph = ({return graphData;} else {const data: Graph = {- name: values?.name || `New Agent ${new Date().toISOString()}`,+ name: values?.name || `New Workflow ${new Date().toISOString()}`,description: values?.description || "",nodes: graphNodes,links: graphLinks,diff --git a/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/GlobalSearchModal.tsx b/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/GlobalSearchModal.tsxindex afb9b0141c..18ad554d19 100644--- a/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/GlobalSearchModal.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/GlobalSearchModal.tsx@@ -85,7 +85,7 @@ export function GlobalSearchModal({ isOpen, onClose, onSelectItem }: Props) {buckets={buckets}isLoading={isFetching}isError={isError}- placeholder="Search agents, files, chats..."+ placeholder="Search workflows, files, chats..."inputAriaLabel="Global search"idleEmptyLabel="No recent items"searchingEmptyLabel="No results found"diff --git a/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/__tests__/GlobalSearchModal.test.tsx b/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/__tests__/GlobalSearchModal.test.tsxindex 99a7d7c22c..132ff5f44a 100644--- a/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/__tests__/GlobalSearchModal.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/__tests__/GlobalSearchModal.test.tsx@@ -104,7 +104,7 @@ describe("GlobalSearchModal", () => {expect(screen.getByText("Charlie chat")).toBeDefined();// Section headers are rendered for each non-empty bucket.- expect(screen.getByText("Agents")).toBeDefined();+ expect(screen.getByText("Workflows")).toBeDefined();expect(screen.getByText("Files")).toBeDefined();expect(screen.getByText("Chats")).toBeDefined();});diff --git a/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/__tests__/navigation.test.ts b/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/__tests__/navigation.test.tsnew file mode 100644index 0000000000..84be8fd7d5--- /dev/null+++ b/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/__tests__/navigation.test.ts@@ -0,0 +1,18 @@+import { describe, expect, it } from "vitest";+import { buildNavigationBucket } from "../navigation";++function navIDs(query: string) {+ return (+ buildNavigationBucket(query, null).bucket?.items.map((item) => item.id) ??+ []+ );+}++describe("buildNavigationBucket", () => {+ it.each(["workflows", "my workflows", "agents", "my agents"])(+ "finds the Library when searching %s",+ (query) => {+ expect(navIDs(query)).toContain("nav:library");+ },+ );+});diff --git a/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/helpers.tsx b/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/helpers.tsxindex d634733b27..2529664f9c 100644--- a/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/helpers.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/helpers.tsx@@ -72,7 +72,7 @@ function resolveIcon(}const BUCKET_LABEL: Record<BucketKey, string> = {- agents: "Agents",+ agents: "Workflows",files: "Files",chats: "Chats",};diff --git a/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/navigation.tsx b/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/navigation.tsxindex cc08fa8e78..de21976162 100644--- a/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/navigation.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/components/GlobalSearchModal/navigation.tsx@@ -42,7 +42,7 @@ const NAV_TARGETS: NavTarget[] = [id: "nav:library",title: "Library",href: "/library",- keywords: ["agents", "my agents"],+ keywords: ["agents", "my agents", "workflows", "my workflows"],icon: createIconComponent(Layers01Icon),},{diff --git a/autogpt_platform/frontend/src/app/(platform)/components/TabIntroCard/__tests__/tab-intros.test.tsx b/autogpt_platform/frontend/src/app/(platform)/components/TabIntroCard/__tests__/tab-intros.test.tsxindex 895e1ca3fa..eaa8ba8d97 100644--- a/autogpt_platform/frontend/src/app/(platform)/components/TabIntroCard/__tests__/tab-intros.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/components/TabIntroCard/__tests__/tab-intros.test.tsx@@ -68,7 +68,7 @@ describe("AgentsTabIntro", () => {).toBeDefined();await userEvent.click(- screen.getByRole("button", { name: "See my agents" }),+ screen.getByRole("button", { name: "See my workflows" }),);await waitFor(() =>@@ -91,10 +91,10 @@ describe("MarketplaceTabIntro", () => {document.body.appendChild(featured);render(<MarketplaceTabIntro />);- expect(await screen.findByText("Agents ready to work.")).toBeDefined();+ expect(await screen.findByText("Workflows ready to work.")).toBeDefined();await userEvent.click(- screen.getByRole("button", { name: "Browse featured agents" }),+ screen.getByRole("button", { name: "Browse featured workflows" }),);expect(scrollIntoView).toHaveBeenCalledTimes(1);@@ -114,29 +114,29 @@ describe("MarketplaceTabIntro", () => {document.body.appendChild(listing);render(<MarketplaceTabIntro />);- await screen.findByText("Agents ready to work.");+ await screen.findByText("Workflows ready to work.");await userEvent.click(- screen.getByRole("button", { name: "Browse featured agents" }),+ screen.getByRole("button", { name: "Browse featured workflows" }),);expect(scrollIntoView).toHaveBeenCalledTimes(1);await waitFor(() =>- expect(screen.queryByText("Agents ready to work.")).toBeNull(),+ expect(screen.queryByText("Workflows ready to work.")).toBeNull(),);listing.remove();});it("still closes when there is nothing to scroll to at all", async () => {render(<MarketplaceTabIntro />);- await screen.findByText("Agents ready to work.");+ await screen.findByText("Workflows ready to work.");await userEvent.click(- screen.getByRole("button", { name: "Browse featured agents" }),+ screen.getByRole("button", { name: "Browse featured workflows" }),);await waitFor(() =>- expect(screen.queryByText("Agents ready to work.")).toBeNull(),+ expect(screen.queryByText("Workflows ready to work.")).toBeNull(),);});});diff --git a/autogpt_platform/frontend/src/app/(platform)/components/WorkflowsMovedNotice/__tests__/tutorialCoexistence.test.tsx b/autogpt_platform/frontend/src/app/(platform)/components/WorkflowsMovedNotice/__tests__/tutorialCoexistence.test.tsxindex c5d681bccd..c9e64b168e 100644--- a/autogpt_platform/frontend/src/app/(platform)/components/WorkflowsMovedNotice/__tests__/tutorialCoexistence.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/components/WorkflowsMovedNotice/__tests__/tutorialCoexistence.test.tsx@@ -197,7 +197,7 @@ describe("migration notice with production first-visit tutorials", () => {expectOnlyDialog("Your mission control.");expectNoWrites();await userEvent.click(- screen.getByRole("button", { name: "See my agents" }),+ screen.getByRole("button", { name: "See my workflows" }),);await waitFor(() =>expect(screen.queryAllByRole("dialog", { hidden: true })).toHaveLength(0),@@ -221,7 +221,7 @@ describe("migration notice with production first-visit tutorials", () => {expectOnlyDialog("Your mission control.");expectNoWrites();await userEvent.click(- screen.getByRole("button", { name: "See my agents" }),+ screen.getByRole("button", { name: "See my workflows" }),);expect(context.completeStep).toHaveBeenCalledExactlyOnceWith("AGENTS_TAB_INTRO",@@ -235,8 +235,8 @@ describe("migration notice with production first-visit tutorials", () => {["/marketplace",MarketplaceTabIntro,- "Agents ready to work.",- "Browse featured agents",+ "Workflows ready to work.",+ "Browse featured workflows","MARKETPLACE_TAB_INTRO",],[diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/CopilotChatHost.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/CopilotChatHost.tsxindex 51efbec934..1cce7603b0 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/CopilotChatHost.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/CopilotChatHost.tsx@@ -89,7 +89,7 @@ function ChatHostBody({{sessionId && sessionDryRun && (<div className="flex items-center justify-center gap-1.5 bg-amber-50 px-3 py-1.5 text-xs font-medium text-amber-800"><Icon icon={FlaskConicalIcon} size={13} />- Test mode — this session runs agents as simulation+ Test mode — this session runs workflows as simulation</div>)}<div className="min-h-0 flex-1 overflow-hidden">diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/CopilotPage.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/CopilotPage.test.tsxindex a75aca9ec2..8e9373e450 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/CopilotPage.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/CopilotPage.test.tsx@@ -197,7 +197,7 @@ describe("CopilotPage test-mode banner", () => {it("does not show test-mode banner when there is no active session", () => {render(<CopilotPage />);expect(- screen.queryByText(/test mode.*this session runs agents/i),+ screen.queryByText(/test mode.*this session runs workflows/i),).toBeNull();});@@ -210,7 +210,7 @@ describe("CopilotPage test-mode banner", () => {});render(<CopilotPage />);expect(- screen.queryByText(/test mode.*this session runs agents/i),+ screen.queryByText(/test mode.*this session runs workflows/i),).toBeNull();});@@ -223,7 +223,7 @@ describe("CopilotPage test-mode banner", () => {});render(<CopilotPage />);expect(- screen.getByText(/test mode.*this session runs agents/i),+ screen.getByText(/test mode.*this session runs workflows/i),).toBeDefined();});@@ -235,7 +235,7 @@ describe("CopilotPage test-mode banner", () => {});render(<CopilotPage />);expect(- screen.queryByText(/test mode.*this session runs agents/i),+ screen.queryByText(/test mode.*this session runs workflows/i),).toBeNull();});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/chatSurfaceFixtures.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/chatSurfaceFixtures.tsindex 68ab84da9a..7fa1cf4864 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/chatSurfaceFixtures.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/__tests__/chatSurfaceFixtures.ts@@ -235,7 +235,7 @@ export const CARD_FIXTURES: Record<string, CardFixture> = Object.fromEntries([},"Fetch the data",),- card("validate_agent_graph", { valid: true }, "Graph is valid"),+ card("validate_agent_graph", { valid: true }, "Workflow is valid"),card("fix_agent_graph",{ valid_after_fix: true, fixes_applied: ["Linked input"] },diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/AgentSavedCard/AgentSavedCard.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/AgentSavedCard/AgentSavedCard.tsxindex 550296cb41..a3d89d9e47 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/AgentSavedCard/AgentSavedCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/AgentSavedCard/AgentSavedCard.tsx@@ -39,7 +39,8 @@ export function AgentSavedCard({className="relative top-1"/><Text variant="body-medium" className="mb-2 text-[16px] text-black">- Agent <span className="text-violet-600">{agentName}</span> {message}+ Workflow <span className="text-violet-600">{agentName}</span>{" "}+ {message}</Text></div>{!hideNavButtons && (diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/chatRule.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/chatRule.test.tsxindex 7c66b54147..44944f1967 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/chatRule.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/chatRule.test.tsx@@ -48,7 +48,7 @@ async function openMenu() {const MAIL = "Gmail Send";const MCP = "create_issue on mcp.linear.app";-const TOOL = "“Create an agent”";+const TOOL = "“Create a workflow”";test.each([[`Approve ${MAIL} from now on`, "allow", mail("m1")],diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/fixtures.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/fixtures.tsindex d143936b99..b23e94fe97 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/fixtures.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/fixtures.ts@@ -144,12 +144,12 @@ export function createAgent(id = "agent") {subject: {kind: "tool",key: "create_agent",- name: "Create an agent",+ name: "Create a workflow",effect: "platform",irreversible: false,},chatRules: ["allow", "judge"],- headline: { ask: "Create an agent" },+ headline: { ask: "Create a workflow" },});}@@ -207,7 +207,7 @@ export function workflow(id = "wf") {},args: { library_agent_id: "lib-1", inputs: { topic: "Q3 invoices" } },fields: [- { key: "library_agent_id", label: "Library agent" },+ { key: "library_agent_id", label: "Library workflow" },{ key: "inputs", label: "Inputs" },],headline: { ask: "Run", object: "Morning digest" },diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/realCards.json b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/realCards.jsonindex 566426c1db..69c3a6d44f 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/realCards.json+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/realCards.json@@ -1268,7 +1268,7 @@"fields": [{"key": "library_agent_id",- "label": "Library agent",+ "label": "Library workflow","format": null},{diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/referenceCards.json b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/referenceCards.jsonindex 24444035e3..b1803e62f6 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/referenceCards.json+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/referenceCards.json@@ -33,7 +33,7 @@"description": null,"meta": [{- "text": "4 agents",+ "text": "4 workflows","cron": null,"label": null,"at": null@@ -54,7 +54,7 @@"avatar_url": null,"avatar_color": null,"skills": [],- "summary": "4 agents · 1 subfolder · In Finance"+ "summary": "4 workflows · 1 subfolder · In Finance"}],"reference_totals": {@@ -115,7 +115,7 @@"fields": [{"key": "agent_ids",- "label": "Agents",+ "label": "Workflows","format": null},{@@ -131,7 +131,7 @@"id": "lib-digest","name": "Morning digest","href": "/library/agents/lib-digest",- "kind": "Agent",+ "kind": "Workflow","description": "Summarises overnight email and news at 7am.","meta": [{@@ -178,7 +178,7 @@"id": "lib-triage","name": "Inbox triage","href": "/library/agents/lib-triage",- "kind": "Agent",+ "kind": "Workflow","description": "Labels and routes new support email.","meta": [{@@ -211,7 +211,7 @@"id": "lib-notes","name": "Meeting notes","href": "/library/agents/lib-notes",- "kind": "Agent",+ "kind": "Workflow","description": "Turns call recordings into action items.","meta": [{@@ -244,7 +244,7 @@"id": "lib-invoices","name": "Invoice chaser","href": "/library/agents/lib-invoices",- "kind": "Agent",+ "kind": "Workflow","description": "Nudges clients about overdue invoices.","meta": [{@@ -281,7 +281,7 @@"description": null,"meta": [{- "text": "4 agents",+ "text": "4 workflows","cron": null,"label": null,"at": null@@ -296,12 +296,12 @@"avatar_url": null,"avatar_color": null,"skills": [],- "summary": "4 agents · 1 subfolder"+ "summary": "4 workflows · 1 subfolder"}],"reference_totals": {- "agent_ids": 7,- "folder_id": 1+ "folder_id": 1,+ "agent_ids": 7},"tool_call_id": "call-move_agents_to_folder","turn": 1,@@ -309,7 +309,7 @@"subject": {"kind": "tool","key": "move_agents_to_folder",- "name": "Move agents into library folder",+ "name": "Move workflows into library folder","effect": "platform","irreversible": false,"block_id": null@@ -319,7 +319,7 @@"decided_by": null,"chat_rules_allowed": ["allow", "judge"],"headline": {- "ask": "Move agents into library folder",+ "ask": "Move workflows into library folder","object": "Archive","object_key": "folder_id"},@@ -376,7 +376,7 @@"at": "2026-09-25T07:00:00+00:00"},{- "text": "Agent: Morning digest",+ "text": "Workflow: Morning digest","cron": null,"label": null,"at": null@@ -385,7 +385,7 @@"avatar_url": null,"avatar_color": null,"skills": [],- "summary": "Runs 0 7 * * * · Next run 2026-09-25 · Agent: Morning digest"+ "summary": "Runs 0 7 * * * · Next run 2026-09-25 · Workflow: Morning digest"}],"reference_totals": {@@ -722,7 +722,7 @@"fields": [{"key": "agent_id",- "label": "Agent",+ "label": "Workflow","format": null}],@@ -733,7 +733,7 @@"id": "g-digest","name": "Morning digest","href": "/library/agents/lib-digest",- "kind": "Agent",+ "kind": "Workflow","description": "Summarises overnight email and news at 7am.","meta": [{@@ -770,7 +770,7 @@"subject": {"kind": "tool","key": "edit_agent",- "name": "Edit an agent",+ "name": "Edit a workflow","effect": "platform","irreversible": false,"block_id": null@@ -780,7 +780,7 @@"decided_by": null,"chat_rules_allowed": ["allow", "judge"],"headline": {- "ask": "Edit an agent",+ "ask": "Edit a workflow","object": "Morning digest","object_key": "agent_id"},@@ -825,7 +825,7 @@"description": "The digest, but Mondays only.","meta": [{- "text": "Agent: Morning digest",+ "text": "Workflow: Morning digest","cron": null,"label": null,"at": null@@ -834,7 +834,7 @@"avatar_url": null,"avatar_color": null,"skills": [],- "summary": "Agent: Morning digest"+ "summary": "Workflow: Morning digest"}],"reference_totals": {@@ -901,7 +901,7 @@"description": "Runs when an invoice lands.","meta": [{- "text": "Agent: Morning digest",+ "text": "Workflow: Morning digest","cron": null,"label": null,"at": null@@ -910,7 +910,7 @@"avatar_url": null,"avatar_color": null,"skills": [],- "summary": "Agent: Morning digest"+ "summary": "Workflow: Morning digest"}],"reference_totals": {@@ -1039,7 +1039,7 @@"fields": [{"key": "store_listing_version_id",- "label": "Marketplace agent",+ "label": "Marketplace workflow","format": null},{@@ -1055,7 +1055,7 @@"id": "slv-receipts","name": "Receipt matcher","href": "/marketplace/agent/ledgerly/receipt-matcher",- "kind": "Marketplace agent",+ "kind": "Marketplace workflow","description": "Matches card spend to emailed receipts.","meta": [{@@ -1105,8 +1105,8 @@}],"reference_totals": {- "store_listing_version_id": 1,- "expert_id": 1+ "expert_id": 1,+ "store_listing_version_id": 1},"tool_call_id": "call-install_expert_workflow","turn": 1,diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/references.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/references.test.tsxindex 2d77491a9c..79b5ebd33b 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/references.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ApprovalQueue/__tests__/references.test.tsx@@ -83,7 +83,7 @@ test("hovering a resolved link shows its kind, description, facts and ID", asyncawait userEvent.hover(view.getByRole("link", { name: "Morning digest" }));const tip = within(await screen.findByRole("tooltip"));- expect(tip.getByText("Agent")).toBeDefined();+ expect(tip.getByText("Workflow")).toBeDefined();expect(tip.getByText("Morning digest")).toBeDefined();expect(tip.getByText("Summarises overnight email and news at 7am."),@@ -226,7 +226,7 @@ test("unresolved agent IDs stay listed beside a resolved folder headline", asyncconst view = await card();expect(view.getByRole("heading", {- name: /Move agents into library folder Archive/,+ name: /Move workflows into library folder Archive/,}),).toBeDefined();expect(view.getByText(/lib-lost-1/)).toBeDefined();diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ArtifactPanel/components/ArtifactErrorBoundary.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ArtifactPanel/components/ArtifactErrorBoundary.tsxindex b2377fb15b..fa18964948 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ArtifactPanel/components/ArtifactErrorBoundary.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ArtifactPanel/components/ArtifactErrorBoundary.tsx@@ -91,8 +91,7 @@ export class ArtifactErrorBoundary extends Component<Props, State> {Copy error details</button><p className="max-w-md text-xs text-zinc-400">- Paste this into the chat so the agent can regenerate a working- version.+ Paste this into the chat so a working version can be regenerated.</p></div>);diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatInput/ChatInput.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatInput/ChatInput.tsxindex afbe3da4a6..f78f76f2ce 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatInput/ChatInput.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatInput/ChatInput.tsx@@ -156,8 +156,8 @@ export function ChatInput({toast({title: next ? "Test mode enabled" : "Test mode disabled",description: next- ? "New chats will run agents in test mode."- : "New chats will run agents normally.",+ ? "New chats will run workflows in test mode."+ : "New chats will run workflows normally.",});}diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatInput/components/__tests__/ConnectionPicker.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatInput/components/__tests__/ConnectionPicker.test.tsxindex f2a749dce9..45f33f59dd 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatInput/components/__tests__/ConnectionPicker.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ChatInput/components/__tests__/ConnectionPicker.test.tsx@@ -62,7 +62,7 @@ const chatgpt = (over: Partial<AIConnectionOffer> = {}) =>tier("standard", "Balanced", null),tier("advanced", "Advanced", null),],- limitations: ["The agent builder's chat panel always runs on AutoGPT."],+ limitations: ["The workflow builder's chat panel always runs on AutoGPT."],...over,});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/CopilotPendingReviews/CopilotPendingReviews.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/CopilotPendingReviews/CopilotPendingReviews.tsxindex be89952e83..50f05c9fc4 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/CopilotPendingReviews/CopilotPendingReviews.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/CopilotPendingReviews/CopilotPendingReviews.tsx@@ -58,7 +58,7 @@ export function CopilotPendingReviews(props: Props) {if (graphExecId) {onSend(`All pending reviews have been processed. ` +- `The agent execution will resume automatically for approved reviews. ` ++ `The workflow execution will resume automatically for approved reviews. ` +`Use view_agent_output with execution_id="${graphExecId}" to check the result.`,);} else {diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/JobStatsBar/__tests__/TurnStatsBar.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/JobStatsBar/__tests__/TurnStatsBar.test.tsxindex 134357e641..456553c0f5 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/JobStatsBar/__tests__/TurnStatsBar.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/JobStatsBar/__tests__/TurnStatsBar.test.tsx@@ -118,7 +118,7 @@ describe("TurnStatsBar", () => {);expect(screen.getByText(/Thought for 4s/)).toBeDefined();const bar = container.querySelector("div.mt-2");- expect(bar?.textContent).toMatch(/2\s*agents run/);+ expect(bar?.textContent).toMatch(/2\s*workflows run/);expect(bar?.textContent).toMatch(/1\s*action/);});});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/JobStatsBar/useWorkDoneCounters.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/JobStatsBar/useWorkDoneCounters.tsindex c3adf296a4..8fb5fcfcdf 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/JobStatsBar/useWorkDoneCounters.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/JobStatsBar/useWorkDoneCounters.ts@@ -4,12 +4,12 @@ import { TOOL_PART_PREFIX } from "./constants";const TOOL_TO_CATEGORY: Record<string, string> = {find_agent: "search",find_library_agent: "search",- run_agent: "agent run",+ run_agent: "workflow run",run_block: "action",run_capability: "action",- create_agent: "agent created",- edit_agent: "agent edited",- schedule_agent: "agent scheduled",+ create_agent: "workflow created",+ edit_agent: "workflow edited",+ schedule_agent: "workflow scheduled",};const MAX_COUNTERS = 3;@@ -17,7 +17,7 @@ const MAX_COUNTERS = 3;function pluralize(label: string, count: number): string {if (count === 1) return label;- // "agent created" -> "agents created", "agent edited" -> "agents edited"+ // "workflow created" -> "workflows created", "workflow edited" -> "workflows edited"const nounVerbMatch = label.match(/^(\w+)\s+(created|edited|scheduled|run)$/i,);diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/OnboardingWelcomeDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/OnboardingWelcomeDialog.tsxindex 04ed20625d..59929ee364 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/OnboardingWelcomeDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/OnboardingWelcomeDialog/OnboardingWelcomeDialog.tsx@@ -58,7 +58,7 @@ const CARDS: CapabilityCard[] = [},{title: "It remembers everything.",- body: "Memory beyond any human brain. It even dreams. Manage it all in the Agents tab.",+ body: "Memory beyond any human brain. It even dreams.",icon: BrainIcon,},];diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/RateLimitResetDialog/RateLimitResetDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/RateLimitResetDialog/RateLimitResetDialog.tsxindex ad7a099068..48b9107df7 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/RateLimitResetDialog/RateLimitResetDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/RateLimitResetDialog/RateLimitResetDialog.tsx@@ -79,7 +79,7 @@ export function RateLimitResetDialog({{resetTimeLabel && resetTimeLabel !== "now"? ` Resets ${resetTimeLabel}.`: ""}{" "}- You can still browse, edit agents, and view results —{" "}+ You can still browse, edit workflows, and view results —{" "}{bodyTrailer}</Text>{canContinue && (diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/SetupRequirementsCard.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/SetupRequirementsCard.tsxindex 3f70611517..8bd8be19c8 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/SetupRequirementsCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/SetupRequirementsCard.tsx@@ -326,7 +326,7 @@ export function SetupRequirementsCard({<div className="rounded-2xl border bg-background p-3"><Text variant="small" className="w-fit border-b text-zinc-500">{credentialsLabel ??- (isEditMode ? "Credentials" : "Agent credentials")}+ (isEditMode ? "Credentials" : "Workflow credentials")}</Text><div className="mt-6"><CredentialsGroupedViewdiff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/__tests__/SetupRequirementsCard.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/__tests__/SetupRequirementsCard.test.tsxindex f0bad74b64..e9d91c5680 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/__tests__/SetupRequirementsCard.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/__tests__/SetupRequirementsCard.test.tsx@@ -341,7 +341,7 @@ describe("SetupRequirementsCard (preview mode)", () => {expect(screen.queryByText(/url • string/i)).toBeNull();});- it("labels credentials section as 'Agent credentials' by default", () => {+ it("labels credentials section as 'Workflow credentials' by default", () => {render(<SetupRequirementsCardinputsMode="preview"@@ -352,7 +352,7 @@ describe("SetupRequirementsCard (preview mode)", () => {})}/>,);- expect(screen.getByText("Agent credentials")).toBeDefined();+ expect(screen.getByText("Workflow credentials")).toBeDefined();});it("does not render advanced toggle even when advanced inputs exist", () => {@@ -407,7 +407,7 @@ describe("SetupRequirementsCard (preview mode)", () => {fireEvent.click(screen.getByText("Proceed"));await waitFor(() =>expect(mockOnSend).toHaveBeenCalledWith(- "Please proceed with running the agent.",+ "Please proceed with running the workflow.",),);});@@ -457,7 +457,7 @@ describe("SetupRequirementsCard (session-scoped dismissal)", () => {await waitFor(() =>expect(mockOnSend).toHaveBeenCalledWith(- "I've configured the required credentials. Please check if everything is ready and proceed with running the agent.",+ "I've configured the required credentials. Please check if everything is ready and proceed with running the workflow.",),);});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/helpers.tsindex 1cfab1c02f..d56f9429c1 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/SetupRequirementsCard/helpers.ts@@ -433,8 +433,8 @@ export function buildRunMessage(*/export function buildPreviewRunMessage(needsCredentials: boolean): string {return needsCredentials- ? "I've configured the required credentials. Please check if everything is ready and proceed with running the agent."- : "Please proceed with running the agent.";+ ? "I've configured the required credentials. Please check if everything is ready and proceed with running the workflow."+ : "Please proceed with running the workflow.";}/**diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/AgentCards.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/AgentCards.tsxindex 04fb1a6196..879211c897 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/AgentCards.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/AgentCards.tsx@@ -101,7 +101,7 @@ export function AgentListCard({ agents }: AgentListCardProps) {</div>)}</div>- {href && <CardLink href={href} label="Open agent" />}+ {href && <CardLink href={href} label="Open workflow" />}</div>);})}@@ -110,7 +110,7 @@ export function AgentListCard({ agents }: AgentListCardProps) {}export function AgentSavedCard({ output }: OutputCardProps) {- const name = str(output, "agent_name", "name", "graph_name") ?? "Agent";+ const name = str(output, "agent_name", "name", "graph_name") ?? "Workflow";const version = output.graph_version;const libraryLink =str(output, "library_agent_link") ??@@ -146,7 +146,7 @@ export function AgentSavedCard({ output }: OutputCardProps) {}export function AgentPreviewCard({ output }: OutputCardProps) {- const name = str(output, "agent_name", "name") ?? "Agent preview";+ const name = str(output, "agent_name", "name") ?? "Workflow preview";const count =typeof output.node_count === "number" ? output.node_count : null;return (diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ExecutionCard.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ExecutionCard.tsxindex d58cdfdd20..2c4d91bc34 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ExecutionCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ExecutionCard.tsx@@ -33,7 +33,7 @@ export function ExecutionCard({ name, status, href, variant = "run" }: Props) {{href && (<Linkhref={href}- aria-label={variant === "agent" ? "Open agent" : "Open execution"}+ aria-label={variant === "agent" ? "Open workflow" : "Open execution"}className="shrink-0 rounded-full p-1 text-zinc-400 transition-colors hover:bg-zinc-100 hover:text-zinc-700"><Icon icon={LinkSquare01Icon} size={14} />diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/InfoCards.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/InfoCards.tsxindex 1d95b68dbf..ce0a6e40c7 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/InfoCards.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/InfoCards.tsx@@ -115,9 +115,9 @@ function strList(value: unknown): string[] {export function ValidationCard({ output }: OutputProps) {const errors = strList(output.errors);- if (output.valid === true) return <StatusCard ok label="Graph is valid" />;+ if (output.valid === true) return <StatusCard ok label="Workflow is valid" />;if (errors.length > 0) return <ErrorList errors={errors} />;- return <StatusCard ok={false} label="Graph has errors" />;+ return <StatusCard ok={false} label="Workflow has errors" />;}export function FixResultCard({ output }: OutputProps) {@@ -228,7 +228,7 @@ export function SuggestedGoalCard({ output }: OutputProps) {type="button"className="w-fit rounded-lg bg-zinc-900 px-2.5 py-1.5 text-xs font-medium text-white transition-colors hover:bg-zinc-700"onClick={() =>- actions.onSend(`Please create an agent with this goal: ${goal}`)+ actions.onSend(`Please create a workflow with this goal: ${goal}`)}>Use this goaldiff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ListCards.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ListCards.tsxindex 85aa9c0e00..91fa54f863 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ListCards.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/ListCards.tsx@@ -96,7 +96,7 @@ export function ScheduleList({ schedules }: SchedulesProps) {</div>{str(schedule, "kind") && (<span className="shrink-0 rounded-full bg-zinc-100 px-2 py-0.5 text-[11px] text-zinc-500">- {str(schedule, "kind") === "copilot_turn" ? "chat" : "agent"}+ {str(schedule, "kind") === "copilot_turn" ? "chat" : "workflow"}</span>)}</div>@@ -149,7 +149,7 @@ export function FolderList({ folders }: FoldersProps) {</p>{count !== null && (<span className="shrink-0 text-xs text-zinc-400">- {count} agent{count === 1 ? "" : "s"}+ {count} workflow{count === 1 ? "" : "s"}</span>)}</div>diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/AgentCards.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/AgentCards.test.tsxindex 889c8236e4..7003f89819 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/AgentCards.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/AgentCards.test.tsx@@ -19,7 +19,7 @@ describe("AgentListCard", () => {);expect(screen.getByText("Lib Agent")).toBeDefined();- expect(screen.getByLabelText("Open agent").getAttribute("href")).toBe(+ expect(screen.getByLabelText("Open workflow").getAttribute("href")).toBe("/library/agents/lib-1",);});@@ -45,7 +45,7 @@ describe("AgentListCard", () => {expect(screen.getByText("Scrapes websites")).toBeDefined();expect(screen.getByText("1,200 runs")).toBeDefined();expect(screen.getByText("4.5")).toBeDefined();- expect(screen.getByLabelText("Open agent").getAttribute("href")).toBe(+ expect(screen.getByLabelText("Open workflow").getAttribute("href")).toBe("/marketplace/agent/creator/scraper",);});@@ -56,7 +56,7 @@ describe("AgentListCard", () => {);expect(screen.getByText("Deep Path Agent")).toBeDefined();- expect(screen.queryByLabelText("Open agent")).toBeNull();+ expect(screen.queryByLabelText("Open workflow")).toBeNull();});it("falls back to inline JSON for unnamed agents", () => {@@ -94,7 +94,7 @@ describe("AgentSavedCard", () => {it("falls back to a default name and no links", () => {render(<AgentSavedCard output={{}} />);- expect(screen.getByText("Agent")).toBeDefined();+ expect(screen.getByText("Workflow")).toBeDefined();expect(screen.queryByLabelText("Open in library")).toBeNull();});@@ -135,7 +135,7 @@ describe("AgentPreviewCard", () => {it("pluralizes the block count and falls back to a default name", () => {render(<AgentPreviewCard output={{ node_count: 4 }} />);- expect(screen.getByText("Agent preview")).toBeDefined();+ expect(screen.getByText("Workflow preview")).toBeDefined();expect(screen.getByText("4 blocks")).toBeDefined();});});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/InfoCards.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/InfoCards.test.tsxindex 4268fb6427..7afaee2701 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/InfoCards.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/InfoCards.test.tsx@@ -55,7 +55,7 @@ describe("ValidationCard", () => {it("shows a valid status for valid graphs", () => {render(<ValidationCard output={{ valid: true }} />);- expect(screen.getByText("Graph is valid")).toBeDefined();+ expect(screen.getByText("Workflow is valid")).toBeDefined();});it("lists validation errors when present", () => {@@ -72,7 +72,7 @@ describe("ValidationCard", () => {it("shows a generic failure when errors are absent", () => {render(<ValidationCard output={{ valid: false }} />);- expect(screen.getByText("Graph has errors")).toBeDefined();+ expect(screen.getByText("Workflow has errors")).toBeDefined();});});@@ -210,7 +210,7 @@ describe("SuggestedGoalCard", () => {fireEvent.click(screen.getByRole("button", { name: "Use this goal" }));expect(onSend).toHaveBeenCalledWith(- "Please create an agent with this goal: Build a scraper",+ "Please create a workflow with this goal: Build a scraper",);});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ListCards.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ListCards.test.tsxindex 7c1f91fe4f..df10245e3e 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ListCards.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ListCards.test.tsx@@ -62,7 +62,7 @@ describe("ScheduleList", () => {);expect(screen.getByText("Run scraper")).toBeDefined();- expect(screen.getByText("agent")).toBeDefined();+ expect(screen.getByText("workflow")).toBeDefined();});it("falls back to inline JSON for unnamed schedules", () => {@@ -101,9 +101,9 @@ describe("FolderList", () => {);expect(screen.getByText("Marketing")).toBeDefined();- expect(screen.getByText("1 agent")).toBeDefined();+ expect(screen.getByText("1 workflow")).toBeDefined();expect(screen.getByText("Research")).toBeDefined();- expect(screen.getByText("3 agents")).toBeDefined();+ expect(screen.getByText("3 workflows")).toBeDefined();expect(screen.getByText("Empty")).toBeDefined();});});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/SubSessionLive.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/SubSessionLive.test.tsxindex 6d5db0ae81..0e38048aaa 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/SubSessionLive.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/SubSessionLive.test.tsx@@ -70,7 +70,7 @@ describe("SubSessionLive", () => {afterEach(cleanup);it.each([- ["run_agent", "Daily briefing", "Running agent", "Daily briefing"],+ ["run_agent", "Daily briefing", "Running workflow", "Daily briefing"],["run_block","FillTextTemplateBlock",@@ -155,8 +155,10 @@ describe("SubSessionLive", () => {output={{ status: "running", sub_session_id: "sub-1" }}/>,);- expect(await screen.findByText('Ran agent "First workflow"')).toBeDefined();- expect(screen.getByText('Ran agent "Second workflow"')).toBeDefined();+ expect(+ await screen.findByText('Ran workflow "First workflow"'),+ ).toBeDefined();+ expect(screen.getByText('Ran workflow "Second workflow"')).toBeDefined();});it("streams the delegate's recent tools and latest words while running", async () => {diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ToolChain.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ToolChain.test.tsxindex 7dac20f909..f221135a62 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ToolChain.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ToolChain.test.tsx@@ -225,10 +225,10 @@ describe("ToolChain", () => {/>,);- expect(getChainHeader(/running agent "Daily briefing"/i)).toBeDefined();- expect(screen.getAllByText('Running agent "Daily briefing"…')).toHaveLength(- 2,- );+ expect(getChainHeader(/running workflow "Daily briefing"/i)).toBeDefined();+ expect(+ screen.getAllByText('Running workflow "Daily briefing"…'),+ ).toHaveLength(2);expect(container.textContent).not.toContain("b71fd24c");});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ToolResult.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ToolResult.test.tsxindex f393233c06..c60d22c672 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ToolResult.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/ToolResult.test.tsx@@ -394,7 +394,7 @@ describe("ToolResult", () => {expect(screen.getByText("by abhi")).toBeDefined();expect(screen.getByText("1,200 runs")).toBeDefined();expect(screen.getByText("4.5")).toBeDefined();- expect(screen.getByLabelText("Open agent").getAttribute("href")).toBe(+ expect(screen.getByLabelText("Open workflow").getAttribute("href")).toBe("/library/agents/lib-1",);});@@ -497,7 +497,7 @@ describe("ToolResult", () => {it("renders a valid graph status for validate_agent_graph", () => {render(<ToolResult row={row({ valid: true }, "validate_agent_graph")} />);- expect(screen.getByText("Graph is valid")).toBeDefined();+ expect(screen.getByText("Workflow is valid")).toBeDefined();});it("renders fix results for fix_agent_graph", () => {@@ -610,7 +610,7 @@ describe("ToolResult", () => {);expect(screen.getByText("Marketing")).toBeDefined();- expect(screen.getByText("3 agents")).toBeDefined();+ expect(screen.getByText("3 workflows")).toBeDefined();});it("renders the single folder returned by create_folder", () => {@@ -1162,7 +1162,7 @@ describe("ToolResult deferred platform tools", () => {tool: "list_folders",input: {},output: { folders: [{ name: "Marketing", agent_count: 3 }] },- marker: "3 agents",+ marker: "3 workflows",},{tool: "search_docs",@@ -1200,7 +1200,7 @@ describe("ToolResult deferred platform tools", () => {tool: "validate_agent_graph",input: { agent_json: {} },output: { valid: true },- marker: "Graph is valid",+ marker: "Workflow is valid",},{tool: "setup_agent_webhook_trigger",@@ -1251,7 +1251,7 @@ describe("ToolResult deferred platform tools", () => {/>,);- expect(screen.getByLabelText("Open agent").getAttribute("href")).toBe(+ expect(screen.getByLabelText("Open workflow").getAttribute("href")).toBe("/library/agents/lib-1",);});@@ -1266,7 +1266,7 @@ describe("ToolResult deferred platform tools", () => {/>,);- expect(screen.getByText("Graph is valid")).toBeDefined();+ expect(screen.getByText("Workflow is valid")).toBeDefined();});it("reads the nested input as the tool's input", () => {@@ -1328,7 +1328,7 @@ describe("ToolResult deferred platform tools", () => {/>,);- expect(screen.queryByText("Graph is valid")).toBeNull();+ expect(screen.queryByText("Workflow is valid")).toBeNull();});it("does not render capability details as an execution card", () => {@@ -1347,7 +1347,7 @@ describe("ToolResult deferred platform tools", () => {/>,);- expect(screen.queryByText("Graph is valid")).toBeNull();+ expect(screen.queryByText("Workflow is valid")).toBeNull();});it("does not render a describe_capability response as an execution card", () => {@@ -1359,7 +1359,7 @@ describe("ToolResult deferred platform tools", () => {/>,);- expect(screen.queryByText("Graph is valid")).toBeNull();+ expect(screen.queryByText("Workflow is valid")).toBeNull();});it("leaves a resumed call alone, since it names a review and not a tool", () => {@@ -1371,7 +1371,7 @@ describe("ToolResult deferred platform tools", () => {/>,);- expect(screen.queryByText("Graph is valid")).toBeNull();+ expect(screen.queryByText("Workflow is valid")).toBeNull();});it("keeps block capability rows on the block card", () => {diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/toolCatalog.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/toolCatalog.test.tsindex c8179c643b..5a0a0757ec 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/toolCatalog.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/__tests__/toolCatalog.test.ts@@ -142,7 +142,7 @@ describe("getCatalogLabel", () => {"find_agent",{ query: "scraper" },"running",- 'Finding agents for "scraper"…',+ 'Finding workflows for "scraper"…',],["find_library_agent",@@ -164,12 +164,17 @@ describe("getCatalogLabel", () => {],["create_folder", { name: "Reports" }, "done", 'Created folder "Reports"'],["update_folder", { name: "Reports" }, "done", 'Updated folder "Reports"'],- ["run_agent", { username_agent_slug: "abhi/scraper" }, "done", "Ran agent"],+ [+ "run_agent",+ { username_agent_slug: "abhi/scraper" },+ "done",+ "Ran workflow",+ ],["run_agent",{ library_agent_id: "0123456789012345678901234" },"done",- "Ran agent",+ "Ran workflow",],["add_understanding", {}, "done", "Noted context"],["enter_agent_building_mode", {}, "running", "Entering building mode…"],diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/helpers.tsindex 1d7cf2ebf7..bbac133066 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/helpers.ts@@ -310,8 +310,8 @@ const CATEGORY_SUMMARY: Record<ChainRow["category"], string> = {edit: "edited files",todo: "updated tasks",compaction: "summarized context",- agent: "ran agents",- "agent-build": "built agents",+ agent: "delegated work",+ "agent-build": "built workflows",plan: "planned the approach",block: "ran blocks",memory: "managed memory",diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.agent.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.agent.tsindex 8a4cee6af1..cdf73c2ed8 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.agent.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.agent.ts@@ -9,28 +9,28 @@ export const AGENT_TOOL_CATALOG: Record<string, ToolMeta> = {},create_agent: {category: "agent-build",- running: "Creating agent",- done: "Created agent",+ running: "Creating workflow",+ done: "Created workflow",},customize_agent: {category: "agent-build",- running: "Customizing agent",- done: "Customized agent",+ running: "Customizing workflow",+ done: "Customized workflow",},edit_agent: {category: "agent-build",- running: "Editing agent",- done: "Edited agent",+ running: "Editing workflow",+ done: "Edited workflow",},validate_agent_graph: {category: "agent-build",- running: "Validating agent",- done: "Validated agent",+ running: "Validating workflow",+ done: "Validated workflow",},fix_agent_graph: {category: "agent-build",- running: "Fixing agent",- done: "Fixed agent",+ running: "Fixing workflow",+ done: "Fixed workflow",},enter_agent_building_mode: {category: "agent-build",@@ -39,8 +39,8 @@ export const AGENT_TOOL_CATALOG: Record<string, ToolMeta> = {},get_agent_building_guide: {category: "docs",- running: "Reading the agent building guide",- done: "Read the agent building guide",+ running: "Reading the workflow building guide",+ done: "Read the workflow building guide",},decompose_goal: {category: "plan",@@ -56,8 +56,8 @@ export const AGENT_TOOL_CATALOG: Record<string, ToolMeta> = {},find_agent: {category: "agent",- running: "Finding agents for",- done: "Found agents for",+ running: "Finding workflows for",+ done: "Found workflows for",subject: (input) => quoted(input, "query"),},find_library_agent: {@@ -117,20 +117,20 @@ export const AGENT_TOOL_CATALOG: Record<string, ToolMeta> = {},move_agents_to_folder: {category: "folder",- running: "Moving agents to folder",- done: "Moved agents to folder",+ running: "Moving workflows to folder",+ done: "Moved workflows to folder",},run_agent: {category: "agent",- running: "Running agent",- done: "Ran agent",+ running: "Running workflow",+ done: "Ran workflow",subject: (_input, context) =>quotedName(getAgentDisplayName(context.displayName, context.output)),},view_agent_output: {category: "agent",- running: "Viewing agent output",- done: "Viewed agent output",+ running: "Viewing workflow output",+ done: "Viewed workflow output",},run_sub_session: {category: "agent",diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.platform.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.platform.tsindex 59a2409aa6..d1453435b9 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.platform.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/ToolChain/toolCatalog.platform.ts@@ -106,8 +106,8 @@ export const PLATFORM_TOOL_CATALOG: Record<string, ToolMeta> = {},list_agent_triggers: {category: "trigger",- running: "Listing agent triggers",- done: "Listed agent triggers",+ running: "Listing workflow triggers",+ done: "Listed workflow triggers",},setup_agent_webhook_trigger: {category: "trigger",@@ -167,8 +167,8 @@ export const PLATFORM_TOOL_CATALOG: Record<string, ToolMeta> = {},schedule_agent: {category: "agent",- running: "Scheduling agent",- done: "Scheduled agent",+ running: "Scheduling workflow",+ done: "Scheduled workflow",},continue_run_block: {category: "block",diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkCard/__tests__/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkCard/__tests__/helpers.test.tsindex 614a5a65bd..fca5c8a316 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkCard/__tests__/helpers.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkCard/__tests__/helpers.test.ts@@ -44,7 +44,7 @@ describe("WorkCard helpers", () => {output_type: "weird",});expect(meta?.outputType).toBe("unknown");- expect(meta?.graphName).toBe("Agent task");+ expect(meta?.graphName).toBe("Workflow task");});it("toPreview strips markdown links, quotes and bold", () => {diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkCard/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkCard/helpers.tsindex 6ea1faa8b9..1f21e66adb 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkCard/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkCard/helpers.ts@@ -41,7 +41,7 @@ export function getWorkRunMetadata(value: unknown): WorkRunMetadata | null {executionId,graphId,libraryAgentId: asString(meta.library_agent_id),- graphName: asString(meta.graph_name) ?? "Agent task",+ graphName: asString(meta.graph_name) ?? "Workflow task",status: asString(meta.status) ?? "completed",outputType,outputKey: asString(meta.output_key),diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkspaceFileCards/components/SessionActivityContent.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkspaceFileCards/components/SessionActivityContent.tsxindex 917c239b96..07554ec51d 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkspaceFileCards/components/SessionActivityContent.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/WorkspaceFileCards/components/SessionActivityContent.tsx@@ -75,7 +75,7 @@ function RunRow({ run }: { run: SessionRun }) {},},);- const name = run.name ?? fetchedName ?? "Agent run";+ const name = run.name ?? fetchedName ?? "Workflow run";const meta = run.startedAt ? formatWhen(run.startedAt) : null;// The leading icon carries the status on its own — a tick, a cross, or a// spinner reads faster than the word did, so the label is gone.diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/helpers/__tests__/toolDisplay.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/helpers/__tests__/toolDisplay.test.tsindex 3ab5451fb1..ee46133cd7 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/helpers/__tests__/toolDisplay.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/helpers/__tests__/toolDisplay.test.ts@@ -39,11 +39,11 @@ describe("agent display names", () => {]);const rows = parts.flatMap((part, index) => toChainRow(part, index) ?? []);expect(rows.map((row) => row.text)).toEqual([- 'Running agent "Daily briefing"…',- 'Running agent "Second workflow"…',+ 'Running workflow "Daily briefing"…',+ 'Running workflow "Second workflow"…',]);expect(getChainHeading(rows, true)).toBe(- 'Running agent "Second workflow"…',+ 'Running workflow "Second workflow"…',);expect(parts[0]).toMatchObject({input: { library_agent_id: "b71fd24c-7623-4a73-a000-000000000000" },@@ -63,12 +63,12 @@ describe("agent display names", () => {{ agent_name: "Untrusted argument" },]) {expect(toChainRow({ ...runPart(), input } as Part, 0)?.text).toBe(- "Running agent…",+ "Running workflow…",);expect(toChainRow({ ...runPart(), input, state: "input-streaming" } as Part, 0)?.text,- ).toBe("Running agent…");+ ).toBe("Running workflow…");}});@@ -104,7 +104,7 @@ describe("agent display names", () => {runPart(),displayPart("call-one", displayName),]);- expect(toChainRow(parts[0], 0)?.text).toBe("Running agent…");+ expect(toChainRow(parts[0], 0)?.text).toBe("Running workflow…");expect(getAgentDisplayName(displayName, { graph_name: "Result fallback" }),).toBe("Result fallback");@@ -128,7 +128,7 @@ describe("agent display names", () => {} as Part,0,)?.text,- ).toBe('Ran agent "Canonical name"');+ ).toBe('Ran workflow "Canonical name"');expect(toChainRow({@@ -138,7 +138,7 @@ describe("agent display names", () => {} as Part,0,)?.text,- ).toBe('Failed while running agent "Canonical name"');+ ).toBe('Failed while running workflow "Canonical name"');});it.each([@@ -168,7 +168,7 @@ describe("agent display names", () => {{ extraToolOutputs: new Map([["call-one", output]]) },);expect(toChainRow(messages[0].parts[0], 0)?.text).toBe(- 'Ran agent "Historical workflow"',+ 'Ran workflow "Historical workflow"',);},);@@ -207,8 +207,8 @@ describe("agent display names", () => {});expect(toChainRow(messages[0].parts[0], 0)?.text).toBe(isComplete- ? 'Ran agent "Daily briefing"'- : 'Running agent "Daily briefing"…',+ ? 'Ran workflow "Daily briefing"'+ : 'Running workflow "Daily briefing"…',);},);@@ -253,7 +253,7 @@ describe("agent display names", () => {).toHaveLength(1);const parts = withToolDisplayNames(latest?.parts ?? []);expect(toChainRow(parts[0], 0)?.text).toBe(- 'Ran agent "Daily briefing updated"',+ 'Ran workflow "Daily briefing updated"',);});});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/sharing/ShareChatDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/sharing/ShareChatDialog.tsxindex 34a3e1a71e..f36c87214e 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/sharing/ShareChatDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/sharing/ShareChatDialog.tsx@@ -34,7 +34,7 @@ export function ShareChatDialog({ sessionId, open, onOpenChange }: Props) {credentials you wouldn't want public.</Text><Text variant="small" className="text-amber-900">- Sharing is <strong>live</strong>: new messages, agent runs, and+ Sharing is <strong>live</strong>: new messages, workflow runs, andfiles added after you enable sharing become visible too. Stopsharing to revoke access.</Text>@@ -57,7 +57,7 @@ export function ShareChatDialog({ sessionId, open, onOpenChange }: Props) {</li>{state.autoShareExecutions && (<li>- {state.linkedRunCount} agent{" "}+ {state.linkedRunCount} workflow{" "}{state.linkedRunCount === 1 ? "run" : "runs"}</li>)}@@ -76,7 +76,7 @@ export function ShareChatDialog({ sessionId, open, onOpenChange }: Props) {<div className="flex items-center justify-between gap-3 rounded border border-zinc-200 px-3 py-2.5"><div className="min-w-0"><Text variant="body" className="font-medium">- Share agent runs in this chat+ Share workflow runs in this chat</Text><Text variant="small" className="text-zinc-500">Includes every run from this conversation, including ones that@@ -87,7 +87,7 @@ export function ShareChatDialog({ sessionId, open, onOpenChange }: Props) {checked={state.autoShareExecutions}onCheckedChange={state.setAutoShareExecutions}disabled={state.isShared || state.isLoadingState}- aria-label="Share agent runs from this chat"+ aria-label="Share workflow runs from this chat"/></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/sharing/__tests__/ShareChatDialog.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/sharing/__tests__/ShareChatDialog.test.tsxindex 7d3c13ffc3..d3ccd60494 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/sharing/__tests__/ShareChatDialog.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/sharing/__tests__/ShareChatDialog.test.tsx@@ -77,7 +77,7 @@ describe("ShareChatDialog", () => {// The auto-share toggle is present and labelled — the always-show// box the user asked for, regardless of run count.expect(- screen.getByLabelText(/share agent runs from this chat/i),+ screen.getByLabelText(/share workflow runs from this chat/i),).toBeDefined();});@@ -121,7 +121,7 @@ describe("ShareChatDialog", () => {// component implementation; we just pin that it exists and is// reachable via its accessible label.expect(- screen.getByLabelText(/share agent runs from this chat/i),+ screen.getByLabelText(/share workflow runs from this chat/i),).toBeDefined();});@@ -275,7 +275,7 @@ describe("ShareChatDialog", () => {// only appears once isLoadingState flips false), then assert the// toggle is in Radix's data-disabled state.await screen.findByRole("button", { name: /stop sharing/i });- const toggle = screen.getByLabelText(/share agent runs from this chat/i);+ const toggle = screen.getByLabelText(/share workflow runs from this chat/i);expect(toggle.getAttribute("data-disabled")).not.toBeNull();});});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/CreateAgent.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/CreateAgent.tsxindex 44ff70fda8..65b630b14b 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/CreateAgent.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/CreateAgent.tsx@@ -74,7 +74,7 @@ export function CreateAgentTool({ part }: Props) {const isOperating = !output;function handleUseSuggestedGoal(goal: string) {- onSend(`Please create an agent with this goal: ${goal}`);+ onSend(`Please create a workflow with this goal: ${goal}`);}return (@@ -92,13 +92,13 @@ export function CreateAgentTool({ part }: Props) {{isError && output && isErrorOutput(output) && (<ToolErrorCardmessage={output.message}- fallbackMessage="Failed to generate the agent. Please try again."+ fallbackMessage="Failed to generate the workflow. Please try again."error={output.error ? formatMaybeJson(output.error) : undefined}details={output.details ? formatMaybeJson(output.details) : undefined}actions={[{label: "Try again",- onClick: () => onSend("Please try creating the agent again."),+ onClick: () => onSend("Please try creating the workflow again."),},{label: "Simplify goal",diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/__tests__/CreateAgent.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/__tests__/CreateAgent.test.tsxindex 3528d63c4d..4779a018a0 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/__tests__/CreateAgent.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/__tests__/CreateAgent.test.tsx@@ -26,7 +26,7 @@ describe("CreateAgentTool", () => {const { container } = render(<CreateAgentTool part={makePart()} />);expect(normalizeWhitespace(container)).toContain(- "Creating agent, this might take a minute",+ "Creating workflow, this might take a minute",);expect(normalizeWhitespace(container)).not.toContain("Play while you wait");expect(normalizeWhitespace(container)).not.toContain("WASD");diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/__tests__/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/__tests__/helpers.test.tsindex f8b6f4818e..f7b72289b2 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/__tests__/helpers.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/__tests__/helpers.test.ts@@ -8,7 +8,7 @@ type Part = {output?: unknown;};-const LOADING = "Creating agent, this might take a minute";+const LOADING = "Creating workflow, this might take a minute";describe("CreateAgent getAnimationText", () => {it("returns the loading copy while streaming input", () => {@@ -51,7 +51,16 @@ describe("CreateAgent getAnimationText", () => {it("returns the error copy on error states", () => {expect(getAnimationText({ state: "output-error" })).toBe(- "Error creating agent",+ "Error creating workflow",);});++ it("returns the error copy when the tool answers with an error", () => {+ expect(+ getAnimationText({+ state: "output-available",+ output: { type: "error", error: "boom", message: "boom" },+ }),+ ).toBe("Error creating workflow");+ });});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/helpers.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/helpers.tsxindex 552c06766a..9fbd467180 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/helpers.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/CreateAgent/helpers.tsx@@ -96,19 +96,19 @@ export function getAnimationText(part: {switch (part.state) {case "input-streaming":case "input-available":- return "Creating agent, this might take a minute";+ return "Creating workflow, this might take a minute";case "output-available": {const output = parseOutput(part.output);- if (!output) return "Creating agent, this might take a minute";+ if (!output) return "Creating workflow, this might take a minute";if (isAgentSavedOutput(output)) return `Saved ${output.agent_name}`;if (isAgentPreviewOutput(output)) return `Preview "${output.agent_name}"`;if (isSuggestedGoalOutput(output)) return "Goal needs refinement";- return "Error creating agent";+ return "Error creating workflow";}case "output-error":- return "Error creating agent";+ return "Error creating workflow";default:- return "Creating agent, this might take a minute";+ return "Creating workflow, this might take a minute";}}diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/EditAgent.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/EditAgent.tsxindex 444f0e6647..1f2a908025 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/EditAgent.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/EditAgent.tsx@@ -83,13 +83,13 @@ export function EditAgentTool({ part }: Props) {{isError && output && isErrorOutput(output) && (<ToolErrorCardmessage={output.message}- fallbackMessage="Failed to edit the agent. Please try again."+ fallbackMessage="Failed to edit the workflow. Please try again."error={output.error ? formatMaybeJson(output.error) : undefined}details={output.details ? formatMaybeJson(output.details) : undefined}actions={[{label: "Try again",- onClick: () => onSend("Please try editing the agent again."),+ onClick: () => onSend("Please try editing the workflow again."),},]}/>diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/__tests__/EditAgent.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/__tests__/EditAgent.test.tsxindex 6912707158..d1473bb14b 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/__tests__/EditAgent.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/__tests__/EditAgent.test.tsx@@ -26,7 +26,7 @@ describe("EditAgentTool", () => {const { container } = render(<EditAgentTool part={makePart()} />);expect(normalizeWhitespace(container)).toContain(- "Editing agent, this might take a minute",+ "Editing workflow, this might take a minute",);expect(normalizeWhitespace(container)).not.toContain("Play while you wait");expect(normalizeWhitespace(container)).not.toContain("WASD");diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/__tests__/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/__tests__/helpers.test.tsindex 71859acb54..ed401e1458 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/__tests__/helpers.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/__tests__/helpers.test.ts@@ -8,7 +8,7 @@ type Part = {output?: unknown;};-const LOADING = "Editing agent, this might take a minute";+const LOADING = "Editing workflow, this might take a minute";describe("EditAgent getAnimationText", () => {it("returns the loading copy while streaming input", () => {@@ -45,7 +45,16 @@ describe("EditAgent getAnimationText", () => {it("returns the error copy on error states", () => {expect(getAnimationText({ state: "output-error" })).toBe(- "Error editing agent",+ "Error editing workflow",);});++ it("returns the error copy when the tool answers with an error", () => {+ expect(+ getAnimationText({+ state: "output-available",+ output: { type: "error", error: "boom", message: "boom" },+ }),+ ).toBe("Error editing workflow");+ });});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/helpers.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/helpers.tsxindex 224b610b6a..1181047fa0 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/helpers.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/EditAgent/helpers.tsx@@ -84,18 +84,18 @@ export function getAnimationText(part: {switch (part.state) {case "input-streaming":case "input-available":- return "Editing agent, this might take a minute";+ return "Editing workflow, this might take a minute";case "output-available": {const output = parseOutput(part.output);- if (!output) return "Editing agent, this might take a minute";+ if (!output) return "Editing workflow, this might take a minute";if (isAgentSavedOutput(output)) return `Saved "${output.agent_name}"`;if (isAgentPreviewOutput(output)) return `Preview "${output.agent_name}"`;- return "Error editing agent";+ return "Error editing workflow";}case "output-error":- return "Error editing agent";+ return "Error editing workflow";default:- return "Editing agent, this might take a minute";+ return "Editing workflow, this might take a minute";}}diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/FindAgents.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/FindAgents.tsxindex 4cbe1494e4..66c18b679d 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/FindAgents.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/FindAgents.tsx@@ -87,7 +87,7 @@ export function FindAgentsTool({ part }: Props) {{hasAgents && agentsFoundOutput && (<ToolAccordionicon={<AccordionIcon toolType={part.type} />}- title="Agent results"+ title="Workflow results"description={accordionDescription}><ContentGrid className="sm:grid-cols-2">diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/__tests__/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/__tests__/helpers.test.tsnew file mode 100644index 0000000000..3fcc438bff--- /dev/null+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/__tests__/helpers.test.ts@@ -0,0 +1,74 @@+import { describe, expect, it } from "vitest";+import { getAnimationText, getSourceLabelFromToolType } from "../helpers";++describe("FindAgents getSourceLabelFromToolType", () => {+ it("labels an unknown tool as workflows", () => {+ expect(getSourceLabelFromToolType(undefined)).toEqual({+ source: "unknown",+ label: "Workflows",+ });+ });+});++describe("FindAgents getAnimationText", () => {+ it("says it is searching the library", () => {+ expect(+ getAnimationText({+ type: "tool-find_library_agent",+ state: "input-available",+ input: { query: "digest" },+ }),+ ).toBe('Looking for library workflows matching "digest"');+ });++ it("says it is searching the marketplace", () => {+ expect(+ getAnimationText({ type: "tool-find_agent", state: "input-streaming" }),+ ).toBe("Looking for workflows in the marketplace");+ });++ it("reports no results", () => {+ expect(+ getAnimationText({+ type: "tool-find_agent",+ state: "output-available",+ input: { query: "digest" },+ output: { type: "no_results", message: "none", suggestions: [] },+ }),+ ).toBe('No workflows found matching "digest"');+ });++ it("counts the workflows found", () => {+ expect(+ getAnimationText({+ type: "tool-find_library_agent",+ state: "output-available",+ output: { type: "agents_found", agents: [], count: 1 },+ }),+ ).toBe("Found 1 workflow");+ expect(+ getAnimationText({+ type: "tool-find_library_agent",+ state: "output-available",+ output: { type: "agents_found", agents: [], count: 3 },+ }),+ ).toBe("Found 3 workflows");+ });++ it("reports an error response", () => {+ expect(+ getAnimationText({+ type: "tool-find_agent",+ state: "output-available",+ input: { query: "digest" },+ output: { type: "error", error: "boom", message: "boom" },+ }),+ ).toBe('Error finding workflows matching "digest"');+ });++ it("reports a tool error", () => {+ expect(+ getAnimationText({ type: "tool-find_agent", state: "output-error" }),+ ).toBe("Error finding workflows");+ });+});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/helpers.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/helpers.tsxindex 16341a60d1..b61080e76f 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/helpers.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FindAgents/helpers.tsx@@ -92,7 +92,7 @@ export function getSourceLabelFromToolType(toolType?: FindAgentsToolType): {if (toolType === "tool-find_agent") {return { source: "marketplace", label: "Marketplace" };}- return { source: "unknown", label: "Agents" };+ return { source: "unknown", label: "Workflows" };}export function getAnimationText(part: {@@ -107,8 +107,8 @@ export function getAnimationText(part: {// Action phrase matching legacy ToolCallMessageconst actionPhrase =source === "library"- ? "Looking for library agents"- : "Looking for agents in the marketplace";+ ? "Looking for library workflows"+ : "Looking for workflows in the marketplace";const queryText = query ? ` matching "${query}"` : "";@@ -123,20 +123,20 @@ export function getAnimationText(part: {return `${actionPhrase}${queryText}`;}if (isNoResultsOutput(output)) {- return `No agents found${queryText}`;+ return `No workflows found${queryText}`;}if (isAgentsFoundOutput(output)) {const count = output.count ?? output.agents?.length ?? 0;- return `Found ${count} agent${count === 1 ? "" : "s"}${queryText}`;+ return `Found ${count} workflow${count === 1 ? "" : "s"}${queryText}`;}if (isErrorOutput(output)) {- return `Error finding agents${queryText}`;+ return `Error finding workflows${queryText}`;}return `${actionPhrase}${queryText}`;}case "output-error":- return `Error finding agents${queryText}`;+ return `Error finding workflows${queryText}`;default:return actionPhrase;diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/FolderTool.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/FolderTool.tsxindex 615f0ff444..b4f48cf489 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/FolderTool.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/FolderTool.tsx@@ -88,7 +88,7 @@ function FolderCard({ folder }: { folder: FolderInfo }) {</div></ContentCardHeader><ContentHint>- {folder.agent_count} agent{folder.agent_count !== 1 ? "s" : ""}+ {folder.agent_count} workflow{folder.agent_count !== 1 ? "s" : ""}{folder.subfolder_count > 0 &&` · ${folder.subfolder_count} subfolder${folder.subfolder_count !== 1 ? "s" : ""}`}</ContentHint>@@ -128,7 +128,7 @@ function folderTreeToElements(nodes: FolderTreeInfo[]): TreeNode[] {];return {id: node.id,- name: `${node.name} (${node.agent_count} agent${node.agent_count !== 1 ? "s" : ""})`,+ name: `${node.name} (${node.agent_count} workflow${node.agent_count !== 1 ? "s" : ""})`,children: children.length > 0 ? children : undefined,};});@@ -248,7 +248,7 @@ function getAccordionTitle(output: FolderToolOutput): string {if (isFolderMoved(output)) return `Moved "${output.folder.name}"`;if (isFolderDeleted(output)) return "Folder deleted";if (isAgentsMoved(output))- return `Moved ${output.count} agent${output.count !== 1 ? "s" : ""}`;+ return `Moved ${output.count} workflow${output.count !== 1 ? "s" : ""}`;return "Folder operation";}diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/__tests__/FolderTool.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/__tests__/FolderTool.test.tsxindex 78d5e0c88f..e0a7598f6b 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/__tests__/FolderTool.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/__tests__/FolderTool.test.tsx@@ -158,7 +158,7 @@ describe("FolderTool tree icons", () => {count: 1,});const folderButton = screen.getByRole("button", {- name: /Research \(2 agents\)/,+ name: /Research \(2 workflows\)/,});const expandedGlyph = glyphs(folderButton)[0];diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/__tests__/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/__tests__/helpers.test.tsnew file mode 100644index 0000000000..f91b681d7d--- /dev/null+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/__tests__/helpers.test.ts@@ -0,0 +1,13 @@+import { describe, expect, it } from "vitest";+import { getAnimationText } from "../helpers";++describe("FolderTool getAnimationText", () => {+ it("says workflows are moving while they move into a folder", () => {+ expect(+ getAnimationText({+ type: "tool-move_agents_to_folder",+ state: "input-available",+ }),+ ).toBe("Moving workflows…");+ });+});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/helpers.tsindex 9619f7c261..4d2c173c02 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/FolderTool/helpers.ts@@ -155,7 +155,7 @@ export function getAnimationText(part: {case "delete_folder":return "Deleting folder…";case "move_agents_to_folder":- return "Moving agents…";+ return "Moving workflows…";default:return "Managing folders…";}diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/GenericTool.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/GenericTool.tsxindex 669a9907c0..544d860446 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/GenericTool.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/GenericTool.tsx@@ -653,15 +653,15 @@ function getAgentAccordionData(const status = getStringField(output, "retrieval_status");const task = output.task;return {- title: status === "timeout" ? "Agent still running" : "Agent result",+ title: status === "timeout" ? "Subtask still running" : "Subtask result",description:- typeof inp.agentId === "string" ? `Agent: ${inp.agentId}` : undefined,+ typeof inp.agentId === "string" ? `Subtask: ${inp.agentId}` : undefined,content: task ? (<ContentCodeBlock>{JSON.stringify(task, null, 2)}</ContentCodeBlock>) : (<ContentMessage>{status === "timeout"- ? "The agent hasn't finished yet. Results will appear automatically when it's done."+ ? "The subtask hasn't finished yet. Results will appear automatically when it's done.": "No result available."}</ContentMessage>),@@ -673,7 +673,7 @@ function getAgentAccordionData(const agentId = getStringField(output, "agentId");return {- title: isAsync ? "Agent started (background)" : "Agent completed",+ title: isAsync ? "Subtask started (background)" : "Subtask completed",description: description ?? agentId ?? undefined,content: isAsync ? (<ContentMessage>diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/__tests__/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/__tests__/helpers.test.tsindex 0f23f0a609..cdb2d144f1 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/__tests__/helpers.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/__tests__/helpers.test.ts@@ -72,7 +72,7 @@ describe("formatToolName", () => {it("strips redundant 'run_' prefix for other run_* tools", () => {// "Running Run agent" reads awkwardly — the override produces// "Running Agent".- expect(formatToolName("run_agent")).toBe("Agent");+ expect(formatToolName("run_agent")).toBe("Workflow");});});@@ -348,7 +348,9 @@ describe("getAnimationText", () => {state: "input-available",input: { description: "analyze code" },});- expect(getAnimationText(part, "agent")).toBe("Running agent: analyze code");+ expect(getAnimationText(part, "agent")).toBe(+ "Running subtask: analyze code",+ );});it("shows agent completed for async launch", () => {@@ -357,7 +359,9 @@ describe("getAnimationText", () => {state: "output-available",output: { isAsync: true },});- expect(getAnimationText(part, "agent")).toBe("Agent started in background");+ expect(getAnimationText(part, "agent")).toBe(+ "Subtask started in background",+ );});it("shows default streaming text for unknown tools", () => {@@ -415,7 +419,7 @@ describe("getAnimationText", () => {state: "output-available",output: { retrieval_status: "timeout" },});- expect(getAnimationText(part, "agent")).toBe("Agent still running\u2026");+ expect(getAnimationText(part, "agent")).toBe("Subtask still running\u2026");});it("shows agent completed with summary for sync agent", () => {@@ -426,7 +430,7 @@ describe("getAnimationText", () => {output: { status: "completed" },});expect(getAnimationText(part, "agent")).toBe(- "Agent completed: analyze code",+ "Subtask completed: analyze code",);});@@ -436,7 +440,7 @@ describe("getAnimationText", () => {state: "output-available",output: {},});- expect(getAnimationText(part, "agent")).toBe("Agent completed");+ expect(getAnimationText(part, "agent")).toBe("Subtask completed");});it("shows error text for web search failure", () => {diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/helpers.tsindex bcd04ce092..5f8e1114bd 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/GenericTool/helpers.ts@@ -27,15 +27,15 @@ const TOOL_DISPLAY_NAMES: Record<string, string> = {raise_expert: "Expert raise preview",update_expert: "Expert update",confirm_expert_change: "Expert change confirmation",- run_agent: "Agent",- view_agent_output: "Agent output",+ run_agent: "Workflow",+ view_agent_output: "Workflow output",run_block: "Action",run_mcp_tool: "MCP tool",find_capability: "Capability search",describe_capability: "Capability details",run_capability: "Action",resume_capability: "Resumed action",- get_agent_building_guide: "Agent building guide",+ get_agent_building_guide: "Workflow building guide",};export function formatToolName(name: string): string {@@ -287,11 +287,11 @@ export function getAnimationText(case "agent":if (toolName === TOOL_TASK_OUTPUT)return shortSummary- ? `Checking agent ${shortSummary}\u2026`- : "Checking agent result\u2026";+ ? `Checking subtask ${shortSummary}\u2026`+ : "Checking subtask result\u2026";return shortSummary- ? `Running agent: ${shortSummary}`- : "Starting agent\u2026";+ ? `Running subtask: ${shortSummary}`+ : "Starting subtask\u2026";default:return `Running ${formatToolName(toolName)}\u2026`;}@@ -353,8 +353,8 @@ export function getAnimationText(? (part.output as Record<string, unknown>): null;if (taskOut?.retrieval_status === "timeout")- return "Agent still running\u2026";- return "Agent result received";+ return "Subtask still running\u2026";+ return "Subtask result received";}const agentOut =part.output && typeof part.output === "object"@@ -362,11 +362,11 @@ export function getAnimationText(: null;if (agentOut?.isAsync || agentOut?.status === "async_launched")return shortSummary- ? `Agent started (background): ${shortSummary}`- : "Agent started in background";+ ? `Subtask started (background): ${shortSummary}`+ : "Subtask started in background";return shortSummary- ? `Agent completed: ${shortSummary}`- : "Agent completed";+ ? `Subtask completed: ${shortSummary}`+ : "Subtask completed";}default:return `${formatToolName(toolName)} completed`;diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/RunAgent.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/RunAgent.tsxindex e2e7bdcbeb..3eb3a7e5ee 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/RunAgent.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/RunAgent.tsx@@ -89,7 +89,9 @@ export function RunAgentTool({ part }: Props) {<div className="flex items-center gap-2 text-sm text-muted-foreground"><ToolIcon isStreaming={isStreaming} isError={isError} /><MorphingTextAnimation- text={isCorrupted ? "Agent result could not be displayed" : text}+ text={+ isCorrupted ? "Workflow result could not be displayed" : text+ }className={isError ? "text-red-500" : undefined}/></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/__tests__/RunAgent.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/__tests__/RunAgent.test.tsxindex 2ac6a56313..b302335592 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/__tests__/RunAgent.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/__tests__/RunAgent.test.tsx@@ -30,7 +30,7 @@ describe("RunAgentTool streaming state", () => {);expect(normalizeWhitespace(container)).toContain(- "Running agent, this might take a minute",+ "Running workflow, this might take a minute",);expect(normalizeWhitespace(container)).not.toContain("Play while you wait");expect(normalizeWhitespace(container)).not.toContain("WASD");@@ -47,9 +47,9 @@ describe("RunAgentTool streaming state", () => {);expect(normalizeWhitespace(container)).toContain(- "Scheduling agent, this might take a minute",+ "Scheduling workflow, this might take a minute",);- expect(normalizeWhitespace(container)).not.toContain("Running agent");+ expect(normalizeWhitespace(container)).not.toContain("Running workflow");});});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/__tests__/helpers.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/__tests__/helpers.test.tsxindex 5be4d17e2c..cdda4278c1 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/__tests__/helpers.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/__tests__/helpers.test.tsx@@ -126,7 +126,7 @@ describe("getAnimationText", () => {state: "input-streaming",input: { username_agent_slug: "me/agent" },}),- ).toBe('Running the agent "me/agent"');+ ).toBe('Running the workflow "me/agent"');});it("uses the library agent id when no slug is present", () => {@@ -135,7 +135,7 @@ describe("getAnimationText", () => {state: "input-available",input: { library_agent_id: "lib-9" },}),- ).toBe('Running the agent "Library agent lib-9"');+ ).toBe('Running the workflow "Library workflow lib-9"');});it("uses the scheduling phrase when a schedule is requested", () => {@@ -144,7 +144,7 @@ describe("getAnimationText", () => {state: "input-streaming",input: { schedule_name: "daily", cron: "0 0 * * *" },}),- ).toBe("Scheduling the agent to run");+ ).toBe("Scheduling the workflow to run");});it("describes an execution_started output", () => {@@ -165,7 +165,7 @@ describe("getAnimationText", () => {it("describes a non-webhook agent_details output", () => {expect(getAnimationText({ state: "output-available", output: agentDetails }),- ).toBe('Agent inputs needed for "Summariser"');+ ).toBe('Workflow inputs needed for "Summariser"');});it("describes a setup_requirements output", () => {@@ -180,13 +180,13 @@ describe("getAnimationText", () => {it("describes a need_login output", () => {expect(getAnimationText({ state: "output-available", output: needLogin }),- ).toBe("Sign in required to run agent");+ ).toBe("Sign in required to run workflow");});it("falls back to the action phrase when output is unparseable", () => {expect(getAnimationText({ state: "output-available", output: "{bad" }),- ).toBe("Running the agent");+ ).toBe("Running the workflow");});it("returns the error phrase for an error output and output-error state", () => {@@ -200,7 +200,7 @@ describe("getAnimationText", () => {it("returns the action phrase for an unknown state", () => {expect(getAnimationText({ state: "unknown" as never })).toBe(- "Running the agent",+ "Running the workflow",);});});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/components/AgentDetailsCard/AgentDetailsCard.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/components/AgentDetailsCard/AgentDetailsCard.tsxindex 00f70336c7..da71b38208 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/components/AgentDetailsCard/AgentDetailsCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/components/AgentDetailsCard/AgentDetailsCard.tsx@@ -47,7 +47,7 @@ export function AgentDetailsCard({ output }: Props) {),);onSend(- `Run the agent "${output.agent.name}" with these inputs: ${JSON.stringify(nonEmpty, null, 2)}`,+ `Run the workflow "${output.agent.name}" with these inputs: ${JSON.stringify(nonEmpty, null, 2)}`,);}@@ -58,7 +58,7 @@ export function AgentDetailsCard({ output }: Props) {// redundant and, once setup has succeeded, a stale backward-pointing CTA.return (<ContentMessage>- This agent runs on a webhook trigger, so it can't be run or+ This workflow runs on a webhook trigger, so it can't be run orscheduled directly — it's activated by setting up its trigger.</ContentMessage>);@@ -67,14 +67,16 @@ export function AgentDetailsCard({ output }: Props) {if (!schema) {return (<div className="grid gap-2">- <ContentMessage>This agent has no configurable inputs.</ContentMessage>+ <ContentMessage>+ This workflow has no configurable inputs.+ </ContentMessage><div className="flex gap-2 pt-2"><Buttonsize="small"className="w-fit"onClick={() =>onSend(- `Run the agent "${output.agent.name}" with placeholder/example values so I can test it.`,+ `Run the workflow "${output.agent.name}" with placeholder/example values so I can test it.`,)}>diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/components/AgentDetailsCard/__tests__/AgentDetailsCard.test.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/components/AgentDetailsCard/__tests__/AgentDetailsCard.test.tsxindex 190928c0bd..9f20e7a7af 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/components/AgentDetailsCard/__tests__/AgentDetailsCard.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/components/AgentDetailsCard/__tests__/AgentDetailsCard.test.tsx@@ -117,7 +117,7 @@ describe("AgentDetailsCard", () => {fireEvent.click(screen.getByRole("button", { name: /proceed/i }));expect(onSend).toHaveBeenCalledWith(- 'Run the agent "Summariser" with placeholder/example values so I can test it.',+ 'Run the workflow "Summariser" with placeholder/example values so I can test it.',);});@@ -133,7 +133,7 @@ describe("AgentDetailsCard", () => {fireEvent.click(screen.getByRole("button", { name: /proceed/i }));expect(onSend).toHaveBeenCalledWith(- 'Run the agent "Topic Agent" with these inputs: {\n "topic": "weather"\n}',+ 'Run the workflow "Topic Agent" with these inputs: {\n "topic": "weather"\n}',);});});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/helpers.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/helpers.tsxindex c4b3a5cd86..110b895e1d 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/helpers.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/RunAgent/helpers.tsx@@ -122,7 +122,7 @@ function getAgentIdentifierText(const slug = input.username_agent_slug?.trim();if (slug) return slug;const libraryId = input.library_agent_id?.trim();- if (libraryId) return `Library agent ${libraryId}`;+ if (libraryId) return `Library workflow ${libraryId}`;return null;}@@ -137,8 +137,8 @@ export function getAnimationText(part: {input?.schedule_name?.trim() || input?.cron?.trim(),);const actionPhrase = isSchedule- ? "Scheduling the agent to run"- : "Running the agent";+ ? "Scheduling the workflow to run"+ : "Running the workflow";const identifierText = agentIdentifier ? ` "${agentIdentifier}"` : "";switch (part.state) {@@ -155,13 +155,13 @@ export function getAnimationText(part: {if (output.agent.trigger_info) {return `Webhook trigger setup for "${output.agent.name}"`;}- return `Agent inputs needed for "${output.agent.name}"`;+ return `Workflow inputs needed for "${output.agent.name}"`;}if (isRunAgentSetupRequirementsOutput(output)) {return `Setup needed for "${output.setup_info.agent_name}"`;}if (isRunAgentNeedLoginOutput(output))- return "Sign in required to run agent";+ return "Sign in required to run workflow";return "Something went wrong";}case "output-error":@@ -177,8 +177,8 @@ export function getStreamingLoadingText(part: { input?: unknown }): string {input?.schedule_name?.trim() || input?.cron?.trim(),);return isSchedule- ? "Scheduling agent, this might take a minute"- : "Running agent, this might take a minute";+ ? "Scheduling workflow, this might take a minute"+ : "Running workflow, this might take a minute";}export function ToolIcon({diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/ViewAgentOutput/__tests__/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/ViewAgentOutput/__tests__/helpers.test.tsnew file mode 100644index 0000000000..2beccc7045--- /dev/null+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/ViewAgentOutput/__tests__/helpers.test.ts@@ -0,0 +1,53 @@+import { describe, expect, it } from "vitest";+import { getAnimationText } from "../helpers";++describe("ViewAgentOutput getAnimationText", () => {+ it("names a library workflow while its output loads", () => {+ expect(+ getAnimationText({+ state: "input-available",+ input: { library_agent_id: "lib-1" },+ }),+ ).toBe('Retrieving workflow output "Library workflow lib-1"');+ });++ it("keeps the loading text until the output can be read", () => {+ expect(+ getAnimationText({+ state: "output-available",+ input: { agent_name: "Digest" },+ output: "",+ }),+ ).toBe('Retrieving workflow output "Digest"');+ });++ it("reports a loaded output with no execution", () => {+ expect(+ getAnimationText({+ state: "output-available",+ output: { type: "agent_output", agent_id: "a1", agent_name: "Digest" },+ }),+ ).toBe("Retrieved workflow output");+ });++ it("reports an error response as a failed load", () => {+ expect(+ getAnimationText({+ state: "output-available",+ output: { type: "error", error: "boom", message: "boom" },+ }),+ ).toBe("Error loading workflow output");+ });++ it("reports a tool error as a failed load", () => {+ expect(getAnimationText({ state: "output-error" })).toBe(+ "Error loading workflow output",+ );+ });++ it("falls back to the plain loading text", () => {+ expect(getAnimationText({ state: "approval-requested" })).toBe(+ "Retrieving workflow output",+ );+ });+});diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/ViewAgentOutput/helpers.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/ViewAgentOutput/helpers.tsxindex 713b218d97..29b90cf3e6 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/ViewAgentOutput/helpers.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/ViewAgentOutput/helpers.tsx@@ -84,7 +84,7 @@ function getAgentIdentifierText(): string | null {if (!input) return null;const libraryId = input.library_agent_id?.trim();- if (libraryId) return `Library agent ${libraryId}`;+ if (libraryId) return `Library workflow ${libraryId}`;const slug = input.store_slug?.trim();if (slug) return slug;const name = input.agent_name?.trim();@@ -104,22 +104,22 @@ export function getAnimationText(part: {switch (part.state) {case "input-streaming":case "input-available":- return `Retrieving agent output${agentText}`;+ return `Retrieving workflow output${agentText}`;case "output-available": {const output = parseOutput(part.output);- if (!output) return `Retrieving agent output${agentText}`;+ if (!output) return `Retrieving workflow output${agentText}`;if (isAgentOutputResponse(output)) {if (output.execution)return `Retrieved output (${output.execution.status})`;- return "Retrieved agent output";+ return "Retrieved workflow output";}if (isNoResultsResponse(output)) return "No outputs found";- return "Error loading agent output";+ return "Error loading workflow output";}case "output-error":- return "Error loading agent output";+ return "Error loading workflow output";default:- return "Retrieving agent output";+ return "Retrieving workflow output";}}diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/__tests__/clarifying-questions.test.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/__tests__/clarifying-questions.test.tsindex 917106425a..cd14b688b8 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/__tests__/clarifying-questions.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/__tests__/clarifying-questions.test.ts@@ -328,7 +328,7 @@ describe("buildClarificationAnswersMessage", () => {);expect(result).toContain("> What is your goal?");expect(result).toContain("automate tasks");- expect(result).toContain("Please proceed with creating the agent.");+ expect(result).toContain("Please proceed with creating the workflow.");});it("formats answers with edit mode", () => {@@ -337,7 +337,7 @@ describe("buildClarificationAnswersMessage", () => {[{ question: "What should change?", keyword: "goal" }],"edit",);- expect(result).toContain("Please proceed with editing the agent.");+ expect(result).toContain("Please proceed with editing the workflow.");});it("lists a multi-select answer under its question", () => {diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/clarifying-questions.ts b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/clarifying-questions.tsindex 21f8872137..c0345b5c31 100644--- a/autogpt_platform/frontend/src/app/(platform)/copilot/tools/clarifying-questions.ts+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/tools/clarifying-questions.ts@@ -195,5 +195,5 @@ export function buildClarificationAnswersMessage(.join("\n\n");const action = mode === "create" ? "creating" : "editing";- return `**Here are my answers:**\n\n${contextMessage}\n\nPlease proceed with ${action} the agent.`;+ return `**Here are my answers:**\n\n${contextMessage}\n\nPlease proceed with ${action} the workflow.`;}diff --git a/autogpt_platform/frontend/src/app/(platform)/home/components/NowNext/NowNext.tsx b/autogpt_platform/frontend/src/app/(platform)/home/components/NowNext/NowNext.tsxindex f5e9f0e2e9..296ca9d038 100644--- a/autogpt_platform/frontend/src/app/(platform)/home/components/NowNext/NowNext.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/home/components/NowNext/NowNext.tsx@@ -35,7 +35,7 @@ export function NowNext({ dashboard, className }: Props) {{dashboard.upcoming_tasks.length === 0 ? (<HomeTileEmptytitle="Nothing is scheduled"- description="Your agents are ready when you are."+ description="Your team is ready when you are."className="min-h-0 gap-4 py-6"/>) : (diff --git a/autogpt_platform/frontend/src/app/(platform)/home/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/home/helpers.test.tsindex e58b4eedbe..194bcba7a2 100644--- a/autogpt_platform/frontend/src/app/(platform)/home/helpers.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/home/helpers.test.ts@@ -25,10 +25,23 @@ describe("getHomeStatusLine", () => {it("leads with decisions and active work", () => {expect(getHomeStatusLine(dashboard)).toBe(- "2 decisions waiting · 1 agent is working now",+ "2 decisions waiting · 1 workflow is running now",);});+ it("says how many workflows are running when nothing needs you", () => {+ expect(getHomeStatusLine({ ...dashboard, attention: [] })).toBe(+ "All clear · 1 workflow is running now",+ );+ expect(+ getHomeStatusLine({+ ...dashboard,+ attention: [],+ active_tasks: [...dashboard.active_tasks, ...dashboard.active_tasks],+ }),+ ).toBe("All clear · 2 workflows are running now");+ });+it("reports an all-clear state", () => {expect(getHomeStatusLine({diff --git a/autogpt_platform/frontend/src/app/(platform)/home/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/home/helpers.tsindex 475a49aa71..4fbd9c3802 100644--- a/autogpt_platform/frontend/src/app/(platform)/home/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/home/helpers.ts@@ -10,13 +10,13 @@ export function getHomeStatusLine(dashboard: HomeDashboardResponse): string {const attention = dashboard.attention.length;const active = dashboard.active_tasks.length;if (attention > 0 && active > 0) {- return `${attention} ${attention === 1 ? "decision" : "decisions"} waiting · ${active} ${active === 1 ? "agent is" : "agents are"} working now`;+ return `${attention} ${attention === 1 ? "decision" : "decisions"} waiting · ${active} ${active === 1 ? "workflow is" : "workflows are"} running now`;}if (attention > 0) {return `${attention} ${attention === 1 ? "decision needs" : "decisions need"} you`;}if (active > 0) {- return `All clear · ${active} ${active === 1 ? "agent is" : "agents are"} working now`;+ return `All clear · ${active} ${active === 1 ? "workflow is" : "workflows are"} running now`;}return "Nothing needs you right now";}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/__tests__/empty-state.test.tsx b/autogpt_platform/frontend/src/app/(platform)/library/__tests__/empty-state.test.tsxindex 78d95b4ea1..ef4c3ef88c 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/__tests__/empty-state.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/__tests__/empty-state.test.tsx@@ -75,17 +75,17 @@ describe("LibraryPage empty state", () => {expect(await screen.findByText("Your library is empty")).toBeDefined();expect(- screen.getByText(/build your own agent from scratch/i),+ screen.getByText(/build your own workflow from scratch/i),).toBeDefined();});- test("renders Build an agent CTA pointing to /build", async () => {+ test("renders Build a workflow CTA pointing to /build", async () => {setupHandlers();render(<LibraryPage />);const buildLink = await screen.findByRole("link", {- name: /build an agent/i,+ name: /build a workflow/i,});expect(buildLink.getAttribute("href")).toBe("/build");});diff --git a/autogpt_platform/frontend/src/app/(platform)/library/__tests__/low-credit-banner.test.tsx b/autogpt_platform/frontend/src/app/(platform)/library/__tests__/low-credit-banner.test.tsxindex 595d300baf..daa9693be4 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/__tests__/low-credit-banner.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/__tests__/low-credit-banner.test.tsx@@ -104,7 +104,11 @@ describe("Library low-credit banner", () => {renderLibraryWithTopUpPrompt();- expect(await screen.findByText(/out of automation credits/i)).toBeDefined();+ expect(+ await screen.findByText(+ /out of automation credits\. Top up to keep your workflows running\./i,+ ),+ ).toBeDefined();});test("the Top up CTA opens the top-up dialog", async () => {@@ -123,7 +127,7 @@ describe("Library low-credit banner", () => {// The dialog body copy mentions experts, which the banner copy does not —// keeps this assertion unambiguous against the banner's own message.expect(- await screen.findByText(/keep your agents and experts/i),+ await screen.findByText(/keep your workflows and experts/i),).toBeDefined();});diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/__tests__/empty-tasks-actions.test.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/__tests__/empty-tasks-actions.test.tsxnew file mode 100644index 0000000000..d48d7cbbcc--- /dev/null+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/__tests__/empty-tasks-actions.test.tsx@@ -0,0 +1,135 @@+import { getGetV1GetGraphVersionMockHandler } from "@/app/api/__generated__/endpoints/graphs/graphs.msw";+import {+ getDeleteV2DeleteLibraryAgentMockHandler,+ getDeleteV2DeleteLibraryAgentMockHandler422,+ getGetV2GetLibraryAgentResponseMock,+} from "@/app/api/__generated__/endpoints/library/library.msw";+import { server } from "@/mocks/mock-server";+import { render, screen, waitFor } from "@/tests/integrations/test-utils";+import userEvent from "@testing-library/user-event";+import { beforeEach, expect, test, vi } from "vitest";+import { EmptyTasks } from "../components/NewAgentLibraryView/components/other/EmptyTasks";++const toast = vi.fn();+const push = vi.fn();+const exportAsJSONFile = vi.fn();++vi.mock("@/components/molecules/Toast/use-toast", () => ({+ useToast: () => ({ toast }),+}));++vi.mock("next/navigation", async (importOriginal) => ({+ ...(await importOriginal<typeof import("next/navigation")>()),+ useRouter: () => ({ push, replace: vi.fn(), refresh: vi.fn() }),+ usePathname: () => "/library/agents/library-agent",+ useSearchParams: () => new URLSearchParams(),+}));++vi.mock("@/lib/utils", async (importOriginal) => ({+ ...(await importOriginal<typeof import("@/lib/utils")>()),+ exportAsJSONFile: (...args: unknown[]) => exportAsJSONFile(...args),+}));++vi.mock("@/lib/auth/hooks/useAuth", () => ({+ useAuth: () => ({+ user: { id: "user-1", email: "[email protected]" },+ isLoggedIn: true,+ isUserLoading: false,+ }),+}));++const agent = getGetV2GetLibraryAgentResponseMock({+ id: "library-agent",+ graph_id: "graph-1",+ graph_version: 2,+ name: "Morning digest",+ marketplace_listing: null,+});++beforeEach(() => {+ toast.mockClear();+ push.mockClear();+ exportAsJSONFile.mockClear();+});++async function confirmDelete() {+ await userEvent.click(+ await screen.findByRole("button", { name: "Delete workflow" }),+ );+ await userEvent.click(+ await screen.findByRole("button", { name: "Delete Workflow" }),+ );+}++test("deleting the workflow says so and returns to the library", async () => {+ server.use(+ getDeleteV2DeleteLibraryAgentMockHandler(+ () => new Response(null, { status: 204 }),+ ),+ );+ render(<EmptyTasks agent={agent} />);++ await confirmDelete();++ await waitFor(() =>+ expect(toast).toHaveBeenCalledWith({ title: "Workflow deleted" }),+ );+ expect(push).toHaveBeenCalledWith("/library");+});++test("a failed delete says the workflow could not be deleted", async () => {+ server.use(getDeleteV2DeleteLibraryAgentMockHandler422());+ render(<EmptyTasks agent={agent} />);++ await confirmDelete();++ await waitFor(() =>+ expect(toast).toHaveBeenCalledWith(+ expect.objectContaining({+ title: "Failed to delete workflow",+ variant: "destructive",+ }),+ ),+ );+ expect(push).not.toHaveBeenCalled();+});++test("exporting the workflow saves its file and says so", async () => {+ server.use(getGetV1GetGraphVersionMockHandler());+ render(<EmptyTasks agent={agent} />);++ await userEvent.click(+ await screen.findByRole("button", { name: "Export workflow to file" }),+ );++ await waitFor(() =>+ expect(toast).toHaveBeenCalledWith({ title: "Workflow exported" }),+ );+ expect(exportAsJSONFile).toHaveBeenCalledWith(+ expect.anything(),+ "Morning digest_v2.json",+ );+});++test("a failed export says the workflow could not be exported", async () => {+ server.use(+ getGetV1GetGraphVersionMockHandler(() => {+ throw new Error("network down");+ }),+ );+ render(<EmptyTasks agent={agent} />);++ await userEvent.click(+ await screen.findByRole("button", { name: "Export workflow to file" }),+ );++ await waitFor(() =>+ expect(toast).toHaveBeenCalledWith(+ expect.objectContaining({+ title: "Failed to export workflow",+ variant: "destructive",+ }),+ ),+ );+ expect(exportAsJSONFile).not.toHaveBeenCalled();+});diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/__tests__/trigger-agents.test.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/__tests__/trigger-agents.test.tsxindex 604597b59a..50afd429aa 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/__tests__/trigger-agents.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/__tests__/trigger-agents.test.tsx@@ -223,7 +223,7 @@ describe("Library agent view — trigger agents", () => {).toBeDefined();expect(screen.getByRole("button", { name: /try again/i })).toBeDefined();const newTaskButton = screen.getByRole("button", {- name: "New agent task",+ name: "New workflow task",});await waitFor(() => {expect(newTaskButton.hasAttribute("disabled")).toBe(false);@@ -319,7 +319,7 @@ describe("Library agent view — trigger agents", () => {expect(screen.queryByRole("tab", { name: /triggers/i })).toBeNull();});- test("shows trigger agent in 'Trigger Agents' subsection when one exists", async () => {+ test("shows trigger agent in 'Trigger Workflows' subsection when one exists", async () => {const triggerAgent = getGetV2GetLibraryAgentResponseMock({id: TRIGGER_ID,graph_id: TRIGGER_GRAPH_ID,@@ -338,13 +338,13 @@ describe("Library agent view — trigger agents", () => {renderWithInitialParams(<NewAgentLibraryView />, "activeTab=triggers");await screen.findByText("Parent Agent");- await screen.findByText("Trigger Agents");+ await screen.findByText("Trigger Workflows");const rows = await screen.findAllByText("Email Watcher");expect(rows.length).toBeGreaterThan(0);expect(screen.queryByText("Webhook Triggers")).toBeNull();});- test("shows both 'Webhook Triggers' and 'Trigger Agents' subsections when both exist", async () => {+ test("shows both 'Webhook Triggers' and 'Trigger Workflows' subsections when both exist", async () => {const triggerAgent = getGetV2GetLibraryAgentResponseMock({id: TRIGGER_ID,graph_id: TRIGGER_GRAPH_ID,@@ -363,7 +363,7 @@ describe("Library agent view — trigger agents", () => {await screen.findByText("Parent Agent");await screen.findByText("Webhook Triggers");- await screen.findByText("Trigger Agents");+ await screen.findByText("Trigger Workflows");expect((await screen.findAllByText("RSS Watcher")).length).toBeGreaterThan(0,);@@ -1036,10 +1036,10 @@ describe("Library agent view — trigger agents", () => {// On the Templates tab the shared preset query's error must still// surface — the tab guard only suppresses it elsewhere.- await screen.findByText(/when retrieving agent/i);+ await screen.findByText(/when retrieving workflow/i);});- test("when generic-trigger-agents flag is off, hides 'Trigger Agents' subsection and skips the trigger-agents fetch", async () => {+ test("when generic-trigger-agents flag is off, hides 'Trigger Workflows' subsection and skips the trigger-agents fetch", async () => {mockUseGetFlag.mockReturnValue(false);let triggerAgentsCallCount = 0;@@ -1067,9 +1067,9 @@ describe("Library agent view — trigger agents", () => {await screen.findByText("Parent Agent");await screen.findByText("Webhook Triggers");- // The "Trigger Agents" subsection must not render and the row name+ // The "Trigger Workflows" subsection must not render and the row name// must be absent.- expect(screen.queryByText("Trigger Agents")).toBeNull();+ expect(screen.queryByText("Trigger Workflows")).toBeNull();expect(screen.queryByText("Hidden Watcher")).toBeNull();// And the GET .../triggers request never fires.expect(triggerAgentsCallCount).toBe(0);diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/NewAgentLibraryView.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/NewAgentLibraryView.tsxindex 01d6a5e780..d77dc695cb 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/NewAgentLibraryView.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/NewAgentLibraryView.tsx@@ -162,7 +162,7 @@ export function NewAgentLibraryView() {<ErrorCardresponseError={{message:- "Could not load this agent's triggers. Check your connection and try again.",+ "Could not load this workflow's triggers. Check your connection and try again.",}}context="triggers"onRetry={retryTriggerLists}@@ -187,7 +187,7 @@ export function NewAgentLibraryView() {<ErrorCardisSuccess={false}responseError={error || undefined}- context="agent"+ context="workflow"onRetry={() => window.location.reload()}/>);@@ -268,7 +268,7 @@ export function NewAgentLibraryView() {activeTab,})}>- <Icon icon={PlusSignIcon} size={16} /> New agent task+ <Icon icon={PlusSignIcon} size={16} /> New workflow task</Button>}agent={agent}@@ -328,7 +328,7 @@ export function NewAgentLibraryView() {banner={renderMarketplaceUpdateBanner()}><ErrorCard- context="agent tasks"+ context="workflow tasks"hint="Use Try Again in the sidebar to reload your tasks."/></SelectedViewLayout>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/AgentVersionChangelog.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/AgentVersionChangelog.tsxindex a760a03f7e..bbbbbcde2f 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/AgentVersionChangelog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/AgentVersionChangelog.tsx@@ -116,7 +116,7 @@ export function AgentVersionChangelog({className="text-neutral-600 dark:text-neutral-400">View changes and updates across different versions of this- agent.+ workflow.</Text>{agentVersions.map(renderVersionItem)}</div>@@ -126,7 +126,7 @@ export function AgentVersionChangelog({variant="body"className="text-neutral-600 dark:text-neutral-400">- No version history available for this agent.+ No version history available for this workflow.</Text></div>)}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/AgentSettingsModal/AgentSettingsModal.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/AgentSettingsModal/AgentSettingsModal.tsxindex b2bd28ccc5..e976afbafb 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/AgentSettingsModal/AgentSettingsModal.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/AgentSettingsModal/AgentSettingsModal.tsx@@ -49,7 +49,7 @@ export function AgentSettingsModal({<Dialogcontrolled={{ isOpen, set: setIsOpen }}styling={{ maxWidth: "600px", maxHeight: "90vh" }}- title="Agent Settings"+ title="Workflow Settings">{controlledOpen === undefined && (<Dialog.Trigger>@@ -57,10 +57,10 @@ export function AgentSettingsModal({variant="ghost"size="small"className="m-0 min-w-0 rounded-full p-0 px-1"- aria-label="Agent Settings"+ aria-label="Workflow Settings"><Icon icon={Settings01Icon} size={18} className="text-zinc-600" />- <Text variant="small">Agent Settings</Text>+ <Text variant="small">Workflow Settings</Text></Button></Dialog.Trigger>)}@@ -74,7 +74,7 @@ export function AgentSettingsModal({Human-in-the-loop approval</Text><Text variant="large" className="mt-1 text-zinc-900">- The agent will pause at human-in-the-loop blocks and wait+ The workflow will pause at human-in-the-loop blocks and waitfor your review before continuing</Text></div>@@ -95,8 +95,8 @@ export function AgentSettingsModal({Sensitive action approval</Text><Text variant="large" className="mt-1 text-zinc-900">- The agent will pause at sensitive action blocks and wait for- your review before continuing+ The workflow will pause at sensitive action blocks and wait+ for your review before continuing</Text></div><Switchdiff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/RunAgentModal.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/RunAgentModal.tsxindex 8865305ad8..524192848b 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/RunAgentModal.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/RunAgentModal.tsx@@ -46,7 +46,7 @@ export function RunAgentModal({onRunCreated,onTriggerSetup,onScheduleCreated,- title = "Run Agent",+ title = "Run Workflow",dialogVariant = "default",}: Props) {const {diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/AIAgentSafetyPopup/AIAgentSafetyPopup.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/AIAgentSafetyPopup/AIAgentSafetyPopup.tsxindex 442948a87f..7f51d2d124 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/AIAgentSafetyPopup/AIAgentSafetyPopup.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/AIAgentSafetyPopup/AIAgentSafetyPopup.tsx@@ -53,7 +53,7 @@ export function AIAgentSafetyPopup({ agentId, onAcknowledge, isOpen }: Props) {</Text><Text variant="body" className="mb-2 text-zinc-700">- AI-generated agents may take actions that affect your data or+ AI-generated workflows may take actions that affect your data orexternal systems.</Text>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/ModalHeader/ModalHeader.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/ModalHeader/ModalHeader.tsxindex b35ab87198..9a17314214 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/ModalHeader/ModalHeader.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/ModalHeader/ModalHeader.tsx@@ -43,7 +43,7 @@ export function ModalHeader({ agent }: ModalHeaderProps) {<div className="h-px w-full bg-blue-100" /><Text variant="body">- For best results, run this agent{" "}+ For best results, run this workflow{" "}{humanizeCronExpression(agent.recommended_schedule_cron,).toLowerCase()}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/ModalRunSection/ModalRunSection.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/ModalRunSection/ModalRunSection.tsxindex b3e0c17d74..fc4d87c176 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/ModalRunSection/ModalRunSection.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/ModalRunSection/ModalRunSection.tsx@@ -40,7 +40,7 @@ export function ModalRunSection() {defaultRunType === "manual-trigger" ? (<ModalSectiontitle="Task Trigger"- subtitle="Set up a trigger for the agent to run this task automatically"+ subtitle="Set up a trigger for the workflow to run this task automatically"><WebhookTriggerBanner /><div className="flex flex-col gap-4">@@ -81,7 +81,7 @@ export function ModalRunSection() {{inputFields.length > 0 ? (<ModalSectiontitle="Task Inputs"- subtitle="Enter the information you want to provide to the agent for this task"+ subtitle="Enter the information you want to provide to the workflow for this task">{inputFields.map(([key, inputSubSchema]) => (<RunAgentInputs@@ -99,7 +99,7 @@ export function ModalRunSection() {{credentialFields.length > 0 ? (<ModalSectiontitle="Task Credentials"- subtitle="These are the credentials the agent will use to perform this task"+ subtitle="These are the credentials the workflow will use to perform this task"><CredentialsGroupedViewcredentialFields={credentialFields}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/WebhookTriggerBanner/WebhookTriggerBanner.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/WebhookTriggerBanner/WebhookTriggerBanner.tsxindex 23834cbd9d..d856bbd3a6 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/WebhookTriggerBanner/WebhookTriggerBanner.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/components/WebhookTriggerBanner/WebhookTriggerBanner.tsx@@ -20,7 +20,7 @@ export function WebhookTriggerBanner() {<div className="mt-2 text-sm text-blue-700"><p>This will create a webhook endpoint that automatically runs your- agent when triggered by external events.+ workflow when triggered by external events.</p></div></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/errorHelpers.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/errorHelpers.tsxindex 3b35e5cc21..161b5c4211 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/errorHelpers.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/errorHelpers.tsx@@ -55,7 +55,7 @@ export function formatValidationError(<div className="mt-2 space-y-1 text-xs">{errorItems}</div>{agentInfo && (<div className="mt-3 text-xs">- Check the agent graph and try to run from there for further+ Open the workflow in the builder and try running it there for moredetails.{" "}<Linkhref={`/build?flowID=${agentInfo.graph_id}&flowVersion=${agentInfo.graph_version}`}@@ -91,7 +91,7 @@ export function showExecutionErrorToast(const errorMessage = formatValidationError(error, agentInfo);toast({- title: "Failed to execute agent",+ title: "Failed to execute workflow",description: errorMessage,variant: "destructive",duration: 10000, // 10 seconds - long enough to read and closediff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/useAgentRunModal.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/useAgentRunModal.tsxindex 994462638e..e9ae987524 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/useAgentRunModal.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/RunAgentModal/useAgentRunModal.tsx@@ -160,7 +160,7 @@ export function useAgentRunModal(onSuccess: (response, variables) => {if (response.status === 200) {toast({- title: "Agent execution started",+ title: "Workflow execution started",});queryClient.invalidateQueries({queryKey: getGetV1ListGraphExecutionsQueryKey(agent.graph_id),diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/ScheduleAgentModal/components/ModalScheduleSection/ModalScheduleSection.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/ScheduleAgentModal/components/ModalScheduleSection/ModalScheduleSection.tsxindex d451cd3a56..382335d4ce 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/ScheduleAgentModal/components/ModalScheduleSection/ModalScheduleSection.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/modals/ScheduleAgentModal/components/ModalScheduleSection/ModalScheduleSection.tsx@@ -59,7 +59,7 @@ export function ModalScheduleSection({{recommendedScheduleCron && (<div className="mb-4 rounded-md bg-blue-50 p-3"><Text variant="body" className="text-blue-800">- 💡 This agent has a recommended schedule that has been pre-filled+ 💡 This workflow has a recommended schedule that has been pre-filledbelow. You can modify it as needed.</Text></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/AgentSettingsButton.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/AgentSettingsButton.tsxindex 79860f2e1b..d4dee0a403 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/AgentSettingsButton.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/AgentSettingsButton.tsx@@ -9,10 +9,10 @@ export function AgentSettingsButton() {variant="ghost"size="small"className="m-0 min-w-0 rounded-full p-0 px-1"- aria-label="Agent Settings"+ aria-label="Workflow Settings"><Icon icon={Settings01Icon} size={18} className="text-zinc-600" />- <Text variant="small">Agent Settings</Text>+ <Text variant="small">Workflow Settings</Text></Button>);}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptySchedules.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptySchedules.tsxindex 4c781b2896..6308381937 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptySchedules.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptySchedules.tsx@@ -317,7 +317,7 @@ export function EmptySchedules() {</Text><Text variant="large" className="text-zinc-700">Create a new run, and you'll have the option to schedule your- agent to run automatically.+ workflow to run automatically.</Text></div></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptyTasks.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptyTasks.tsxindex 5ac3745bd4..c9639b45e5 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptyTasks.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptyTasks.tsx@@ -57,12 +57,12 @@ export function EmptyTasks({queryKey: getGetV2ListLibraryAgentsQueryKey(),});- toast({ title: "Agent deleted" });+ toast({ title: "Workflow deleted" });setShowDeleteDialog(false);router.push("/library");} catch (error: unknown) {toast({- title: "Failed to delete agent",+ title: "Failed to delete workflow",description:error instanceof Error? error.message@@ -84,13 +84,13 @@ export function EmptyTasks({if (res.status === 200) {const filename = `${agent.name}_v${agent.graph_version}.json`;exportAsJSONFile(res.data as any, filename);- toast({ title: "Agent exported" });+ toast({ title: "Workflow exported" });} else {- toast({ title: "Failed to export agent", variant: "destructive" });+ toast({ title: "Failed to export workflow", variant: "destructive" });}} catch (e: any) {toast({- title: "Failed to export agent",+ title: "Failed to export workflow",description: e?.message,variant: "destructive",});@@ -113,8 +113,8 @@ export function EmptyTasks({Ready to get started?</Text><Text variant="large" className="text-center">- Run your agent and this space will fill with your agent's- activity+ Run your workflow and this space will fill with your+ workflow's activity</Text></div></div>@@ -139,7 +139,7 @@ export function EmptyTasks({<div className="mt-4 flex flex-col gap-10 rounded-large border border-zinc-200 p-6 lg:mt-0 lg:w-[29.5rem]"><Text variant="label" className="text-zinc-500">- About this agent+ About this workflow</Text><div className="flex flex-col gap-2"><Text variant="h4">{agent.name}</Text>@@ -155,13 +155,13 @@ export function EmptyTasks({className="-mt-4 text-textGrey">{agent.description ||- `This agent is not yet published. Once it is published, You can publish your agent by clicking the "Publish" button in the agent editor.`}+ `This workflow is not yet published. Once it is published, You can publish your workflow by clicking the "Publish" button in the workflow editor.`}</ShowMoreText><div className="flex flex-col gap-4"><div className="flex items-center gap-20"><div className="flex flex-col gap-0"><Text variant="body-medium" className="text-black">- Agent created on+ Workflow created on</Text><Text variant="body" className="text-textGrey">{createdAt}@@ -170,7 +170,7 @@ export function EmptyTasks({{isUpdated ? (<div className="flex flex-col gap-0"><Text variant="body-medium" className="text-black">- Agent updated on+ Workflow updated on</Text><Text variant="body" className="text-textGrey">{updatedAt}@@ -184,18 +184,18 @@ export function EmptyTasks({href={`/build?flowID=${agent.graph_id}&flowVersion=${agent.graph_version}`}target="_blank">- Edit agent+ Edit workflow</Link></Button><Button variant="secondary" size="small" onClick={handleExport}>- Export agent to file+ Export workflow to file</Button><Buttonvariant="secondary"size="small"onClick={() => setShowDeleteDialog(true)}>- Delete agent+ Delete workflow</Button></div></div>@@ -207,13 +207,13 @@ export function EmptyTasks({set: setShowDeleteDialog,}}styling={{ maxWidth: "32rem" }}- title="Delete agent"+ title="Delete workflow"><Dialog.Content><div><Text variant="large">- Are you sure you want to delete this agent? This action cannot be- undone.+ Are you sure you want to delete this workflow? This action cannot+ be undone.</Text><Dialog.Footer><Button@@ -228,7 +228,7 @@ export function EmptyTasks({onClick={handleDeleteAgent}loading={isDeletingAgent}>- Delete Agent+ Delete Workflow</Button></Dialog.Footer></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptyTriggers.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptyTriggers.tsxindex 06d09ff9a0..859db1f362 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptyTriggers.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/EmptyTriggers.tsx@@ -316,8 +316,8 @@ export function EmptyTriggers() {No triggers yet</Text><Text variant="large" className="text-zinc-700">- Set up automatic triggers for your agent to run tasks automatically —- they'll show up here.+ Set up automatic triggers for your workflow to run tasks automatically+ — they'll show up here.</Text></div></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/MarketplaceBanners.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/MarketplaceBanners.tsxindex 00edcc721f..e12f5eab3a 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/MarketplaceBanners.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/other/MarketplaceBanners.tsx@@ -35,8 +35,8 @@ export function MarketplaceBanners({Update available</Text><Text variant="body" className="text-gray-700 dark:text-gray-300">- You should update your agent in order to get the latest / best- results+ You should update your workflow in order to get the latest /+ best results</Text></div>{onUpdate && (@@ -47,7 +47,7 @@ export function MarketplaceBanners({disabled={isUpdating}className="bg-neutral-800 text-white hover:bg-neutral-900 dark:bg-neutral-700 dark:hover:bg-neutral-800">- {isUpdating ? "Updating..." : "Update agent"}+ {isUpdating ? "Updating..." : "Update workflow"}</Button></div>)}@@ -71,7 +71,7 @@ export function MarketplaceBanners({Unpublished changes</Text><Text variant="body" className="text-gray-700 dark:text-gray-300">- You've made changes to this agent that aren't+ You've made changes to this workflow that aren'tpublished yet. Would you like to publish the latest version?</Text></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/AgentActionsDropdown.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/AgentActionsDropdown.tsxindex e08dd22c68..a8237a01ce 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/AgentActionsDropdown.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/AgentActionsDropdown.tsx@@ -79,12 +79,12 @@ export function AgentActionsDropdown({queryKey: getGetV2ListLibraryAgentsQueryKey(),});- toast({ title: "Agent deleted" });+ toast({ title: "Workflow deleted" });setShowDeleteDialog(false);router.push("/library");} catch (error: unknown) {toast({- title: "Failed to delete agent",+ title: "Failed to delete workflow",description:error instanceof Error? error.message@@ -106,13 +106,13 @@ export function AgentActionsDropdown({if (res.status === 200) {const filename = `${agent.name}_v${agent.graph_version}.json`;exportAsJSONFile(res.data as any, filename);- toast({ title: "Agent exported" });+ toast({ title: "Workflow exported" });} else {- toast({ title: "Failed to export agent", variant: "destructive" });+ toast({ title: "Failed to export workflow", variant: "destructive" });}} catch (e: any) {toast({- title: "Failed to export agent",+ title: "Failed to export workflow",description: e?.message,variant: "destructive",});@@ -204,20 +204,20 @@ export function AgentActionsDropdown({target="_blank"className="flex items-center gap-2">- Edit agent+ Edit workflow</Link></DropdownMenuItem><DropdownMenuItemonClick={handleExport}className="flex items-center gap-2">- Export agent to file+ Export workflow to file</DropdownMenuItem><DropdownMenuItemonClick={() => setShowDeleteDialog(true)}className="flex items-center gap-2">- Delete agent+ Delete workflow</DropdownMenuItem></DropdownMenuContent></DropdownMenu>@@ -262,13 +262,13 @@ export function AgentActionsDropdown({set: setShowDeleteDialog,}}styling={{ maxWidth: "32rem" }}- title="Delete agent"+ title="Delete workflow"><Dialog.Content><div><Text variant="large">- Are you sure you want to delete this agent? This action cannot be- undone.+ Are you sure you want to delete this workflow? This action cannot+ be undone.</Text><Dialog.Footer><Button@@ -283,7 +283,7 @@ export function AgentActionsDropdown({onClick={handleDeleteAgent}loading={isDeletingAgent}>- Delete Agent+ Delete Workflow</Button></Dialog.Footer></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/SelectedRunView.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/SelectedRunView.tsxindex ac2d388504..0759e5efaf 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/SelectedRunView.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/SelectedRunView.tsx@@ -162,7 +162,7 @@ export function SelectedRunView({<Text variant="lead-semibold">Summary</Text><InformationTooltipiconSize={20}- description="This AI-generated summary describes how the agent handled your task. It's an experimental feature and may occasionally be inaccurate."+ description="This AI-generated summary describes how the workflow handled your task. It's an experimental feature and may occasionally be inaccurate."/></div>}@@ -201,7 +201,7 @@ export function SelectedRunView({<Text variant="lead-semibold">Your input</Text><InformationTooltipiconSize={20}- description="This is the input that was provided to the agent for running this task."+ description="This is the input that was provided to the workflow for running this task."/></div>}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/RunSummary.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/RunSummary.tsxindex c887ae969d..01579ce94f 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/RunSummary.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/RunSummary.tsx@@ -62,12 +62,12 @@ export function RunSummary({ run }: Props) {AI-generated estimate of how well this execution achieved itsintended purpose. This score indicates{correctnessScore >= 0.8- ? " the agent was highly successful."+ ? " the workflow was highly successful.": correctnessScore >= 0.6- ? " the agent was mostly successful with minor issues."+ ? " the workflow was mostly successful with minor issues.": correctnessScore >= 0.4- ? " the agent was partially successful with some gaps."- : " the agent had limited success with significant issues."}+ ? " the workflow was partially successful with some gaps."+ : " the workflow had limited success with significant issues."}</p></TooltipContent></Tooltip>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/SafeModeToggle.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/SafeModeToggle.tsxindex b5f6449e7d..430bb6638a 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/SafeModeToggle.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/SafeModeToggle.tsx@@ -88,7 +88,7 @@ export function SafeModeToggle({ graph, className }: Props) {<SafeModeIconButtonisEnabled={currentHITLSafeMode}label="Human-in-the-loop"- tooltipEnabled="The agent will pause at human-in-the-loop blocks and wait for your approval"+ tooltipEnabled="The workflow will pause at human-in-the-loop blocks and wait for your approval"tooltipDisabled="Human-in-the-loop blocks will proceed automatically"onToggle={handleHITLToggle}isPending={isPending}@@ -98,7 +98,7 @@ export function SafeModeToggle({ graph, className }: Props) {<SafeModeIconButtonisEnabled={currentSensitiveActionSafeMode}label="Sensitive actions"- tooltipEnabled="The agent will pause at sensitive action blocks and wait for your approval"+ tooltipEnabled="The workflow will pause at sensitive action blocks and wait for your approval"tooltipDisabled="Sensitive action blocks will proceed automatically"onToggle={handleSensitiveActionToggle}isPending={isPending}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/WebhookTriggerSection.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/WebhookTriggerSection.tsxindex b43f2e9cf0..c21979c9e0 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/WebhookTriggerSection.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedRunView/components/WebhookTriggerSection.tsx@@ -83,7 +83,7 @@ export function WebhookTriggerSection({ preset, triggerSetupInfo }: Props) {</div>) : (<Text variant="body" className="text-muted-foreground">- This agent trigger is{" "}+ This workflow trigger is{" "}{preset.is_active? "ready. When a trigger is received, it will run with the provided settings.": "disabled. It will not respond to triggers until you enable it."}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedSettingsView/SelectedSettingsView.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedSettingsView/SelectedSettingsView.tsxindex c9481a128a..d755b1239e 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedSettingsView/SelectedSettingsView.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedSettingsView/SelectedSettingsView.tsx@@ -39,7 +39,7 @@ export function SelectedSettingsView({ agent, onClearSelectedRun }: Props) {><Icon icon={ArrowLeft02Icon} /></Button>- <Text variant="h2">Agent Settings</Text>+ <Text variant="h2">Workflow Settings</Text></div><div className={`${AGENT_LIBRARY_SECTION_PADDING_X} space-y-6`}>@@ -53,7 +53,7 @@ export function SelectedSettingsView({ agent, onClearSelectedRun }: Props) {Human-in-the-loop approval</Text><Text variant="large" className="mt-1 text-zinc-900">- The agent will pause at human-in-the-loop blocks and+ The workflow will pause at human-in-the-loop blocks andwait for your review before continuing</Text></div>@@ -74,8 +74,8 @@ export function SelectedSettingsView({ agent, onClearSelectedRun }: Props) {Sensitive action approval</Text><Text variant="large" className="mt-1 text-zinc-900">- The agent will pause at sensitive action blocks and wait- for your review before continuing+ The workflow will pause at sensitive action blocks and+ wait for your review before continuing</Text></div><Switch@@ -91,7 +91,7 @@ export function SelectedSettingsView({ agent, onClearSelectedRun }: Props) {) : (<div className="rounded-xl border border-zinc-100 bg-white p-6"><Text variant="body" className="text-muted-foreground">- This agent doesn't have any configurable settings.+ This workflow doesn't have any configurable settings.</Text></div>)}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedTemplateView/components/WebhookTriggerCard.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedTemplateView/components/WebhookTriggerCard.tsxindex b63e0b6b72..beacb077ee 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedTemplateView/components/WebhookTriggerCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedTemplateView/components/WebhookTriggerCard.tsx@@ -83,7 +83,7 @@ export function WebhookTriggerCard({ template, triggerSetupInfo }: Props) {</div>) : (<Text variant="body" className="text-muted-foreground">- This agent trigger is{" "}+ This workflow trigger is{" "}{template.is_active? "ready. When a trigger is received, it will run with the provided settings.": "disabled. It will not respond to triggers until you enable it."}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedTriggerAgentView/SelectedTriggerAgentView.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedTriggerAgentView/SelectedTriggerAgentView.tsxindex 06b16b3752..1ff5b07480 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedTriggerAgentView/SelectedTriggerAgentView.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/SelectedTriggerAgentView/SelectedTriggerAgentView.tsx@@ -59,7 +59,7 @@ export function SelectedTriggerAgentView({: queryError != null? String(queryError): "Failed to load trigger data";- return <ErrorCard responseError={{ message }} context="trigger agent" />;+ return <ErrorCard responseError={{ message }} context="trigger workflow" />;}if (isLoading || !data) {@@ -71,7 +71,7 @@ export function SelectedTriggerAgentView({<SelectedViewLayout agent={agent} banner={banner}><RunDetailCard title="Trigger not found"><Text variant="body" className="!text-zinc-500">- This trigger agent no longer exists.+ This trigger workflow no longer exists.</Text></RunDetailCard></SelectedViewLayout>@@ -93,9 +93,9 @@ export function SelectedTriggerAgentView({</Text>)}<Text variant="small" className="!text-zinc-500">- Trigger agents run on a schedule and execute this agent when- their conditions are met. Edit them in the builder to change- what they do.+ Trigger workflows run on a schedule and execute this workflow+ when their conditions are met. Edit them in the builder to+ change what they do.</Text></div></RunDetailCard>@@ -109,7 +109,7 @@ export function SelectedTriggerAgentView({className="rounded-md bg-amber-50 px-3 py-2 !text-amber-800">This schedule is running version {schedule.graph_version}{" "}- of the trigger agent, but the latest version is{" "}+ of the trigger workflow, but the latest version is{" "}{triggerAgent.graph_version}. Ask your expert to recreatethe schedule to pick up your latest edits.</Text>@@ -156,7 +156,7 @@ export function SelectedTriggerAgentView({{!schedule && !isSchedulesLoading && (<RunDetailCard title="Schedule"><Text variant="body" className="!text-zinc-500">- No schedule configured for this trigger agent.+ No schedule configured for this trigger workflow.</Text></RunDetailCard>)}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/ShareRunButton/ShareRunButton.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/ShareRunButton/ShareRunButton.tsxindex f704aa8dff..917c913aed 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/ShareRunButton/ShareRunButton.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/ShareRunButton/ShareRunButton.tsx@@ -44,7 +44,7 @@ export function ShareRunButton({return (<Dialog- title="Share Agent Run"+ title="Share Workflow Run"styling={{ maxWidth: "36rem", minWidth: "auto" }}><Dialog.Trigger>@@ -62,8 +62,8 @@ export function ShareRunButton({<div className="flex flex-col gap-4"><Text variant="large">{isShared- ? "Your agent run is currently shared. Anyone with the link can view the output."- : "Generate a public link to share this agent run output with others."}+ ? "Your workflow run is currently shared. Anyone with the link can view the output."+ : "Generate a public link to share this workflow run output with others."}</Text>{!isShared ? (@@ -72,10 +72,10 @@ export function ShareRunButton({<Alert><Icon icon={Alert01Icon} className="h-4 w-4" /><Text variant="body">- When you enable sharing, the output of this agent run will- be publicly accessible to anyone with the link. The page- will include a noindex directive to discourage search engine- crawling, but this cannot be guaranteed.+ When you enable sharing, the output of this workflow run+ will be publicly accessible to anyone with the link. The+ page will include a noindex directive to discourage search+ engine crawling, but this cannot be guaranteed.</Text></Alert></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/ShareRunButton/useShareRunButton.ts b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/ShareRunButton/useShareRunButton.tsindex d719299033..7118fc8307 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/ShareRunButton/useShareRunButton.ts+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/selected-views/ShareRunButton/useShareRunButton.ts@@ -53,7 +53,7 @@ export function useShareRunButton({toast({title: "Sharing enabled",description:- "Your agent run is now publicly accessible via the share link.",+ "Your workflow run is now publicly accessible via the share link.",});} else {toast({diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/sidebar/SidebarRunsList/SidebarRunsList.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/sidebar/SidebarRunsList/SidebarRunsList.tsxindex ce1dcef15d..a72eecf010 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/sidebar/SidebarRunsList/SidebarRunsList.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/components/sidebar/SidebarRunsList/SidebarRunsList.tsx@@ -200,7 +200,7 @@ export function SidebarRunsList({) : (<div className="flex min-h-[50vh] flex-col items-center justify-center"><Text variant="large" className="text-zinc-700">- No scheduled agents+ No scheduled workflows</Text></div>)}@@ -242,7 +242,7 @@ export function SidebarRunsList({{triggerAgents.length > 0 && (<div className="flex flex-col gap-2"><Text variant="body-medium" className="px-1 !text-zinc-500">- Trigger Agents+ Trigger Workflows</Text><div className="flex flex-nowrap items-center justify-start gap-4 lg:flex-col lg:gap-3">{triggerAgents.map((triggerAgent) => (@@ -275,7 +275,7 @@ export function SidebarRunsList({No triggers set up</Text><Text variant="body" className="!text-zinc-500">- Ask an expert to set up a trigger for this agent (e.g.+ Ask an expert to set up a trigger for this workflow (e.g.“run this when a new email arrives”).</Text></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/hooks/useMarketplaceUpdate.ts b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/hooks/useMarketplaceUpdate.tsindex aaab703f89..0d9f6197f4 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/hooks/useMarketplaceUpdate.ts+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/hooks/useMarketplaceUpdate.ts@@ -57,15 +57,15 @@ export function useMarketplaceUpdate({ agent }: UseMarketplaceUpdateProps) {onError: (err) => {toast({title: "Update Failed",- description: "Failed to update agent to latest version",+ description: "Failed to update workflow to latest version",variant: "destructive",});console.error("Failed to update agent:", err);},onSuccess: () => {toast({- title: "Agent Updated",- description: "Agent updated to latest version successfully",+ title: "Workflow Updated",+ description: "Workflow updated to latest version successfully",});// Invalidate to get the updated agent data from the serverif (agent?.id) {diff --git a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/hooks/useRemoveTriggerAgent.tsx b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/hooks/useRemoveTriggerAgent.tsxindex e5a541298d..04264d5326 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/hooks/useRemoveTriggerAgent.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/agents/[id]/components/NewAgentLibraryView/hooks/useRemoveTriggerAgent.tsx@@ -75,7 +75,7 @@ export function useRemoveTriggerAgent({><Dialog.Content><Text variant="large">- Are you sure you want to remove this trigger? The trigger agent and+ Are you sure you want to remove this trigger? The trigger workflow andits schedule will be deleted. This action cannot be undone.</Text><Dialog.Footer>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/AgentBriefingPanel.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/AgentBriefingPanel.tsxindex edc3e35ce7..cdfc937ae0 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/AgentBriefingPanel.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/AgentBriefingPanel.tsx@@ -21,7 +21,7 @@ export function AgentBriefingPanel({ summary, agents }: Props) {<divclassName={`min-h-[14.75rem] rounded-large bg-gradient-to-br from-indigo-50/30 via-white/90 to-purple-50/25 px-5 pb-5 pt-[1.125rem] shadow-sm backdrop-blur-md`}>- <Text variant="h5">Agent Briefing</Text>+ <Text variant="h5">Workflow Briefing</Text><div className="mt-4 space-y-5"><StatsGridsummary={summary}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/BriefingTabContent.test.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/BriefingTabContent.test.tsxindex 93271f486b..6f9b638d12 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/BriefingTabContent.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/BriefingTabContent.test.tsx@@ -114,7 +114,7 @@ describe("BriefingTabContent — dispatching", () => {<BriefingTabContent activeTab={tab} agents={[]} />,);expect(- screen.getByText(/No agents|No recently completed/i),+ screen.getByText(/No workflows|No recently completed/i),).toBeDefined();unmount();}@@ -202,7 +202,7 @@ describe("BriefingTabContent — CostsBreakdown", () => {// Headline statsexpect(screen.getByText("$42.50")).toBeDefined();expect(screen.getByText("Most expensive tasks")).toBeDefined();- expect(screen.getByText("Spend by agent")).toBeDefined();+ expect(screen.getByText("Spend by workflow")).toBeDefined();// Agent names resolved via graph_id lookupexpect(screen.getAllByText("Alpha").length).toBeGreaterThanOrEqual(1);@@ -247,7 +247,7 @@ describe("BriefingTabContent — CostsBreakdown", () => {fireEvent.click(screen.getByRole("button", { name: /see costs breakdown/i }),);- expect(screen.getByText(/Agent deadbeef/)).toBeDefined();+ expect(screen.getByText(/Workflow deadbeef/)).toBeDefined();});it("computes Avg / run from billable_run_count, not run_count", () => {diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/helpers.test.ts b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/helpers.test.tsindex a5ddc6fe14..cb579947c9 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/helpers.test.ts+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/helpers.test.ts@@ -65,17 +65,23 @@ describe("getAgentStatusLabel", () => {describe("getEmptyMessage", () => {it("uses task terminology for completed and scheduled tabs", () => {expect(getEmptyMessage("completed")).toBe("No recently completed tasks");- expect(getEmptyMessage("scheduled")).toBe("No agents with scheduled tasks");+ expect(getEmptyMessage("scheduled")).toBe(+ "No workflows with scheduled tasks",+ );});it("returns the matching message for each known tab", () => {- expect(getEmptyMessage("running")).toBe("No agents running right now");- expect(getEmptyMessage("attention")).toBe("No agents that need attention");- expect(getEmptyMessage("listening")).toBe("No agents listening for events");- expect(getEmptyMessage("idle")).toBe("No idle agents");+ expect(getEmptyMessage("running")).toBe("No workflows running right now");+ expect(getEmptyMessage("attention")).toBe(+ "No workflows that need attention",+ );+ expect(getEmptyMessage("listening")).toBe(+ "No workflows listening for events",+ );+ expect(getEmptyMessage("idle")).toBe("No idle workflows");});it("falls back to a generic message for an unmapped tab", () => {- expect(getEmptyMessage("healthy")).toBe("No agents in this category");+ expect(getEmptyMessage("healthy")).toBe("No workflows in this category");});});diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/sections.test.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/sections.test.tsxindex 6f00f1de76..965c12af74 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/sections.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/__tests__/sections.test.tsx@@ -138,6 +138,6 @@ describe("AgentListSection", () => {it("shows the empty message when no agent matches the tab", () => {server.use(getGetV1ListAllExecutionsMockHandler200([]));render(<AgentListSection activeTab="idle" agents={[]} />);- expect(screen.getByText("No idle agents")).toBeDefined();+ expect(screen.getByText("No idle workflows")).toBeDefined();});});diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/helpers.tsindex d280d9c87a..6c328f2177 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/BriefingTabContent/helpers.ts@@ -24,14 +24,14 @@ export function getAgentStatusLabel(tab: string, agent: LibraryAgent): string {}const EMPTY_MESSAGES: Record<string, string> = {- running: "No agents running right now",- attention: "No agents that need attention",+ running: "No workflows running right now",+ attention: "No workflows that need attention",completed: "No recently completed tasks",- listening: "No agents listening for events",- scheduled: "No agents with scheduled tasks",- idle: "No idle agents",+ listening: "No workflows listening for events",+ scheduled: "No workflows with scheduled tasks",+ idle: "No idle workflows",};export function getEmptyMessage(tab: AgentStatusFilter): string {- return EMPTY_MESSAGES[tab] ?? "No agents in this category";+ return EMPTY_MESSAGES[tab] ?? "No workflows in this category";}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/CostsBreakdown/components/SpendByAgentList.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/CostsBreakdown/components/SpendByAgentList.tsxindex b22d23cea4..dac465f3ff 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/CostsBreakdown/components/SpendByAgentList.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/CostsBreakdown/components/SpendByAgentList.tsx@@ -29,7 +29,7 @@ export function SpendByAgentList({ rollups, agentLookup, totalCents }: Props) {<section className="flex flex-col gap-2 lg:mt-[1rem]"><div className="flex items-baseline justify-between gap-2 lg:mb-[.5rem]"><Text variant="body-medium" className="text-neutral-800">- Spend by agent+ Spend by workflow</Text><Text variant="small" className="text-neutral-400">% of monthly spend@@ -38,7 +38,8 @@ export function SpendByAgentList({ rollups, agentLookup, totalCents }: Props) {<ul className="flex flex-col gap-4">{visible.map((rollup) => {const agent = agentLookup.get(rollup.graph_id);- const label = agent?.name ?? `Agent ${rollup.graph_id.slice(0, 8)}`;+ const label =+ agent?.name ?? `Workflow ${rollup.graph_id.slice(0, 8)}`;const share = totalCents > 0 ? rollup.cost_cents / totalCents : 0;const sharePct = Math.round(share * 100);const widthPct = Math.max(2, sharePct);diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/CostsBreakdown/components/TopRunsList.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/CostsBreakdown/components/TopRunsList.tsxindex 64197b8da6..8b0c3f4578 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/CostsBreakdown/components/TopRunsList.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentBriefingPanel/components/CostsBreakdown/components/TopRunsList.tsx@@ -30,7 +30,7 @@ export function TopRunsList({ runs, agentLookup }: Props) {<ul className="flex flex-col divide-y divide-zinc-100 rounded-medium border border-zinc-100 bg-white">{visible.map((run) => {const agent = agentLookup.get(run.graph_id);- const label = agent?.name ?? `Agent ${run.graph_id.slice(0, 8)}`;+ const label = agent?.name ?? `Workflow ${run.graph_id.slice(0, 8)}`;const href = agent? `/library/agents/${agent.libraryAgentId}?activeItem=${run.execution_id}`: null;diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentFilterMenu/AgentFilterMenu.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentFilterMenu/AgentFilterMenu.tsxindex ba52797d4f..35dec9d7e4 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentFilterMenu/AgentFilterMenu.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentFilterMenu/AgentFilterMenu.tsx@@ -14,7 +14,7 @@ interface Props {function buildOptions(summary: FleetSummary): SelectOption[] {return [- { value: "all", label: "All Agents" },+ { value: "all", label: "All Workflows" },{ value: "running", label: `Running (${summary.running})` },{ value: "attention", label: `Needs Attention (${summary.error})` },{ value: "listening", label: `Listening (${summary.listening})` },@@ -39,7 +39,7 @@ export function AgentFilterMenu({ value, onChange, summary }: Props) {<Icon icon={FunnelIcon} className="ml-1 h-4 w-4 sm:hidden" /><Selectid="agent-status-filter"- label="Filter agents"+ label="Filter workflows"hideLabelvalue={value}onValueChange={handleChange}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentsTabIntro/AgentsTabIntro.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentsTabIntro/AgentsTabIntro.tsxindex c1718d2a23..5f147849f3 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/AgentsTabIntro/AgentsTabIntro.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/AgentsTabIntro/AgentsTabIntro.tsx@@ -15,7 +15,10 @@ export function AgentsTabIntro() {icon={GridViewIcon}title="Your mission control."body="What's running, what's scheduled, what needs you, and what it costs — all in one place."- cta={{ label: "See my agents", onClick: () => takeAction("see_agents") }}+ cta={{+ label: "See my workflows",+ onClick: () => takeAction("see_agents"),+ }}onDismiss={dismiss}/>);diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryActionSubHeader/LibraryActionSubHeader.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryActionSubHeader/LibraryActionSubHeader.tsxindex 86edb3debe..74b86ca652 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryActionSubHeader/LibraryActionSubHeader.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryActionSubHeader/LibraryActionSubHeader.tsx@@ -13,7 +13,7 @@ export function LibraryActionSubHeader({ agentCount, setLibrarySort }: Props) {return (<div className="flex items-baseline justify-between"><div className="flex items-baseline gap-4">- <Text variant="h5">My agents</Text>+ <Text variant="h5">My workflows</Text><Textvariant="body"data-testid="agents-count"diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentCard/LibraryAgentCard.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentCard/LibraryAgentCard.tsxindex 7fd74c74f6..85383f7a52 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentCard/LibraryAgentCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentCard/LibraryAgentCard.tsx@@ -150,7 +150,7 @@ export function LibraryAgentCard({type="button"onClick={() => {const prompt = encodeURIComponent(- `Tell me about my agent "${name}" (library agent ID: ${id}). Use find_library_agent with this exact agent_id to look it up, then summarize its current status, recent runs, and how I can get the most out of it.`,+ `Tell me about my workflow "${name}" (library workflow ID: ${id}). Use find_library_agent with this exact agent_id to look it up, then summarize its current status, recent runs, and how I can get the most out of it.`,);router.push(`/home?autosubmit=true#prompt=${prompt}`);}}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentCard/components/AgentCardMenu.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentCard/components/AgentCardMenu.tsxindex 831e811f0f..c0f05cbee9 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentCard/components/AgentCardMenu.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentCard/components/AgentCardMenu.tsx@@ -72,13 +72,13 @@ export function AgentCardMenu({ agent }: AgentCardMenuProps) {});toast({- title: "Agent duplicated",+ title: "Workflow duplicated",description: `${result.data.name} has been created.`,});}} catch (error: unknown) {toast({- title: "Failed to duplicate agent",+ title: "Failed to duplicate workflow",description:error instanceof Error? error.message@@ -105,7 +105,7 @@ export function AgentCardMenu({ agent }: AgentCardMenuProps) {toast({title: "Removed from folder",- description: "Agent has been moved back to your library.",+ description: "Workflow has been moved back to your library.",});} catch (error: unknown) {toast({@@ -133,12 +133,12 @@ export function AgentCardMenu({ agent }: AgentCardMenuProps) {queryKey: getGetV2ListLibraryAgentsQueryKey(),});- toast({ title: "Agent deleted" });+ toast({ title: "Workflow deleted" });setShowDeleteDialog(false);router.push("/library");} catch (error: unknown) {toast({- title: "Failed to delete agent",+ title: "Failed to delete workflow",description:error instanceof Error? error.message@@ -176,7 +176,7 @@ export function AgentCardMenu({ agent }: AgentCardMenuProps) {data-testid="library-agent-card-open-in-builder-link"onClick={(e) => e.stopPropagation()}>- Edit agent+ Edit workflow</Link></DropdownMenuItem><DropdownMenuSeparator />@@ -190,7 +190,7 @@ export function AgentCardMenu({ agent }: AgentCardMenuProps) {disabled={isDuplicatingAgent}className="flex items-center gap-2">- Duplicate agent+ Duplicate workflow</DropdownMenuItem><DropdownMenuSeparator /><DropdownMenuItem@@ -225,7 +225,7 @@ export function AgentCardMenu({ agent }: AgentCardMenuProps) {}}className="flex items-center gap-2 text-red-600 focus:bg-red-50 focus:text-red-600">- Delete agent+ Delete workflow</DropdownMenuItem></DropdownMenuContent></DropdownMenu>@@ -236,13 +236,13 @@ export function AgentCardMenu({ agent }: AgentCardMenuProps) {set: setShowDeleteDialog,}}styling={{ maxWidth: "32rem" }}- title="Delete agent"+ title="Delete workflow"><Dialog.Content><div><Text variant="large">- Are you sure you want to delete this agent? This action cannot be- undone.+ Are you sure you want to delete this workflow? This action cannot+ be undone.</Text><Dialog.Footer><Button@@ -257,7 +257,7 @@ export function AgentCardMenu({ agent }: AgentCardMenuProps) {onClick={handleDeleteAgent}loading={isDeletingAgent}>- Delete Agent+ Delete Workflow</Button></Dialog.Footer></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentList/LibraryAgentList.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentList/LibraryAgentList.tsxindex 2f6f61ba2c..ec7de4bb47 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentList/LibraryAgentList.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentList/LibraryAgentList.tsx@@ -209,7 +209,7 @@ export function LibraryAgentList({) : isFavoritesTab && agents.length === 0 ? (<div className="flex h-[200px] flex-col items-center justify-center gap-2 text-zinc-500"><Icon icon={FavouriteIcon} className="h-10 w-10" />- <Text variant="body">No favorite agents yet</Text>+ <Text variant="body">No favorite workflows yet</Text></div>) : isPristineEmpty ? (<LibraryEmptyState />diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentList/useLibraryAgentList.ts b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentList/useLibraryAgentList.tsindex 448c8a16e5..3aeb05ee9a 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentList/useLibraryAgentList.ts+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryAgentList/useLibraryAgentList.ts@@ -177,7 +177,7 @@ export function useLibraryAgentList({}toast({title: "Error",- description: "Failed to move agent. Please try again.",+ description: "Failed to move workflow. Please try again.",variant: "destructive",});},diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryEmptyState/LibraryEmptyState.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryEmptyState/LibraryEmptyState.tsxindex 6a0453266f..76b28c9db8 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryEmptyState/LibraryEmptyState.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryEmptyState/LibraryEmptyState.tsx@@ -40,8 +40,8 @@ export function LibraryEmptyState() {</motion.div><motion.div {...fadeUp(0.36)}><Text variant="body" className="text-zinc-500">- Build your own agent from scratch, or grab one from the marketplace- to get started.+ Build your own workflow from scratch, or grab one from the+ marketplace to get started.</Text></motion.div></div>@@ -55,7 +55,7 @@ export function LibraryEmptyState() {size="large"leftIcon={<Icon icon={PlusSignIcon} className="h-4 w-4" />}>- Build an agent+ Build a workflow</Button></motion.div><motion.div {...fadeUp(0.5)}>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryFolder/LibraryFolder.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryFolder/LibraryFolder.tsxindex eeb39af64d..bfa1408567 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryFolder/LibraryFolder.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryFolder/LibraryFolder.tsx@@ -91,7 +91,7 @@ export function LibraryFolder({className="text-zinc-500"data-testid="library-folder-agent-count">- {agentCount} {agentCount === 1 ? "agent" : "agents"}+ {agentCount} {agentCount === 1 ? "workflow" : "workflows"}</Text>{worstStatus && worstStatus !== "idle" && (<StatusBadge status={worstStatus} />diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryFolderDeleteDialog/LibraryFolderDeleteDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryFolderDeleteDialog/LibraryFolderDeleteDialog.tsxindex 96bca8f120..f2bb066b63 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryFolderDeleteDialog/LibraryFolderDeleteDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryFolderDeleteDialog/LibraryFolderDeleteDialog.tsx@@ -70,8 +70,8 @@ export function LibraryFolderDeleteDialog({<Dialog.Content><div><Text variant="large">- Are you sure you want to delete “{folder.name}”? Agents- inside this folder will be moved back to your library.+ Are you sure you want to delete “{folder.name}”?+ Workflows inside this folder will be moved back to your library.</Text><Dialog.Footer><Buttondiff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/LibraryImportDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/LibraryImportDialog.tsxindex 0fe3cd7955..c9bb6ac712 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/LibraryImportDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/LibraryImportDialog.tsx@@ -51,7 +51,7 @@ export default function LibraryImportDialog() {<Dialog.Content><TabsLine defaultValue="agent"><TabsLineList>- <TabsLineTrigger value="agent">AutoGPT agent</TabsLineTrigger>+ <TabsLineTrigger value="agent">AutoGPT workflow</TabsLineTrigger><TabsLineTrigger value="platform">Another platform</TabsLineTrigger></TabsLineList>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/AgentUploadTab/AgentUploadTab.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/AgentUploadTab/AgentUploadTab.tsxindex c251b43d7e..97c1d1ff99 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/AgentUploadTab/AgentUploadTab.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/AgentUploadTab/AgentUploadTab.tsx@@ -21,7 +21,7 @@ export default function AgentUploadTab({ upload }: AgentUploadTabProps) {return (<TabsLineContent value="agent"><p className="mb-4 text-sm text-neutral-500">- Upload a previously exported AutoGPT agent file (.json).+ Upload a previously exported AutoGPT workflow file (.json).</p><Formform={upload.form}@@ -37,7 +37,7 @@ export default function AgentUploadTab({ upload }: AgentUploadTabProps) {<Input{...field}id={field.name}- label="Agent name"+ label="Workflow name"className="w-full rounded-[10px]"/></FormControl>@@ -54,7 +54,7 @@ export default function AgentUploadTab({ upload }: AgentUploadTabProps) {<Input{...field}id={field.name}- label="Agent description"+ label="Workflow description"type="textarea"className="w-full rounded-[10px]"/>@@ -74,7 +74,7 @@ export default function AgentUploadTab({ upload }: AgentUploadTabProps) {value={field.value}onChange={field.onChange}accept=".json,application/json"- placeholder="Agent file"+ placeholder="Workflow file"maxFileSize={10 * 1024 * 1024}showStorageNote={false}className="mb-8 mt-4"diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/ExternalWorkflowTab/ExternalWorkflowTab.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/ExternalWorkflowTab/ExternalWorkflowTab.tsxindex c105ec98ce..2562b0a9cd 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/ExternalWorkflowTab/ExternalWorkflowTab.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/ExternalWorkflowTab/ExternalWorkflowTab.tsx@@ -22,7 +22,7 @@ export default function ExternalWorkflowTab({<TabsLineContent value="platform"><p className="mb-4 text-sm text-neutral-500">Upload a workflow exported from n8n, Make.com, Zapier, or any other- platform. Otto will convert it into an AutoGPT agent for you.+ platform. Otto will convert it into an AutoGPT workflow for you.</p><FileInputmode="base64"diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/ExternalWorkflowTab/useExternalWorkflowTab.ts b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/ExternalWorkflowTab/useExternalWorkflowTab.tsindex d17bd4175e..c4aa09e0bc 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/ExternalWorkflowTab/useExternalWorkflowTab.ts+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryImportDialog/components/ExternalWorkflowTab/useExternalWorkflowTab.ts@@ -36,7 +36,7 @@ function storeAndRedirect() {sessionStorage.setItem("importWorkflowPrompt",- "Import this workflow and recreate it as an AutoGPT agent",+ "Import this workflow and recreate it as an AutoGPT workflow",);sessionStorage.setItem("importWorkflowFile", JSON.stringify(fileInfo));router.push("/copilot?source=import&autosubmit=true");diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibrarySearchBar/LibrarySearchBar.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibrarySearchBar/LibrarySearchBar.tsxindex 3aa9a5f2bd..10ef43f623 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibrarySearchBar/LibrarySearchBar.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibrarySearchBar/LibrarySearchBar.tsx@@ -25,14 +25,14 @@ export function LibrarySearchBar({ setSearchTerm }: Props) {/><Input- label="Search agents"+ label="Search workflows"id="library-search-bar"hideLabelonChange={handleSearchInput}className="min-w-[18rem] pl-12 lg:min-w-[30rem]"type="text"data-testid="library-textbox"- placeholder="Search agents"+ placeholder="Search workflows"/></div>);diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryUploadAgentDialog/LibraryUploadAgentDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryUploadAgentDialog/LibraryUploadAgentDialog.tsxindex 04447bbcf3..6aa536cd84 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryUploadAgentDialog/LibraryUploadAgentDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryUploadAgentDialog/LibraryUploadAgentDialog.tsx@@ -17,8 +17,8 @@ import { Upload03Icon } from "@hugeicons/core-free-icons";import { Icon } from "@/components/atoms/Icon/Icon";export const uploadAgentFormSchema = z.object({- agentFile: z.string().min(1, "Agent file is required"),- agentName: z.string().min(1, "Agent name is required"),+ agentFile: z.string().min(1, "Workflow file is required"),+ agentName: z.string().min(1, "Workflow name is required"),agentDescription: z.string(),});@@ -28,7 +28,7 @@ export default function LibraryUploadAgentDialog() {return (<Dialog- title="Upload Agent"+ title="Upload Workflow"styling={{ maxWidth: "30rem" }}controlled={{isOpen,@@ -46,7 +46,7 @@ export default function LibraryUploadAgentDialog() {size="small"><Icon icon={Upload03Icon} width={18} height={18} />- <span className="">Upload agent</span>+ <span className="">Upload workflow</span></Button></Dialog.Trigger><Dialog.Content>@@ -64,7 +64,7 @@ export default function LibraryUploadAgentDialog() {<Input{...field}id={field.name}- label="Agent name"+ label="Workflow name"className="w-full rounded-[10px]"/></FormControl>@@ -82,7 +82,7 @@ export default function LibraryUploadAgentDialog() {<Input{...field}id={field.name}- label="Agent description"+ label="Workflow description"type="textarea"className="w-full rounded-[10px]"/>@@ -103,7 +103,7 @@ export default function LibraryUploadAgentDialog() {value={field.value}onChange={field.onChange}accept=".json,application/json"- placeholder="Agent file"+ placeholder="Workflow file"maxFileSize={10 * 1024 * 1024}showStorageNote={false}className="mb-8 mt-4"diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryUploadAgentDialog/useLibraryUploadAgentDialog.ts b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryUploadAgentDialog/useLibraryUploadAgentDialog.tsindex a347fbe1b9..ca844a10f5 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryUploadAgentDialog/useLibraryUploadAgentDialog.ts+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/LibraryUploadAgentDialog/useLibraryUploadAgentDialog.ts@@ -24,7 +24,7 @@ export function useLibraryUploadAgentDialog(options?: {options?.onSuccess?.();toast({title: "Success",- description: "Agent uploaded successfully",+ description: "Workflow uploaded successfully",variant: "default",});const qID = "flowID";@@ -33,7 +33,7 @@ export function useLibraryUploadAgentDialog(options?: {onError: () => {toast({title: "Error",- description: "Error Uploading agent",+ description: "Error Uploading workflow",variant: "destructive",});},@@ -86,7 +86,7 @@ export function useLibraryUploadAgentDialog(options?: {)) {throw new Error(- "Invalid agent file. Please upload a valid agent.json file that has been previously exported from the AutoGPT platform. The file must contain the required fields: name, description, nodes, and links.",+ "Invalid workflow file. Please upload a valid agent.json file that has been previously exported from the AutoGPT platform. The file must contain the required fields: name, description, nodes, and links.",);}@@ -105,7 +105,7 @@ export function useLibraryUploadAgentDialog(options?: {console.error("Error loading agent file:", error);toast({- title: "Invalid Agent File",+ title: "Invalid Workflow File",description:"Please upload a valid agent.json file that has been previously exported from the AutoGPT platform. The file must contain the required fields: name, description, nodes, and links.",duration: 5000,@@ -119,7 +119,7 @@ export function useLibraryUploadAgentDialog(options?: {async function onSubmit(values: z.infer<typeof uploadAgentFormSchema>) {if (!agentObject) {- form.setError("root", { message: "No Agent object to save" });+ form.setError("root", { message: "No workflow object to save" });return;}diff --git a/autogpt_platform/frontend/src/app/(platform)/library/components/MoveToFolderDialog/MoveToFolderDialog.tsx b/autogpt_platform/frontend/src/app/(platform)/library/components/MoveToFolderDialog/MoveToFolderDialog.tsxindex 0374d86cd0..a101c0dac1 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/components/MoveToFolderDialog/MoveToFolderDialog.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/components/MoveToFolderDialog/MoveToFolderDialog.tsx@@ -51,14 +51,14 @@ export function MoveToFolderDialog({setIsOpen(false);setSearch("");toast({- title: "Agent moved",+ title: "Workflow moved",description: `"${agentName}" has been moved.`,});},onError: () => {toast({title: "Error",- description: "Failed to move agent. Please try again.",+ description: "Failed to move workflow. Please try again.",variant: "destructive",});},@@ -155,7 +155,9 @@ export function MoveToFolderDialog({<Text variant="small-medium">{folder.name}</Text><Text variant="small" className="text-zinc-400">{folder.agent_count ?? 0}{" "}- {(folder.agent_count ?? 0) === 1 ? "agent" : "agents"}+ {(folder.agent_count ?? 0) === 1+ ? "workflow"+ : "workflows"}</Text></div></Button>diff --git a/autogpt_platform/frontend/src/app/(platform)/library/followups/__tests__/main.test.tsx b/autogpt_platform/frontend/src/app/(platform)/library/followups/__tests__/main.test.tsxindex b21fe5beea..d6eeac4666 100644--- a/autogpt_platform/frontend/src/app/(platform)/library/followups/__tests__/main.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/library/followups/__tests__/main.test.tsx@@ -208,13 +208,13 @@ describe("FollowupsPage", () => {// Followup row still renders.expect(await screen.findByText("First follow-up message")).toBeDefined();- // Graph-kind row renders with its agent name + the "Agent run" badge.+ // Graph-kind row renders with its agent name + the "Workflow run" badge.expect(screen.getByText("Nightly cleanup")).toBeDefined();const graphRow = screen.getByTestId("schedule-row");expect(graphRow.getAttribute("data-schedule-kind")).toBe("graph");expect(within(graphRow).getByTestId("schedule-kind-badge").textContent,- ).toBe("Agent run");+ ).toBe("Workflow run");});test("shows a destructive toast when the delete API fails", async () => {@@ -282,7 +282,7 @@ describe("FollowupsPage", () => {expect(within(onceRow).getByText("Runs once")).toBeDefined();});- test("graph row: agentLabel falls back to schedule name then 'Scheduled agent' when agent_name missing", async () => {+ test("graph row: agentLabel falls back to schedule name then 'Scheduled workflow' when agent_name missing", async () => {server.use(getListCopilotFollowupSchedulesMockHandler([]),getGetV1ListExecutionSchedulesForAUserMockHandler([@@ -303,9 +303,9 @@ describe("FollowupsPage", () => {// Second-tier fallback: schedule name renders when agent_name is empty.expect(await screen.findByText("My schedule name")).toBeDefined();- // Final fallback: the literal "Scheduled agent" renders when BOTH+ // Final fallback: the literal "Scheduled workflow" renders when BOTH// agent_name and name are empty.- expect(screen.getByText("Scheduled agent")).toBeDefined();+ expect(screen.getByText("Scheduled workflow")).toBeDefined();});test("graph row: clicking View opens the dialog with graph metadata", async () => {@@ -414,7 +414,7 @@ describe("FollowupsPage", () => {const empty = await screen.findByTestId("followups-empty");expect(empty.textContent).toContain("Nothing scheduled yet");- expect(empty.textContent).toContain("schedule an agent from the builder");+ expect(empty.textContent).toContain("schedule a workflow from the builder");});test("copilot follow-up rows show a New chat badge when they fire into a new chat", async () => {diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AddToLibraryButton/AddToLibraryButton.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AddToLibraryButton/AddToLibraryButton.tsxindex 075f1066c3..20cc52b3bf 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AddToLibraryButton/AddToLibraryButton.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AddToLibraryButton/AddToLibraryButton.tsx@@ -39,7 +39,7 @@ function UndoActions({className="bg-neutral-200 text-zinc-900 hover:bg-neutral-300 hover:text-zinc-800"href={libraryHref}>- Open agent+ Open workflow</Button><Buttonvariant="ghost"@@ -119,7 +119,7 @@ export function AddToLibraryButton({const details = await getV2GetSpecificAgent(creatorSlug, agentSlug);if (details.status !== 200) {- throw new Error("Failed to fetch agent details");+ throw new Error("Failed to fetch workflow details");}const { data: response } = await addToLibrary({@@ -141,7 +141,7 @@ export function AddToLibraryButton({});const addedToast = toast({- title: `Agent ${agentName} added to your library.`,+ title: `Workflow ${agentName} added to your library.`,description: (<UndoActionslibraryAgentID={data.id}@@ -176,7 +176,7 @@ export function AddToLibraryButton({Sentry.captureException(error);toast({title: "Error",- description: "Failed to add agent to library. Please try again.",+ description: "Failed to add workflow to library. Please try again.",variant: "destructive",});}diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AgentInfo/AgentInfo.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AgentInfo/AgentInfo.tsxindex 59ceeeb24b..830279e720 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AgentInfo/AgentInfo.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AgentInfo/AgentInfo.tsx@@ -222,7 +222,7 @@ export const AgentInfo = ({<div className="mt-3 flex w-full items-center justify-between gap-2"><div className="flex items-center gap-0"><Text variant="body" className="text-neutral-500">- Want to use this agent locally?+ Want to use this workflow locally?</Text><Buttonvariant="ghost"diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AgentInfo/useAgentInfo.ts b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AgentInfo/useAgentInfo.tsindex 573ee9cef1..22203f05e7 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AgentInfo/useAgentInfo.ts+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/AgentInfo/useAgentInfo.ts@@ -61,7 +61,7 @@ export const useAgentInfo = ({ storeListingVersionId }: UseAgentInfoProps) => {router.push(`/library/agents/${data.id}`);toast({- title: "Agent Added",+ title: "Workflow Added",description: "Redirecting to your library...",duration: 2000,});@@ -70,7 +70,7 @@ export const useAgentInfo = ({ storeListingVersionId }: UseAgentInfoProps) => {toast({title: "Error",- description: "Failed to add agent to library. Please try again.",+ description: "Failed to add workflow to library. Please try again.",variant: "destructive",});}@@ -92,13 +92,13 @@ export const useAgentInfo = ({ storeListingVersionId }: UseAgentInfoProps) => {toast({title: "Download Complete",- description: "Your agent has been successfully downloaded.",+ description: "Your workflow has been successfully downloaded.",});} catch (error) {Sentry.captureException(error);toast({title: "Error",- description: "Failed to download agent. Please try again.",+ description: "Failed to download workflow. Please try again.",variant: "destructive",});}diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/CreatorCard/CreatorCard.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/CreatorCard/CreatorCard.tsxindex 75de91e451..65c5224543 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/CreatorCard/CreatorCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/CreatorCard/CreatorCard.tsx@@ -56,7 +56,7 @@ export function CreatorCard({{/* Stats */}<Text variant="body" className="absolute bottom-4 left-4 text-zinc-500">- {agentsUploaded} {agentsUploaded === 1 ? "agent" : "agents"}+ {agentsUploaded} {agentsUploaded === 1 ? "workflow" : "workflows"}</Text></button>);diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/HeroSection/HeroSection.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/HeroSection/HeroSection.tsxindex e438dcd831..9de60cdf0a 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/HeroSection/HeroSection.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/HeroSection/HeroSection.tsx@@ -22,7 +22,7 @@ export const HeroSection = () => {</>) : (<>- Explore AI agents built for{" "}+ Explore AI workflows built for{" "}<span className="text-violet-600">you</span><span className="block">by the community</span></>@@ -35,7 +35,7 @@ export const HeroSection = () => {<span className="block">— working in minutes.</span></>) : (- "Bringing you AI agents designed by thinkers from around the world"+ "Bringing you AI workflows designed by thinkers from around the world")}</p><div className="mb-4 flex w-full justify-center">diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MainAgentPage/MainAgentPage.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MainAgentPage/MainAgentPage.tsxindex b9705e7234..f13ba47662 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MainAgentPage/MainAgentPage.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MainAgentPage/MainAgentPage.tsx@@ -40,8 +40,8 @@ export function MainAgentPage({ params }: Props) {<div className="flex min-h-[400px] items-center justify-center"><ErrorCardisSuccess={false}- responseError={{ message: "Failed to load agent data" }}- context="agent page"+ responseError={{ message: "Failed to load workflow data" }}+ context="workflow page"onRetry={() => window.location.reload()}className="w-full max-w-md"/>@@ -59,8 +59,8 @@ export function MainAgentPage({ params }: Props) {<div className="flex min-h-[400px] items-center justify-center"><ErrorCardisSuccess={false}- responseError={{ message: "Agent not found" }}- context="agent page"+ responseError={{ message: "Workflow not found" }}+ context="workflow page"/></div></main>diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MarketplaceTabIntro/MarketplaceTabIntro.tsx b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MarketplaceTabIntro/MarketplaceTabIntro.tsxindex f5a80f7a70..1698d55ec3 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MarketplaceTabIntro/MarketplaceTabIntro.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MarketplaceTabIntro/MarketplaceTabIntro.tsx@@ -24,9 +24,9 @@ export function MarketplaceTabIntro() {<TabIntroCardisOpen={isOpen}icon={Store01Icon}- title="Agents ready to work."+ title="Workflows ready to work."body="Hundreds built by the community. Install one in a single click and run it today."- cta={{ label: "Browse featured agents", onClick: browseFeatured }}+ cta={{ label: "Browse featured workflows", onClick: browseFeatured }}onDismiss={dismiss}/>);diff --git a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/credits/components/SubscriptionTierSection/SubscriptionTierSection.tsx b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/credits/components/SubscriptionTierSection/SubscriptionTierSection.tsxindex c068a44e1a..62208b058e 100644--- a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/credits/components/SubscriptionTierSection/SubscriptionTierSection.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/credits/components/SubscriptionTierSection/SubscriptionTierSection.tsx@@ -137,7 +137,7 @@ export function SubscriptionTierSection() {<p className="font-medium">Pick a plan to continue using AutoGPT.</p><p className="mt-1">Your account doesn't have an active subscription. Choose a tier- below to start working with experts and running agents.+ below to start working with experts and running workflows.</p></div>)}diff --git a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/credits/page.tsx b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/credits/page.tsxindex 9eaeca92a6..23ccf5f7af 100644--- a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/credits/page.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/credits/page.tsx@@ -259,9 +259,9 @@ export default function CreditsPage() {<p className="text-sm"><b>Note:</b> For your safety, we will top up your balance{" "}- <b>at most once</b> per agent execution to prevent unintended+ <b>at most once</b> per workflow execution to prevent unintendedexcessive charges. Therefore, ensure that the automatic top-up- amount is sufficient for your agent's operation.+ amount is sufficient for your workflow's operation.</p>{autoTopUpConfig?.amount ? (diff --git a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/AgentTable/AgentTable.tsx b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/AgentTable/AgentTable.tsxindex 50511206fd..292040ffba 100644--- a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/AgentTable/AgentTable.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/AgentTable/AgentTable.tsx@@ -32,7 +32,7 @@ export const AgentTable: React.FC<AgentTableProps> = ({<div className="flex items-center px-4 py-2"><div className="grid w-full grid-cols-[minmax(400px,1fr),180px,140px,100px,100px,40px] items-center gap-4"><div className="text-sm font-medium text-neutral-800 dark:text-neutral-200">- Agent info+ Workflow info</div><div className="text-sm font-medium text-neutral-800 dark:text-neutral-200">Date submitted@@ -74,7 +74,7 @@ export const AgentTable: React.FC<AgentTableProps> = ({</div>) : (<div className="py-4 text-center font-sans text-base text-neutral-600 dark:text-neutral-400">- No agents available. Create your first agent to get started!+ No workflows available. Create your first workflow to get started!</div>)}</div>diff --git a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/MainDashboardPage.tsx b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/MainDashboardPage.tsxindex 304121be67..756bb7d329 100644--- a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/MainDashboardPage.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/MainDashboardPage.tsx@@ -32,7 +32,7 @@ export const MainDashboardPage = () => {<div className="mb-8 flex flex-col gap-4 md:flex-row md:items-end md:justify-between"><div className="space-y-6"><Text variant="h1" size="h3">- Agent dashboard+ Workflow dashboard</Text><div className="space-y-2"><Text@@ -40,11 +40,11 @@ export const MainDashboardPage = () => {size="large-medium"className="text-neutral-900 dark:text-neutral-100">- Submit a New Agent+ Submit a New Workflow</Text><Text variant="body" size="small">- Select from the list of agents you currently have, or upload from- your local machine.+ Select from the list of workflows you currently have, or upload+ from your local machine.</Text></div></div>@@ -57,7 +57,7 @@ export const MainDashboardPage = () => {size="small"onClick={onOpenSubmitModal}>- Submit agent+ Submit workflow</Button>}/>@@ -72,7 +72,7 @@ export const MainDashboardPage = () => {size="large-medium"className="mb-4 text-neutral-900 dark:text-neutral-100">- Your uploaded agents+ Your uploaded workflows</Text>{error ? (diff --git a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/components/EmptySubmissions.tsx b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/components/EmptySubmissions.tsxindex a9684da99c..ec36826bf5 100644--- a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/components/EmptySubmissions.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/components/EmptySubmissions.tsx@@ -17,15 +17,15 @@ export function EmptySubmissions() {variant="large-medium"className="text-neutral-900 dark:text-neutral-100">- No agents submitted yet+ No workflows submitted yet</Text><Textvariant="body"className="text-neutral-600 dark:text-neutral-400">- You haven't submitted any agents to the store yet.+ You haven't submitted any workflows to the store yet.<br />- Click “Submit agent” above to get started.+ Click “Submit workflow” above to get started.</Text></div></div>diff --git a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/components/SumbmissionLoadError.tsx b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/components/SumbmissionLoadError.tsxindex 3f62dc8f5f..baf4aca954 100644--- a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/components/SumbmissionLoadError.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/dashboard/components/MainDashboardPage/components/SumbmissionLoadError.tsx@@ -18,13 +18,13 @@ export function SubmissionLoadError() {variant="large-medium"className="text-neutral-900 dark:text-neutral-100">- Failed to load agents+ Failed to load workflows</Text><Textvariant="body"className="text-neutral-600 dark:text-neutral-400">- Something went wrong while loading your submitted agents.+ Something went wrong while loading your submitted workflows.</Text></div><Buttondiff --git a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/settings/components/SettingsForm/components/NotificationForm/NotificationForm.tsx b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/settings/components/SettingsForm/components/NotificationForm/NotificationForm.tsxindex 111ecc478c..006c82e8c8 100644--- a/autogpt_platform/frontend/src/app/(platform)/profile/(user)/settings/components/SettingsForm/components/NotificationForm/NotificationForm.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/profile/(user)/settings/components/SettingsForm/components/NotificationForm/NotificationForm.tsx@@ -60,7 +60,7 @@ export function NotificationForm({ preferences, user }: NotificationFormProps) {Briefing</Text><Text variant="body">- What your agents got done, at around 07:30 your time.+ What your workflows got done, at around 07:30 your time.Never sent when nothing ran.</Text></div>@@ -117,7 +117,8 @@ export function NotificationForm({ preferences, user }: NotificationFormProps) {Marketplace reviews</Text><Text variant="body">- When an agent you submitted is approved or needs changes.+ When a workflow you submitted is approved or needs+ changes.</Text></div><FormControl>diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/account/components/NotificationsCard/NotificationsCard.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/account/components/NotificationsCard/NotificationsCard.tsxindex a94652ae95..f485968e00 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/account/components/NotificationsCard/NotificationsCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/account/components/NotificationsCard/NotificationsCard.tsx@@ -66,7 +66,7 @@ export function NotificationsCard({}/><Text variant="small" as="span" className="text-zinc-500">- What your agents got done, at around 07:30 your time. Never sent+ What your workflows got done, at around 07:30 your time. Never sentwhen nothing ran.</Text></div>@@ -94,7 +94,7 @@ export function NotificationsCard({Marketplace reviews</Text><Text variant="small" as="span" className="text-zinc-500">- When an agent you submitted is approved or needs changes.+ When a workflow you submitted is approved or needs changes.</Text></div><Switchdiff --git a/autogpt_platform/frontend/src/app/(platform)/settings/billing/__tests__/billing-cards.test.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/billing/__tests__/billing-cards.test.tsxindex faaab1fcc9..71e3c77028 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/billing/__tests__/billing-cards.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/billing/__tests__/billing-cards.test.tsx@@ -1145,7 +1145,7 @@ describe("TransactionHistoryCard", () => {expect(await screen.findByText("Credits added")).toBeDefined();expect(screen.getByText("Morning briefing")).toBeDefined();- expect(screen.getByText("Agent run")).toBeDefined();+ expect(screen.getByText("Workflow run")).toBeDefined();expect(screen.getByText("+$50.00")).toBeDefined();expect(screen.getByText("−$2.50")).toBeDefined();expect(screen.queryByText(/^Balance$/)).toBeNull();diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/TransactionHistoryCard.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/TransactionHistoryCard.tsxindex ca542e683f..22e92edf4f 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/TransactionHistoryCard.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/TransactionHistoryCard.tsx@@ -83,8 +83,8 @@ export function TransactionHistoryCard({ index = 0 }: Props) {</div>)}<Text variant="small" className="px-4 text-zinc-600">- Each agent run combines its recorded charges and adjustments. Only runs- with credit activity appear here.+ Each workflow run combines its recorded charges and adjustments. Only+ runs with credit activity appear here.</Text></motion.section>);diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/__tests__/activity-types.test.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/__tests__/activity-types.test.tsxindex 156bf249ad..c1bd8dfb6c 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/__tests__/activity-types.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/__tests__/activity-types.test.tsx@@ -59,12 +59,12 @@ describe("Transaction history activity and states", () => {);render(<TransactionHistoryCard />);expect(await screen.findByText("Direct block usage")).toBeDefined();- expect(screen.getByText("Outside an agent run")).toBeDefined();+ expect(screen.getByText("Outside a workflow run")).toBeDefined();fireEvent.click(screen.getByRole("button", { name: /details for Direct block usage/i }),);expect(- screen.getByText("A paid block call without an associated agent run."),+ screen.getByText("A paid block call without an associated workflow run."),).toBeDefined();});diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/__tests__/transaction-history.test.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/__tests__/transaction-history.test.tsxindex af291818db..b28a816d1e 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/__tests__/transaction-history.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/__tests__/transaction-history.test.tsx@@ -121,12 +121,12 @@ describe("Transaction history receipts", () => {),);render(<TransactionHistoryCard />);- await screen.findByText("Agent unavailable");+ await screen.findByText("Workflow unavailable");expect(screen.queryByRole("link")).toBeNull();fireEvent.click(- screen.getByRole("button", { name: /details for Agent unavailable/i }),+ screen.getByRole("button", { name: /details for Workflow unavailable/i }),);- expect(screen.getByText("Agent and run unavailable")).toBeDefined();+ expect(screen.getByText("Workflow and run unavailable")).toBeDefined();expect(screen.queryByRole("link", { name: /View task/ })).toBeNull();});diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/components/ReceiptMetadata.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/components/ReceiptMetadata.tsxindex 0deadf3040..0741f02d54 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/components/ReceiptMetadata.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/components/ReceiptMetadata.tsx@@ -114,7 +114,7 @@ function ReceiptDestination({ transaction }: Props) {? "Run unavailable": transaction.execution_available? "Not in your library"- : "Agent and run unavailable";+ : "Workflow and run unavailable";return (<Text variant="small" className="text-zinc-600">{label}diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/components/ReceiptRelations.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/components/ReceiptRelations.tsxindex baa166c16e..922a237e19 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/components/ReceiptRelations.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/components/ReceiptRelations.tsx@@ -45,7 +45,7 @@ export function ReceiptRelations({)}{(related.length > 0 || transaction.related_executions_has_more) && (<Text variant="small" className="text-zinc-600">- Other agents used by this run+ Other workflows used by this run</Text>)}{related.map((execution) => (@@ -83,7 +83,7 @@ function RelatedExecution({receiptAsOf: Transaction["receipt_as_of"];onSelectRelated: (executionID: string) => void;}) {- const name = execution.agent_name || "Agent unavailable";+ const name = execution.agent_name || "Workflow unavailable";const loaded = loadedTransactions.find((item) => item.usage_execution_id === execution.execution_id,);diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/helpers.ts b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/helpers.tsindex b8e25b49b2..1f2b5dbe2f 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/helpers.ts+++ b/autogpt_platform/frontend/src/app/(platform)/settings/billing/components/AutomationCreditsTab/TransactionHistoryCard/helpers.ts@@ -18,7 +18,7 @@ const transactionNames: Record<string, string> = {export function activityName(transaction: Transaction): string {if (transaction.activity_type === "agent_run")- return transaction.agent_name || "Agent unavailable";+ return transaction.agent_name || "Workflow unavailable";if (transaction.activity_type === "copilot_tools") return "Expert tool use";if (transaction.activity_type === "block_usage") return "Direct block usage";if (transaction.transaction_type === "USAGE")@@ -31,11 +31,11 @@ export function activityName(transaction: Transaction): string {export function activityDescription(transaction: Transaction): string {if (transaction.parent_agent_name)return `Part of ${transaction.parent_agent_name}`;- if (transaction.activity_type === "agent_run") return "Agent run";+ if (transaction.activity_type === "agent_run") return "Workflow run";if (transaction.activity_type === "copilot_tools")return transaction.conversation_title || "Paid block tools";if (transaction.activity_type === "block_usage")- return "Outside an agent run";+ return "Outside a workflow run";if (transaction.transaction_type === "TOP_UP") return "Credit purchase";if (transaction.transaction_type === "REFUND")return "Credit purchase refunded";@@ -118,7 +118,7 @@ export function receiptNote(transaction: Transaction) {if (transaction.activity_type === "copilot_tools")return "Paid block tools across this conversation. Subscription usage is tracked separately.";if (transaction.activity_type === "block_usage")- return "A paid block call without an associated agent run.";+ return "A paid block call without an associated workflow run.";if (transaction.transaction_type === "REFUND")return "Credits removed from your balance after the payment was refunded.";if (transaction.transaction_type === "SUBSCRIPTION")diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/__tests__/main.test.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/__tests__/main.test.tsxindex c5c9cbb7d3..9071995159 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/__tests__/main.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/__tests__/main.test.tsx@@ -430,7 +430,7 @@ describe("SettingsCreatorDashboardPage", () => {fireEvent.click(viewItem);});- test("clicking Submit agent triggers the publish modal flow", async () => {+ test("clicking Submit workflow triggers the publish modal flow", async () => {server.use(getGetV2ListMySubmissionsMockHandler(makeResponse([])));render(<SettingsCreatorDashboardPage />);diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/DashboardHeader/DashboardHeader.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/DashboardHeader/DashboardHeader.tsxindex 70de3744fe..d87f1c8f09 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/DashboardHeader/DashboardHeader.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/DashboardHeader/DashboardHeader.tsx@@ -39,7 +39,7 @@ export function DashboardHeader({</Text><Text variant="body" className="mt-3 max-w-[640px] text-zinc-700">Track your store submissions, see how they perform, and ship updates- for the agents you publish.+ for the workflows you publish.</Text></div>@@ -54,7 +54,7 @@ export function DashboardHeader({onClick={onOpenSubmit}leftIcon={<Icon icon={PlusSignIcon} size={18} />}>- Submit agent+ Submit workflow</Button>}/>diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/EmptyState/EmptyState.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/EmptyState/EmptyState.tsxindex 4b9602ed74..4db844f4d9 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/EmptyState/EmptyState.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/EmptyState/EmptyState.tsx@@ -22,8 +22,8 @@ export function EmptyState() {No submissions yet</Text><Text variant="small" className="max-w-[460px] text-zinc-500">- Once you submit an agent to the store, it'll show up here with its- status, runs, and reviews.+ Once you submit a workflow to the store, it'll show up here with+ its status, runs, and reviews.</Text></motion.div>);diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/MobileSubmissionsList/MobileSubmissionsList.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/MobileSubmissionsList/MobileSubmissionsList.tsxindex fc8cd4a596..0906cfd909 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/MobileSubmissionsList/MobileSubmissionsList.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/MobileSubmissionsList/MobileSubmissionsList.tsx@@ -100,7 +100,7 @@ export function MobileSubmissionsList({<SearchInputvalue={searchInput}onChange={onSearchChange}- placeholder="Search by agent or listing name"+ placeholder="Search by workflow or listing name"aria-label="Search submissions"maxLength={100}loading={isFetching}diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/SubmissionsList/SubmissionsList.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/SubmissionsList/SubmissionsList.tsxindex b5164470d1..3a7862c6fc 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/SubmissionsList/SubmissionsList.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/creator-dashboard/components/SubmissionsList/SubmissionsList.tsx@@ -103,7 +103,7 @@ export function SubmissionsList({<SearchInputvalue={searchInput}onChange={onSearchChange}- placeholder="Search by agent or listing name"+ placeholder="Search by workflow or listing name"aria-label="Search submissions"maxLength={100}loading={isFetching}@@ -116,7 +116,7 @@ export function SubmissionsList({<table className="w-full border-collapse text-left"><thead><tr className="border-b border-zinc-100 bg-zinc-50/60">- <ColumnHeader label="Agent" />+ <ColumnHeader label="Workflow" /><ColumnHeaderlabel="Status"width="140px"diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/integrations/__tests__/main.test.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/integrations/__tests__/main.test.tsxindex d3606159d1..9c65cac380 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/integrations/__tests__/main.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/integrations/__tests__/main.test.tsx@@ -151,7 +151,7 @@ describe("SettingsIntegrationsPage — list", () => {expect(await screen.findByText(- "Linear blocks in agents need their own connection.",+ "Linear blocks in workflows need their own connection.",),).toBeDefined();expect(screen.getAllByText("For chats")).toHaveLength(2);diff --git a/autogpt_platform/frontend/src/app/(platform)/settings/profile/components/ProfileForm/ProfileForm.tsx b/autogpt_platform/frontend/src/app/(platform)/settings/profile/components/ProfileForm/ProfileForm.tsxindex 65a43558d0..84a8b0b4f7 100644--- a/autogpt_platform/frontend/src/app/(platform)/settings/profile/components/ProfileForm/ProfileForm.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/settings/profile/components/ProfileForm/ProfileForm.tsx@@ -256,7 +256,7 @@ export function ProfileForm({ formState, errors, onChange }: Props) {hideLabeltype="textarea"rows={5}- placeholder="Tell people what you build, the agents you ship, and what you care about."+ placeholder="Tell people what you build, the workflows you ship, and what you care about."value={formState.description}error={errors.description}onChange={(e) => onChange("description", e.target.value)}diff --git a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/__tests__/main.test.tsx b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/__tests__/main.test.tsxindex 4b45607b6c..74f758e6f8 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/__tests__/main.test.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/__tests__/main.test.tsx@@ -301,7 +301,7 @@ function attentionItem(priority: "high",title,description: "Scheduled work is paused.",- why_it_matters: "Upcoming tasks will not run while this agent is paused.",+ why_it_matters: "Upcoming tasks will not run while this expert is paused.",expert: {id: expertId,name: expertId === "expert-maria" ? "Maria" : "Other",@@ -439,7 +439,7 @@ describe("ExpertDetailPage", () => {const [calendar, seo] = screen.getAllByTestId("expert-workflow-row");const chain = within(calendar).getByTestId("workflow-chain");expect(- within(chain).getByRole("img", { name: "Agent input" }),+ within(chain).getByRole("img", { name: "Workflow input" }),).toBeDefined();expect(within(chain).getByRole("img", { name: "google" })).toBeDefined();expect(within(chain).getByRole("img", { name: "AI model" })).toBeDefined();diff --git a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ChainTile.tsx b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ChainTile.tsxindex 81ca4b4c7b..4c62ac9b33 100644--- a/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ChainTile.tsx+++ b/autogpt_platform/frontend/src/app/(platform)/team/[expertId]/components/ChainTile.tsx@@ -21,10 +21,10 @@ const KIND_ICONS: Record<{ icon: IconSvgElement; label: string }> = {integration: { icon: Plug01Icon, label: "Integration" },- input: { icon: InputCursorTextIcon, label: "Agent input" },- output: { icon: FileExportIcon, label: "Agent output" },+ input: { icon: InputCursorTextIcon, label: "Workflow input" },+ output: { icon: FileExportIcon, label: "Workflow output" },trigger: { icon: FlashIcon, label: "Trigger" },- agent: { icon: Robot01Icon, label: "Agent" },+ agent: { icon: Robot01Icon, label: "Workflow" },ai: { icon: AiChat02Icon, label: "AI model" },mcp: { icon: Plug01Icon, label: "MCP tool" },human: { icon: UserCheck01Icon, label: "Human review" },diff --git a/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/app-shell.test.tsx b/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/app-shell.test.tsxindex 3a91c1d723..ed47769c22 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/app-shell.test.tsx+++ b/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/app-shell.test.tsx@@ -112,7 +112,7 @@ describe("Tour chat app shell", () => {expect(screen.getByRole("link", { name: "AutoGPT" }).getAttribute("href"),).toBe("/marketplace");- for (const label of ["New Task", "Search", "Agents", "Build", "Files"]) {+ for (const label of ["New Task", "Search", "Workflows", "Build", "Files"]) {const item = screen.getByRole("button", { name: label });expect(item.getAttribute("aria-disabled")).toBe("true");}diff --git a/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/end-card.test.tsx b/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/end-card.test.tsxindex e6ca2ac6a3..7a7393fa04 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/end-card.test.tsx+++ b/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/end-card.test.tsx@@ -77,7 +77,7 @@ describe("Tour demo end state", () => {expect(screen.queryByText(/Simulated demo/i)).toBeNull();const pricingCta = screen- .getByText("Make this agent yours")+ .getByText("Make this workflow yours").closest("a") as HTMLAnchorElement;expect(pricingCta.href).toContain("agpt.co/pricing?utm_source=tour&utm_medium=end_card",diff --git a/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/tracking.test.tsx b/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/tracking.test.tsxindex ef05f5538d..67215969a8 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/tracking.test.tsx+++ b/autogpt_platform/frontend/src/app/(public)/tour/chat/__tests__/tracking.test.tsx@@ -191,7 +191,7 @@ describe("Tour DataFast tracking", () => {await advanceThroughTurn();await pressEnterToSend();- fireEvent.click(screen.getByText("Make this agent yours"));+ fireEvent.click(screen.getByText("Make this workflow yours"));fireEvent.click(screen.getByText("or self-host free"));fireEvent.click(screen.getByRole("button", { name: /Watch another scenario/i }),@@ -213,7 +213,7 @@ describe("Tour DataFast tracking", () => {render(<TourChatPage />);await advanceThroughTurn();await pressEnterToSend();- fireEvent.click(screen.getByText("Make this agent yours"));+ fireEvent.click(screen.getByText("Make this workflow yours"));const events = posthog.capture.mock.calls.map(([name, properties]) => [name,diff --git a/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourEndCard/TourEndCard.tsx b/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourEndCard/TourEndCard.tsxindex cfacfff831..9db1864cdd 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourEndCard/TourEndCard.tsx+++ b/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourEndCard/TourEndCard.tsx@@ -21,7 +21,7 @@ export function TourEndCard() {<span className="inline-flex items-center gap-1.5 rounded-full bg-emerald-50 px-3 py-1"><Icon icon={Tick02Icon} className="size-3.5 text-emerald-700" /><Text variant="small-medium" className="!text-emerald-700">- Agent built & first run complete — {TOUR_DEMO_CLAIM_SECONDS}{" "}+ Workflow built & first run complete — {TOUR_DEMO_CLAIM_SECONDS}{" "}seconds</Text></span>@@ -45,7 +45,7 @@ export function TourEndCard() {onClick={handlePricingClick}className="h-auto w-full flex-col gap-0 py-2.5 shadow-[0_0_20px_-6px_rgba(124,58,237,0.6)]">- <span className="font-medium">Make this agent yours</span>+ <span className="font-medium">Make this workflow yours</span><span className="text-xs font-normal opacity-80">Start with Pro · $42.50/mo · cancel anytime</span>diff --git a/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourSidebar/TourSidebar.tsx b/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourSidebar/TourSidebar.tsxindex aa56cb910c..c8b62dfee6 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourSidebar/TourSidebar.tsx+++ b/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourSidebar/TourSidebar.tsx@@ -108,7 +108,7 @@ export function TourSidebar({ variant = "tour" }: Props) {<SidebarGroupContent><SidebarMenu className="group-data-[collapsible=icon]:gap-1"><DisabledMenuItem icon={Search01Icon} label="Search" />- <DisabledMenuItem icon={GridViewIcon} label="Agents" />+ <DisabledMenuItem icon={GridViewIcon} label="Workflows" /><SidebarMenuItem><SidebarMenuButtonasChilddiff --git a/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourSidebar/components/TourUpsellCard.tsx b/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourSidebar/components/TourUpsellCard.tsxindex bbaa0733e5..2dfa00efa4 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourSidebar/components/TourUpsellCard.tsx+++ b/autogpt_platform/frontend/src/app/(public)/tour/chat/components/TourSidebar/components/TourUpsellCard.tsx@@ -46,7 +46,7 @@ export function TourUpsellCard({ surface }: Props) {Your AI team starts here</Text><Text variant="body" tone="secondary">- Build agents and put AI experts to work on your everyday tasks.+ Build workflows and put AI experts to work on your everyday tasks.</Text></div><div className="flex flex-col gap-1">diff --git a/autogpt_platform/frontend/src/app/(public)/tour/chat/script/callPrepScript.ts b/autogpt_platform/frontend/src/app/(public)/tour/chat/script/callPrepScript.tsindex 6a4d1993e2..42c86c95fd 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/chat/script/callPrepScript.ts+++ b/autogpt_platform/frontend/src/app/(public)/tour/chat/script/callPrepScript.ts@@ -53,7 +53,7 @@ export const callPrepScript: TourScript = [delayMs: 500,part: {type: "text",- text: "Building your agent — picking blocks, wiring them up, setting the trigger.",+ text: "Building your workflow — picking blocks, wiring them up, setting the trigger.",},},{diff --git a/autogpt_platform/frontend/src/app/(public)/tour/chat/script/competitorWatchScript.ts b/autogpt_platform/frontend/src/app/(public)/tour/chat/script/competitorWatchScript.tsindex dfa819f001..9983d524b5 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/chat/script/competitorWatchScript.ts+++ b/autogpt_platform/frontend/src/app/(public)/tour/chat/script/competitorWatchScript.ts@@ -54,7 +54,7 @@ export const competitorWatchScript: TourScript = [delayMs: 500,part: {type: "text",- text: "Building your agent — picking blocks, wiring them up, setting the schedule.",+ text: "Building your workflow — picking blocks, wiring them up, setting the schedule.",},},{@@ -91,7 +91,7 @@ export const competitorWatchScript: TourScript = [delayMs: 600,part: {type: "text",- text: "Your agent is live — it'll email you the moment that price moves again. 🎉",+ text: "Your workflow is live — it'll email you the moment that price moves again. 🎉",},},],diff --git a/autogpt_platform/frontend/src/app/(public)/tour/chat/script/dailyBriefScript.ts b/autogpt_platform/frontend/src/app/(public)/tour/chat/script/dailyBriefScript.tsindex e2f3113755..fee991fa5d 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/chat/script/dailyBriefScript.ts+++ b/autogpt_platform/frontend/src/app/(public)/tour/chat/script/dailyBriefScript.ts@@ -54,7 +54,7 @@ export const dailyBriefScript: TourScript = [delayMs: 500,part: {type: "text",- text: "Building your agent — picking blocks, wiring them up, setting the schedule.",+ text: "Building your workflow — picking blocks, wiring them up, setting the schedule.",},},{diff --git a/autogpt_platform/frontend/src/app/(public)/tour/chat/script/supportQueueScript.ts b/autogpt_platform/frontend/src/app/(public)/tour/chat/script/supportQueueScript.tsindex 914e4bf3d7..7c85ff093c 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/chat/script/supportQueueScript.ts+++ b/autogpt_platform/frontend/src/app/(public)/tour/chat/script/supportQueueScript.ts@@ -54,7 +54,7 @@ export const supportQueueScript: TourScript = [delayMs: 500,part: {type: "text",- text: "Building your agent — picking blocks, wiring them up, setting the schedule.",+ text: "Building your workflow — picking blocks, wiring them up, setting the schedule.",},},{diff --git a/autogpt_platform/frontend/src/app/(public)/tour/components/TourHero/TourHero.tsx b/autogpt_platform/frontend/src/app/(public)/tour/components/TourHero/TourHero.tsxindex 51f9613970..01fedf44a8 100644--- a/autogpt_platform/frontend/src/app/(public)/tour/components/TourHero/TourHero.tsx+++ b/autogpt_platform/frontend/src/app/(public)/tour/components/TourHero/TourHero.tsx@@ -34,7 +34,7 @@ export function TourHero() {className="mt-5 max-w-xl text-balance text-zinc-600">Describe a goal in plain English and watch Otto build and run a- working AutoGPT agent for you, in seconds, right in your browser.+ working AutoGPT workflow for you, in seconds, right in your browser.</Text><div className="mt-10 flex w-full flex-col items-center justify-center gap-3 sm:w-auto sm:flex-row">diff --git a/autogpt_platform/frontend/src/app/api/openapi.json b/autogpt_platform/frontend/src/app/api/openapi.jsonindex b28802a1bc..23f4b771ba 100644--- a/autogpt_platform/frontend/src/app/api/openapi.json+++ b/autogpt_platform/frontend/src/app/api/openapi.json@@ -18023,7 +18023,7 @@"title": {"type": "string","title": "Title",- "default": "Available Agents"+ "default": "Available Workflows"},"agents": {"items": { "$ref": "#/components/schemas/AgentInfo" },diff --git a/autogpt_platform/frontend/src/components/__legacy__/SearchFilterChips.tsx b/autogpt_platform/frontend/src/components/__legacy__/SearchFilterChips.tsxindex 99de0f7d5b..a7ccc83379 100644--- a/autogpt_platform/frontend/src/components/__legacy__/SearchFilterChips.tsx+++ b/autogpt_platform/frontend/src/components/__legacy__/SearchFilterChips.tsx@@ -34,7 +34,7 @@ export const SearchFilterChips: React.FC<SearchFilterChipsProps> = ({...(expertsCount === undefined? []: [{ label: "Experts", count: expertsCount, value: "experts" }]),- { label: "Agents", count: agentsCount, value: "agents" },+ { label: "Workflows", count: agentsCount, value: "agents" },...(skillsCount === undefined? []: [{ label: "Skills", count: skillsCount, value: "skills" }]),diff --git a/autogpt_platform/frontend/src/components/contextual/CredentialsInput/helpers.ts b/autogpt_platform/frontend/src/components/contextual/CredentialsInput/helpers.tsindex 2396ec6f74..78524c76a5 100644--- a/autogpt_platform/frontend/src/components/contextual/CredentialsInput/helpers.ts+++ b/autogpt_platform/frontend/src/components/contextual/CredentialsInput/helpers.ts@@ -202,7 +202,7 @@ export function getRemovedCredentialMessage(providerName: string,): string {if (!selectedCredential?.id) {- return `${removedCredentialTitle} was removed. Choose a connection to keep this agent running.`;+ return `${removedCredentialTitle} was removed. Choose a connection to keep this workflow running.`;}const replacement = getCredentialDisplayName(diff --git a/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/EditAgentForm.tsx b/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/EditAgentForm.tsxindex 8f55f3046e..995d372ca5 100644--- a/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/EditAgentForm.tsx+++ b/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/EditAgentForm.tsx@@ -177,7 +177,7 @@ export function EditAgentForm({label="Title"labelTooltip="Public name shown on the marketplace listing."type="text"- placeholder="Agent name"+ placeholder="Workflow name"error={form.formState.errors.title?.message}{...field}/>@@ -196,7 +196,7 @@ export function EditAgentForm({id={field.name}labelVariant="body"label="Tagline"- labelTooltip="The one-line subtitle shown under the agent name and on preview cards. Start with a verb and name the outcome for the user."+ labelTooltip="The one-line subtitle shown under the workflow name and on preview cards. Start with a verb and name the outcome for the user."type="text"placeholder="Find decision-makers at any company in seconds"error={form.formState.errors.subheader?.message}@@ -216,7 +216,7 @@ export function EditAgentForm({id={field.name}labelVariant="body"label="Category"- labelTooltip="Primary category that helps users discover the agent."+ labelTooltip="Primary category that helps users discover the workflow."placeholder={categoryPlaceholder}disabled={categoriesUnavailable}value={field.value}@@ -303,10 +303,10 @@ export function EditAgentForm({id={field.name}labelVariant="body"label="Description"- labelTooltip="What the agent does and the outcome users get."+ labelTooltip="What the workflow does and the outcome users get."type="textarea"rows={2}- placeholder="Describe the outcome this agent creates"+ placeholder="Describe the outcome this workflow creates"error={form.formState.errors.description?.message}{...field}/>@@ -340,7 +340,7 @@ export function EditAgentForm({id={field.name}labelVariant="body"label="Output demo"- labelTooltip="Link showing example output the agent produces."+ labelTooltip="Link showing example output the workflow produces."type="url"placeholder="https://youtube.com/watch?v=..."error={form.formState.errors.agentOutputDemo?.message}diff --git a/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/useEditAgentForm.ts b/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/useEditAgentForm.tsindex de1d021d20..97cff9312d 100644--- a/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/useEditAgentForm.ts+++ b/autogpt_platform/frontend/src/components/contextual/EditAgentModal/components/useEditAgentForm.ts@@ -130,8 +130,9 @@ export const useEditAgentForm = ({// Extract the StoreSubmission from the responseif (response.status === 200 && response.data) {toast({- title: "Agent Updated",- description: "Your agent submission has been updated successfully.",+ title: "Workflow Updated",+ description:+ "Your workflow submission has been updated successfully.",duration: 3000,variant: "default",});@@ -149,9 +150,9 @@ export const useEditAgentForm = ({} catch (error) {Sentry.captureException(error);toast({- title: "Edit Agent Error",+ title: "Edit Workflow Error",description:- "An error occurred while editing the agent. Please try again.",+ "An error occurred while editing the workflow. Please try again.",duration: 3000,variant: "destructive",});diff --git a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/IntegrationsPanel.tsx b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/IntegrationsPanel.tsxindex 24e0b73673..101fa15677 100644--- a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/IntegrationsPanel.tsx+++ b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/IntegrationsPanel.tsx@@ -55,7 +55,7 @@ export function IntegrationsPanel({id="tool-connections-heading"className="pb-3 pl-4 uppercase tracking-[0.06em] text-[#505057]">- Tools your agents use+ Tools your experts and workflows use</Text><IntegrationsListquery={query}diff --git a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/__tests__/IntegrationsPanel.test.tsx b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/__tests__/IntegrationsPanel.test.tsxindex c8e2a5bbb4..a875ab9d05 100644--- a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/__tests__/IntegrationsPanel.test.tsx+++ b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/__tests__/IntegrationsPanel.test.tsx@@ -18,7 +18,7 @@ describe("IntegrationsPanel", () => {const headings = await screen.findAllByRole("heading", { level: 2 });expect(headings.map((heading) => heading.textContent)).toEqual(["AI subscriptions",- "Tools your agents use",+ "Tools your experts and workflows use","Available integrations",]);});@@ -31,7 +31,9 @@ describe("IntegrationsPanel", () => {render(<IntegrationsPanel />);expect(- await screen.findByRole("heading", { name: "Tools your agents use" }),+ await screen.findByRole("heading", {+ name: "Tools your experts and workflows use",+ }),).toBeDefined();});});diff --git a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/AIConnectionsSection/AIConnectionsSection.tsx b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/AIConnectionsSection/AIConnectionsSection.tsxindex 8293a16253..bd37b8240b 100644--- a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/AIConnectionsSection/AIConnectionsSection.tsx+++ b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/AIConnectionsSection/AIConnectionsSection.tsx@@ -63,8 +63,8 @@ export function AIConnectionsSection() {</Text><Text variant="body" className="mt-2 max-w-[600px] text-[#505057]">{hasChoice- ? "These power your agents. Pick the one new chats should start on — you can still change it per conversation, and nothing switches on its own."- : "These power your agents. Link a subscription and you can choose which one new chats start on."}+ ? "These power Otto and your experts. Pick the one new chats should start on — you can still change it per conversation, and nothing switches on its own."+ : "These power Otto and your experts. Link a subscription and you can choose which one new chats start on."}</Text>{isLoading ? (diff --git a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/ConnectServiceDialog/components/DetailView/PublicMCPPanel.tsx b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/ConnectServiceDialog/components/DetailView/PublicMCPPanel.tsxindex 3c80f77f65..38f533c297 100644--- a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/ConnectServiceDialog/components/DetailView/PublicMCPPanel.tsx+++ b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/ConnectServiceDialog/components/DetailView/PublicMCPPanel.tsx@@ -35,8 +35,8 @@ export function PublicMCPPanel({ serverURL, actions }: Props) {)}{toolCount !== null && (<Text variant="small" className="text-zinc-600">- This service needs no sign-in, so nothing was saved. Add it to an- agent or ask an expert to use it.+ This service needs no sign-in, so nothing was saved. Add it to a+ workflow or ask an expert to use it.</Text>)}{error && (diff --git a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/DeleteConfirmDialog/DeleteConfirmDialog.tsx b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/DeleteConfirmDialog/DeleteConfirmDialog.tsxindex 5ffa9410a5..d90119c020 100644--- a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/DeleteConfirmDialog/DeleteConfirmDialog.tsx+++ b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/DeleteConfirmDialog/DeleteConfirmDialog.tsx@@ -40,8 +40,8 @@ export function DeleteConfirmDialog({? "These credentials are referenced by active webhooks or workflows. Forcing removal may break them.": "This credential is referenced by an active webhook or workflow. Forcing removal may break it.": isBulk- ? "This action cannot be undone. Agents using these credentials will lose access immediately."- : "This action cannot be undone. Agents using this credential will lose access immediately.";+ ? "This action cannot be undone. Experts and workflows using these credentials will lose access immediately."+ : "This action cannot be undone. Experts and workflows using this credential will lose access immediately.";const confirmLabel = isForce ? "Force remove" : "Remove";return (diff --git a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsHeader/IntegrationsHeader.tsx b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsHeader/IntegrationsHeader.tsxindex c08b1a4650..1cd1165ed3 100644--- a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsHeader/IntegrationsHeader.tsx+++ b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsHeader/IntegrationsHeader.tsx@@ -19,7 +19,7 @@ export function IntegrationsHeader({ onConnect, withTitle = true }: Props) {</Text>)}<Text variant="body" className="mt-4 max-w-[600px] text-[#505057]">- Connect AI subscriptions to power your agents, and third-party tools+ Connect AI subscriptions to power your experts, and third-party toolsfor them to use.</Text></div>diff --git a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsListEmpty/IntegrationsListEmpty.tsx b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsListEmpty/IntegrationsListEmpty.tsxindex 24c9e37200..7101d9b007 100644--- a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsListEmpty/IntegrationsListEmpty.tsx+++ b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsListEmpty/IntegrationsListEmpty.tsx@@ -28,8 +28,8 @@ export function IntegrationsListEmpty({ query }: Props) {No integration connected</Text><Text variant="body" className="max-w-[360px] text-zinc-500">- Connect a service to let your agents use third-party tools like- GitHub, Gmail, or Figma.+ Connect a service to let your experts and workflows use third-party+ tools like GitHub, Gmail, or Figma.</Text></div></div>diff --git a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsListEmpty/__tests__/IntegrationsListEmpty.test.tsx b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsListEmpty/__tests__/IntegrationsListEmpty.test.tsxindex d1f986b975..1af0f348ac 100644--- a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsListEmpty/__tests__/IntegrationsListEmpty.test.tsx+++ b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/components/IntegrationsListEmpty/__tests__/IntegrationsListEmpty.test.tsx@@ -10,7 +10,7 @@ describe("IntegrationsListEmpty", () => {expect(screen.getByText("No integration connected")).toBeDefined();expect(screen.getByText(- /Connect a service to let your agents use third-party tools/i,+ /Connect a service to let your experts and workflows use third-party tools/i,),).toBeDefined();});diff --git a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/helpers.ts b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/helpers.tsindex 150bc6d730..456f818b96 100644--- a/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/helpers.ts+++ b/autogpt_platform/frontend/src/components/contextual/IntegrationsPanel/helpers.ts@@ -149,7 +149,7 @@ function toCredentialView(isSignIn,blocksNote:isSignIn && hasBlocks- ? `${serviceLabel} blocks in agents need their own connection.`+ ? `${serviceLabel} blocks in workflows need their own connection.`: null,};}diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/PublishAgentModal.tsx b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/PublishAgentModal.tsxindex 21da3ae150..f6f5e5e170 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/PublishAgentModal.tsx+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/PublishAgentModal.tsx@@ -143,7 +143,7 @@ export function PublishAgentModal({return (<><Dialog- title="Publish Agent"+ title="Publish Workflow"styling={{maxWidth: "48rem",marginRight: "0.5rem",@@ -165,7 +165,7 @@ export function PublishAgentModal({>{showTrigger && (<Dialog.Trigger>- {trigger || <Button size="small">Publish Agent</Button>}+ {trigger || <Button size="small">Publish Workflow</Button>}</Dialog.Trigger>)}<Dialog.Content>diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/AgentInfoStep.tsx b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/AgentInfoStep.tsxindex 5700e84a3b..d7c9a49978 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/AgentInfoStep.tsx+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/AgentInfoStep.tsx@@ -120,7 +120,7 @@ export function AgentInfoStep({: "Build the store listing";const description = isMarketplaceUpdate? "Explain what changed, then adjust any listing details that need to move with this version."- : "Write a bit of details about your agent so reviewers and users know what to expect.";+ : "Write a bit of details about your workflow so reviewers and users know what to expect.";return (<div className="mx-auto flex w-full flex-col">@@ -213,7 +213,7 @@ export function AgentInfoStep({label="Title"labelTooltip="Public name shown on the marketplace listing."type="text"- placeholder="Agent name"+ placeholder="Workflow name"error={form.formState.errors.title?.message}{...field}/>@@ -232,7 +232,7 @@ export function AgentInfoStep({id={field.name}labelVariant="body"label="Tagline"- labelTooltip="The one-line subtitle shown under the agent name and on preview cards. Start with a verb and name the outcome for the user."+ labelTooltip="The one-line subtitle shown under the workflow name and on preview cards. Start with a verb and name the outcome for the user."type="text"placeholder="Find decision-makers at any company in seconds"error={form.formState.errors.subheader?.message}@@ -269,7 +269,7 @@ export function AgentInfoStep({id={field.name}labelVariant="body"label="Category"- labelTooltip="Primary category that helps users discover the agent."+ labelTooltip="Primary category that helps users discover the workflow."placeholder={placeholder}disabled={isUnavailable}value={field.value}@@ -354,10 +354,10 @@ export function AgentInfoStep({id={field.name}labelVariant="body"label="Description"- labelTooltip="What the agent does and the outcome users get."+ labelTooltip="What the workflow does and the outcome users get."type="textarea"rows={2}- placeholder="Describe the outcome this agent creates"+ placeholder="Describe the outcome this workflow creates"error={form.formState.errors.description?.message}{...field}/>@@ -377,7 +377,7 @@ export function AgentInfoStep({id={field.name}labelVariant="body"label="Instructions"- labelTooltip="Steps users should follow to set up and run the agent."+ labelTooltip="Steps users should follow to set up and run the workflow."type="textarea"rows={2}placeholder="Explain inputs, setup, and what to expect after a run"@@ -414,7 +414,7 @@ export function AgentInfoStep({id={field.name}labelVariant="body"label="Output demo"- labelTooltip="Link showing example output the agent produces."+ labelTooltip="Link showing example output the workflow produces."type="url"placeholder="https://youtube.com/watch?v=..."error={form.formState.errors.agentOutputDemo?.message}@@ -435,7 +435,7 @@ export function AgentInfoStep({Recommended schedule</Text><InformationTooltip- description="Suggested cron schedule users can run the agent on. Sets a run cadence for recurring use cases."+ description="Suggested cron schedule users can run the workflow on. Sets a run cadence for recurring use cases."iconSize={20}/></div>diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/components/useThumbnailImages.ts b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/components/useThumbnailImages.tsindex 23df674161..1c690dcae1 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/components/useThumbnailImages.ts+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/components/useThumbnailImages.ts@@ -136,7 +136,7 @@ export function useThumbnailImages({setIsGenerating(true);try {if (!agentId) {- throw new Error("Agent ID is required");+ throw new Error("Workflow ID is required");}const { image_url } = await resolveResponse(postV2GenerateSubmissionImage({ graph_id: agentId }),diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/useAgentInfoStep.ts b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/useAgentInfoStep.tsindex bd57bbb6b1..dd0aec67f6 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/useAgentInfoStep.ts+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentInfoStep/useAgentInfoStep.ts@@ -108,8 +108,8 @@ export function useAgentInfoStep({// Validate that an agent is selected before submissionif (!selectedAgentId || !selectedAgentVersion) {toast({- title: "Agent Selection Required",- description: "Please select an agent before submitting to the store.",+ title: "Workflow Selection Required",+ description: "Please select a workflow before submitting to the store.",variant: "destructive",});return;@@ -142,10 +142,10 @@ export function useAgentInfoStep({} catch (error) {Sentry.captureException(error);toast({- title: "Submit Agent Error",+ title: "Submit Workflow Error",description:(error instanceof Error ? error.message : undefined) ||- "An error occurred while submitting the agent. Please try again.",+ "An error occurred while submitting the workflow. Please try again.",duration: 3000,variant: "destructive",});diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentSelectStep/AgentSelectStep.tsx b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentSelectStep/AgentSelectStep.tsxindex 9202336eb1..8ec9174ed7 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentSelectStep/AgentSelectStep.tsx+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentSelectStep/AgentSelectStep.tsx@@ -77,14 +77,14 @@ export function AgentSelectStep({return (<div className="mx-auto flex w-full flex-col"><StepHeader- title="Choose an agent"- description="Pick the saved agent version you want to send to marketplace review."+ title="Choose a workflow"+ description="Pick the saved workflow version you want to send to marketplace review."currentStep="select"/><div className="mt-5 flex min-h-[320px] flex-col items-center justify-center gap-4 rounded-[18px] border border-rose-100 bg-rose-50 px-6 py-8 text-center"><Icon icon={AlertCircleIcon} size={32} className="text-rose-600" /><Text variant="large-medium" className="text-rose-900">- We could not load your agents+ We could not load your workflows</Text><Text variant="body" className="max-w-[420px] text-rose-700">Refresh the list and try again. Your current marketplace submissions@@ -110,8 +110,8 @@ export function AgentSelectStep({return (<div className="mx-auto flex w-full flex-col"><StepHeader- title="Choose an agent"- description="Pick the saved agent version you want to send to marketplace review."+ title="Choose a workflow"+ description="Pick the saved workflow version you want to send to marketplace review."currentStep="select"/>@@ -121,11 +121,11 @@ export function AgentSelectStep({<Icon icon={PlusSignIcon} size={20} /></div><Text variant="large-medium" className="text-textBlack">- No publishable agents yet+ No publishable workflows yet</Text><Text variant="body" className="max-w-[460px] text-zinc-600">- Create and save an agent in the builder. It will appear here when a- version is ready to submit.+ Create and save a workflow in the builder. It will appear here when+ a version is ready to submit.</Text><Button onClick={onOpenBuilder}>Open builder</Button></div>@@ -136,8 +136,8 @@ export function AgentSelectStep({<SearchInputvalue={searchInput}onChange={setSearchInput}- placeholder="Search your agents"- aria-label="Search your agents"+ placeholder="Search your workflows"+ aria-label="Search your workflows"maxLength={100}loading={isFetching || isDebouncingSearch}size="small"@@ -146,7 +146,7 @@ export function AgentSelectStep({<div className="w-full sm:w-[220px]"><Selectid="agent-sort"- label="Sort agents"+ label="Sort workflows"hideLabelsize="small"value={sortBy}@@ -158,7 +158,7 @@ export function AgentSelectStep({</div><div className="mt-1 flex-grow overflow-hidden pb-3">- <h3 className="sr-only">List of agents</h3>+ <h3 className="sr-only">List of workflows</h3><divclassName={cn(scrollbarStyles,@@ -169,7 +169,7 @@ export function AgentSelectStep({aria-busy={isFetching}><div id="agentListHeading" className="sr-only">- Scrollable list of agents+ Scrollable list of workflows</div>{isLoading ? (<div className="grid grid-cols-1 gap-2 p-1 sm:grid-cols-2">@@ -191,7 +191,7 @@ export function AgentSelectStep({data-testid="agent-search-no-matches"><Text variant="body-medium" className="text-textBlack">- No agents match “{debouncedSearch}”+ No workflows match “{debouncedSearch}”</Text><Text variant="small" className="text-zinc-500">Try a different name or clear the search.diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentSelectStep/__tests__/AgentSelectStep.test.tsx b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentSelectStep/__tests__/AgentSelectStep.test.tsxindex 2ba7d87be8..0dbdc62e00 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentSelectStep/__tests__/AgentSelectStep.test.tsx+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/AgentSelectStep/__tests__/AgentSelectStep.test.tsx@@ -205,7 +205,7 @@ describe("AgentSelectStep", () => {expect(await screen.findByText(- "No publishable agents yet",+ "No publishable workflows yet",{},{ timeout: 3000 },),@@ -229,7 +229,7 @@ describe("AgentSelectStep", () => {await screen.findByText("Agent 1", {}, { timeout: 3000 });fireEvent.change(- screen.getByRole("searchbox", { name: "Search your agents" }),+ screen.getByRole("searchbox", { name: "Search your workflows" }),{ target: { value: "invoice" } },);@@ -256,7 +256,7 @@ describe("AgentSelectStep", () => {await screen.findByText("Agent 1", {}, { timeout: 3000 });fireEvent.change(- screen.getByRole("searchbox", { name: "Search your agents" }),+ screen.getByRole("searchbox", { name: "Search your workflows" }),{ target: { value: "unknown" } },);@@ -332,7 +332,7 @@ describe("AgentSelectStep", () => {expect(await screen.findByText(- "We could not load your agents",+ "We could not load your workflows",{},{ timeout: 3000 },),diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/PublishAuthPrompt.tsx b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/PublishAuthPrompt.tsxindex 696ccdb0ef..ecd8242dc2 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/PublishAuthPrompt.tsx+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/PublishAuthPrompt.tsx@@ -16,7 +16,7 @@ export const PublishAuthPrompt = () => {variant="lead"className="max-w-[80%] text-neutral-600 dark:text-neutral-400">- Log in or create an account to publish your agents to the+ Log in or create an account to publish your workflows to themarketplace and join a community of creators</Text></div>diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/ReviewStepper.tsx b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/ReviewStepper.tsxindex b4ec1964b3..e794386f36 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/ReviewStepper.tsx+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/ReviewStepper.tsx@@ -29,7 +29,7 @@ const STEPS: Step[] = [{title: "In review",description:- "Our team checks the details, media, and safety of your agent.",+ "Our team checks the details, media, and safety of your workflow.",note: "Typically reviewed within 2–3 days.",state: "current",Icon: Clock01Icon,diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/StepStrip.tsx b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/StepStrip.tsxindex 6147ef8713..c431afc0d6 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/StepStrip.tsx+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/StepStrip.tsx@@ -10,7 +10,7 @@ type Props = {};const steps = [- { key: "select", label: "Agent" },+ { key: "select", label: "Workflow" },{ key: "info", label: "Listing" },{ key: "review", label: "Review" },] as const;@@ -27,7 +27,7 @@ export function StepStrip({ currentStep }: Props) {<div className="flex flex-col gap-6 px-1 pb-6 sm:px-2"><div className="flex items-center gap-2 pr-12"><Text variant="lead-medium" as="span" className="text-textBlack">- Publish agent+ Publish workflow</Text></div>diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/__tests__/AgentReviewStep.test.tsx b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/__tests__/AgentReviewStep.test.tsxindex ba4bcf82ca..13aefe3930 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/__tests__/AgentReviewStep.test.tsx+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/__tests__/AgentReviewStep.test.tsx@@ -153,7 +153,7 @@ describe("AgentReviewStep", () => {marketplaceUrl="/marketplace/agent/creator/test-agent"/>,);- expect(screen.getByText("Agent approved")).toBeDefined();+ expect(screen.getByText("Workflow approved")).toBeDefined();expect(screen.queryByText("What happens next")).toBeNull();expect(screen.getByText("Live since")).toBeDefined();expect(screen.getByText("Runs")).toBeDefined();@@ -207,7 +207,7 @@ describe("AgentReviewStep", () => {onEdit={onEdit}/>,);- expect(screen.getByText("Agent needs changes")).toBeDefined();+ expect(screen.getByText("Workflow needs changes")).toBeDefined();expect(screen.getByText("Please clarify your description.")).toBeDefined();expect(screen.queryByText("What happens next")).toBeNull();expect(screen.getByText("Reviewed")).toBeDefined();diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/__tests__/StepStrip.test.tsx b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/__tests__/StepStrip.test.tsxindex 5a0ddfb58c..ce7763001c 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/__tests__/StepStrip.test.tsx+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/__tests__/StepStrip.test.tsx@@ -12,15 +12,15 @@ describe("StepStrip", () => {const list = screen.getByRole("list", { name: "Publish progress" });const items = list.querySelectorAll("li[aria-current='step']");expect(items).toHaveLength(1);- const labels = ["Agent", "Listing", "Review"];+ const labels = ["Workflow", "Listing", "Review"];expect(items[0].textContent).toContain(labels[expectedIndex]);});it("renders all three steps", () => {render(<StepStrip currentStep="select" />);- expect(screen.getByText("Agent")).toBeDefined();+ expect(screen.getByText("Workflow")).toBeDefined();expect(screen.getByText("Listing")).toBeDefined();expect(screen.getByText("Review")).toBeDefined();- expect(screen.getByText("Publish agent")).toBeDefined();+ expect(screen.getByText("Publish workflow")).toBeDefined();});});diff --git a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/useAgentReviewStep.ts b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/useAgentReviewStep.tsindex 013e92b9a7..5a55600a3b 100644--- a/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/useAgentReviewStep.ts+++ b/autogpt_platform/frontend/src/components/contextual/PublishAgentModal/components/useAgentReviewStep.ts@@ -26,16 +26,16 @@ function getHeroContent(switch (status) {case SubmissionStatus.APPROVED:return {- title: "Agent approved",+ title: "Workflow approved",description:- "Your agent has been approved and is now live on the AutoGPT marketplace.",+ "Your workflow has been approved and is now live on the AutoGPT marketplace.",Icon: Tick02Icon,pulse: "bg-emerald-400/40",gradient: "from-emerald-400 to-emerald-600",};case SubmissionStatus.REJECTED:return {- title: "Agent needs changes",+ title: "Workflow needs changes",description:"Your submission was not approved. Review the feedback and resubmit.",Icon: Cancel01Icon,@@ -46,7 +46,7 @@ function getHeroContent(return {title: "Draft saved",description:- "This agent isn't submitted yet. Finish the details and submit it for review.",+ "This workflow isn't submitted yet. Finish the details and submit it for review.",Icon: NoteEditIcon,pulse: "bg-zinc-400/40",gradient: "from-zinc-400 to-zinc-600",@@ -55,7 +55,7 @@ function getHeroContent(return {title: "Submission received",description: isDashboardPage- ? "We'll notify you once review is complete. Approved agents go live on the marketplace."+ ? "We'll notify you once review is complete. Approved workflows go live on the marketplace.": "We'll notify you once review is complete. Track progress from the Creator Dashboard.",Icon: Tick02Icon,pulse: "bg-purple-400/40",diff --git a/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/SchedulesPanel.tsx b/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/SchedulesPanel.tsxindex ddacd8291b..e4f632fac8 100644--- a/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/SchedulesPanel.tsx+++ b/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/SchedulesPanel.tsx@@ -27,8 +27,8 @@ export function SchedulesPanel({ onGuidedPrompt, withHeading = true }: Props) {{withHeading && <Text variant="h2">Scheduled</Text>}<Text variant="body" className="!text-zinc-500">Every automated job in one place — your experts' scheduled- follow-ups and recurring agent runs from the builder. Open an item- to view its chat or agent, or cancel one you no longer need.+ follow-ups and recurring workflow runs from the builder. Open an+ item to view its chat or workflow, or cancel one you no longer need.</Text></div><div className="flex flex-shrink-0 items-center gap-2">diff --git a/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/EmptyFollowups/EmptyFollowups.tsx b/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/EmptyFollowups/EmptyFollowups.tsxindex 1b018f1d19..65122384ac 100644--- a/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/EmptyFollowups/EmptyFollowups.tsx+++ b/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/EmptyFollowups/EmptyFollowups.tsx@@ -15,9 +15,9 @@ export function EmptyFollowups() {Nothing scheduled yet</Text><Text variant="body" className="max-w-md !text-zinc-500">- Your experts' scheduled follow-ups and recurring agent runs show up- here. Select <strong>New scheduled task</strong> to set one up, or- schedule an agent from the builder.+ Your experts' scheduled follow-ups and recurring workflow runs show+ up here. Select <strong>New scheduled task</strong> to set one up, or+ schedule a workflow from the builder.</Text></div>);diff --git a/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/GraphScheduleListItem/GraphScheduleListItem.tsx b/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/GraphScheduleListItem/GraphScheduleListItem.tsxindex 670b0f8348..a2868ade80 100644--- a/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/GraphScheduleListItem/GraphScheduleListItem.tsx+++ b/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/GraphScheduleListItem/GraphScheduleListItem.tsx@@ -105,7 +105,7 @@ export function GraphScheduleListItem({className="rounded-md bg-emerald-100 px-2 py-0.5 text-xs text-emerald-700"data-testid="schedule-kind-badge">- Agent run+ Workflow run</span></div></div>@@ -140,7 +140,7 @@ export function GraphScheduleListItem({<Dialogcontrolled={{ isOpen: isViewOpen, set: closeView }}styling={{ maxWidth: "26rem" }}- title="Scheduled agent run"+ title="Scheduled workflow run"><Dialog.Content><div className="flex flex-col gap-5">@@ -157,7 +157,7 @@ export function GraphScheduleListItem({{agentLabel}</Text><Text variant="small" className="!text-zinc-500">- Recurring agent run+ Recurring workflow run</Text></div></div>@@ -170,7 +170,7 @@ export function GraphScheduleListItem({<ScheduleMetaRow label="Repeats" value={recurrenceLabel} /><ScheduleMetaRow label="Schedule name" value={schedule.name} /><ScheduleMetaRow- label="Graph"+ label="Workflow"value={`${schedule.graph_id} · v${schedule.graph_version}`}mono/>@@ -182,13 +182,14 @@ export function GraphScheduleListItem({<Dialogcontrolled={{ isOpen: isDeleteOpen, set: closeDelete }}styling={{ maxWidth: "32rem" }}- title="Delete scheduled agent run"+ title="Delete scheduled workflow run"><Dialog.Content><div className="flex flex-col gap-4"><Text variant="large">- Delete this scheduled agent run? The agent will stop running on- this schedule and you can recreate it from the builder if needed.+ Delete this scheduled workflow run? The workflow will stop running+ on this schedule and you can recreate it from the builder if+ needed.</Text><Dialog.Footer><Buttondiff --git a/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/GraphScheduleListItem/useGraphScheduleListItem.ts b/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/GraphScheduleListItem/useGraphScheduleListItem.tsindex 146847f1b7..0720cabc9b 100644--- a/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/GraphScheduleListItem/useGraphScheduleListItem.ts+++ b/autogpt_platform/frontend/src/components/contextual/SchedulesPanel/components/GraphScheduleListItem/useGraphScheduleListItem.ts@@ -42,7 +42,8 @@ export function useGraphScheduleListItem({ schedule }: Args) {? safeHumanizeCronExpression(schedule.cron): "Runs once";- const agentLabel = schedule.agent_name || schedule.name || "Scheduled agent";+ const agentLabel =+ schedule.agent_name || schedule.name || "Scheduled workflow";const agentHref = `/build?flowID=${schedule.graph_id}&flowVersion=${schedule.graph_version}`;function openDelete() {diff --git a/autogpt_platform/frontend/src/components/layout/AppSidebar/AppSidebar.tsx b/autogpt_platform/frontend/src/components/layout/AppSidebar/AppSidebar.tsxindex 5fd0535ff8..cbea4e42a5 100644--- a/autogpt_platform/frontend/src/components/layout/AppSidebar/AppSidebar.tsx+++ b/autogpt_platform/frontend/src/components/layout/AppSidebar/AppSidebar.tsx@@ -43,7 +43,7 @@ type NavLink = {};const MAIN_LINKS: NavLink[] = [- { name: "Agents", href: "/library", icon: GridViewIcon },+ { name: "Workflows", href: "/library", icon: GridViewIcon },{ name: "Marketplace", href: "/marketplace", icon: Store01Icon },{ name: "Build", href: "/build", icon: FlowIcon },];diff --git a/autogpt_platform/frontend/src/components/layout/AppSidebar/__tests__/AppSidebar.test.tsx b/autogpt_platform/frontend/src/components/layout/AppSidebar/__tests__/AppSidebar.test.tsxindex e02494bc08..ef7cd245e9 100644--- a/autogpt_platform/frontend/src/components/layout/AppSidebar/__tests__/AppSidebar.test.tsx+++ b/autogpt_platform/frontend/src/components/layout/AppSidebar/__tests__/AppSidebar.test.tsx@@ -120,19 +120,19 @@ describe("AppSidebar", () => {it("renders the primary navigation links", () => {renderSidebar();- expect(screen.getByText("Agents")).toBeDefined();+ expect(screen.getByText("Workflows")).toBeDefined();expect(screen.getByText("Marketplace")).toBeDefined();expect(screen.getByText("Build")).toBeDefined();expect(screen.queryByText("Files")).toBeNull();expect(screen.getByText("Home")).toBeDefined();});- it("shows Team instead of Agents when the hire-experts flag is on", () => {+ it("shows Team instead of Workflows when the hire-experts flag is on", () => {useGetFlagMock.mockReturnValue(true);renderSidebar();const teamLink = screen.getByRole("link", { name: /team/i });expect(teamLink.getAttribute("href")).toBe("/team");- expect(screen.queryByText("Agents")).toBeNull();+ expect(screen.queryByText("Workflows")).toBeNull();});it("keeps a Home link when the hire-experts flag is on", () => {diff --git a/autogpt_platform/frontend/src/components/layout/Navbar/Navbar.tsx b/autogpt_platform/frontend/src/components/layout/Navbar/Navbar.tsxindex 9009a419e4..a072111e80 100644--- a/autogpt_platform/frontend/src/components/layout/Navbar/Navbar.tsx+++ b/autogpt_platform/frontend/src/components/layout/Navbar/Navbar.tsx@@ -66,7 +66,7 @@ export function Navbar() {// ARTIFACTS_PAGE), not the top nav — it's an entry point, not a product.const actualLoggedInLinks = [{ name: "Home", href: "/home" },- { name: "Agents", href: "/library" },+ { name: "Workflows", href: "/library" },...loggedInLinks,];diff --git a/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/AgentActivityDropdown.tsx b/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/AgentActivityDropdown.tsxindex 8bed2bb86e..0cc3b2e05f 100644--- a/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/AgentActivityDropdown.tsx+++ b/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/AgentActivityDropdown.tsx@@ -29,7 +29,7 @@ export function AgentActivityDropdown() {<buttonclassName={`group relative h-[2.5rem] w-[2.5rem] rounded-full p-2 transition-colors hover:bg-white ${isOpen ? "bg-white" : ""}`}data-testid="agent-activity-button"- aria-label="View Agent Activity"+ aria-label="View Workflow Activity"><Icon icon={Pulse01Icon} size={22} className="text-black" />@@ -49,7 +49,7 @@ export function AgentActivityDropdown() {className="absolute bottom-[-2.5rem] left-1/2 z-50 hidden -translate-x-1/2 transform whitespace-nowrap rounded-small bg-white px-4 py-2 shadow-md group-hover:block"><Text variant="body-medium">- {activeCount} active agent{activeCount > 1 ? "s" : ""}+ {activeCount} active workflow{activeCount > 1 ? "s" : ""}</Text></div></>diff --git a/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/components/ActivityDropdown/ActivityDropdown.tsx b/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/components/ActivityDropdown/ActivityDropdown.tsxindex 527ffc6726..b0ea7be1b8 100644--- a/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/components/ActivityDropdown/ActivityDropdown.tsx+++ b/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/components/ActivityDropdown/ActivityDropdown.tsx@@ -96,8 +96,8 @@ export function ActivityDropdown({<div className="relative w-full"><Inputid="agent-search"- label="Search agents"- placeholder="Search runs by agent name..."+ label="Search workflows"+ placeholder="Search runs by workflow name..."hideLabelsize="small"value={searchQuery}@@ -124,11 +124,11 @@ export function ActivityDropdown({<div className={cn(styles.headerContainer, newLayout && "py-0.5")}>{newLayout ? (<span className="text-xs font-medium uppercase text-neutral-500">- Agent Activity+ Workflow Activity</span>) : (<Text variant="large-semibold" className="!text-black">- Agent Activity+ Workflow Activity</Text>)}{withSearch ? (@@ -136,7 +136,7 @@ export function ActivityDropdown({variant="ghost"size="small"onClick={toggleSearch}- aria-label="Search agents"+ aria-label="Search workflows"className={cn("hover:border-transparent hover:bg-transparent",newLayout@@ -178,13 +178,13 @@ export function ActivityDropdown({<div className="flex flex-col items-center justify-center"><Text variant="body-medium" className="!text-black">{searchQuery- ? "No matching agents found"+ ? "No matching workflows found": "No recent runs to show yet"}</Text><Text variant="body" className="!text-zinc-500">{searchQuery? "Try another search term"- : "Start an agent to get updates"}+ : "Start a workflow to get updates"}</Text></div></div>diff --git a/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/helpers.tsx b/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/helpers.tsxindex 06ebe199a9..7ec09a5cf1 100644--- a/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/helpers.tsx+++ b/autogpt_platform/frontend/src/components/layout/Navbar/components/AgentActivityDropdown/helpers.tsx@@ -74,7 +74,7 @@ export function enrichExecutionWithAgentInfo(return {...execution,- agent_name: agentInfo?.name ?? "Unknown Agent",+ agent_name: agentInfo?.name ?? "Unknown Workflow",agent_description: agentInfo?.description ?? "",library_agent_id: agentInfo?.library_agent_id,};diff --git a/autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet/helpers.ts b/autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet/helpers.tsindex 2f2e7029b5..d239862cdd 100644--- a/autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet/helpers.ts+++ b/autogpt_platform/frontend/src/components/layout/Navbar/components/Wallet/helpers.ts@@ -32,38 +32,38 @@ export function getTaskGroups(state: UserOnboarding | null): TaskGroup[] {},{id: "MARKETPLACE_ADD_AGENT",- name: "Get an agent from the marketplace",+ name: "Get a workflow from the marketplace",amount: 1,details:- "Search for an agent in the Marketplace and add it to your Library",+ "Search for a workflow in the Marketplace and add it to your Library",video: "/onboarding/marketplace-add.mp4",},{id: "LIBRARY_RUN_AGENT",- name: "Open the Library page and run an agent",+ name: "Open the Library page and run a workflow",amount: 1,- details: "Go to the Library, open an agent you want, and run it",+ details: "Go to the Library, open a workflow you want, and run it",video: "/onboarding/agent-run.mp4",},],},{name: "Consistency Challenge",- details: "Build your rhythm and make agents part of your routine.",+ details: "Build your rhythm and make workflows part of your routine.",tasks: [{id: "SCHEDULE_AGENT",- name: "Schedule your first agent",+ name: "Schedule your first workflow",amount: 1,- details: "Schedule an agent to run on a recurring basis",+ details: "Schedule a workflow to run on a recurring basis",video: "/onboarding/agent-schedule.mp4",},{id: "RUN_3_DAYS",- name: "Run agents 3 days in a row",+ name: "Run workflows 3 days in a row",amount: 1,details:- "Run any agents from the Library or Builder for 3 days in a row",+ "Run any workflows from the Library or Builder for 3 days in a row",progress: {current: state?.consecutiveRunDays || 0,target: 3,@@ -77,17 +77,17 @@ export function getTaskGroups(state: UserOnboarding | null): TaskGroup[] {tasks: [{id: "TRIGGER_WEBHOOK",- name: "Trigger an agent via webhook",+ name: "Trigger a workflow via webhook",amount: 1,details:- "In the Builder, go to Settings and copy the Webhook URL. Use it to trigger your agent from another app.",+ "In the Builder, go to Settings and copy the Webhook URL. Use it to trigger your workflow from another app.",},{id: "RUN_14_DAYS",- name: "Run agents 14 days in a row",+ name: "Run workflows 14 days in a row",amount: 1,details:- "Run any agents from the Library or Builder for 14 days in a row",+ "Run any workflows from the Library or Builder for 14 days in a row",progress: {current: state?.consecutiveRunDays || 0,target: 14,@@ -95,9 +95,9 @@ export function getTaskGroups(state: UserOnboarding | null): TaskGroup[] {},{id: "RUN_AGENTS_100",- name: "Complete 100 agent runs",+ name: "Complete 100 workflow runs",amount: 1,- details: "Let your agents run and complete 100 tasks in total",+ details: "Let your workflows run and complete 100 tasks in total",progress: {current: state?.agentRuns || 0,target: 100,diff --git a/autogpt_platform/frontend/src/components/layout/Navbar/helpers.tsx b/autogpt_platform/frontend/src/components/layout/Navbar/helpers.tsxindex b86830a2e2..58989fb117 100644--- a/autogpt_platform/frontend/src/components/layout/Navbar/helpers.tsx+++ b/autogpt_platform/frontend/src/components/layout/Navbar/helpers.tsx@@ -72,7 +72,7 @@ export const accountMenuItems: MenuItemGroup[] = [},{icon: IconType.UploadCloud,- text: "Publish an agent",+ text: "Publish a workflow",},],},diff --git a/autogpt_platform/frontend/src/components/layout/TopUpPrompt/LowCreditBanner/LowCreditBanner.tsx b/autogpt_platform/frontend/src/components/layout/TopUpPrompt/LowCreditBanner/LowCreditBanner.tsxindex cae373801e..a88f1b3f72 100644--- a/autogpt_platform/frontend/src/components/layout/TopUpPrompt/LowCreditBanner/LowCreditBanner.tsx+++ b/autogpt_platform/frontend/src/components/layout/TopUpPrompt/LowCreditBanner/LowCreditBanner.tsx@@ -19,7 +19,7 @@ export function LowCreditBanner({ className }: Props) {<Alert variant="warning" aria-live="polite"><div className="flex flex-wrap items-center gap-3"><AlertDescription className="min-w-[12rem] flex-1">- You're out of automation credits. Top up to keep your agents+ You're out of automation credits. Top up to keep your workflowsrunning.</AlertDescription><Button variant="primary" size="small" onClick={openTopUp}>diff --git a/autogpt_platform/frontend/src/components/layout/TopUpPrompt/TopUpDialog/TopUpDialog.tsx b/autogpt_platform/frontend/src/components/layout/TopUpPrompt/TopUpDialog/TopUpDialog.tsxindex ff98da3120..4f1f4264dd 100644--- a/autogpt_platform/frontend/src/components/layout/TopUpPrompt/TopUpDialog/TopUpDialog.tsx+++ b/autogpt_platform/frontend/src/components/layout/TopUpPrompt/TopUpDialog/TopUpDialog.tsx@@ -45,8 +45,8 @@ export function TopUpDialog({<Dialog.Content><Text variant="large">{isOutOfCredits- ? "Top up to keep your agents and experts running. You can also "- : "Credits are used to run your agents and experts. You can also "}+ ? "Top up to keep your workflows and experts running. You can also "+ : "Credits are used to run your workflows and experts. You can also "}<Link href="/settings/billing" className="underline">enable auto-refill in billing settings</Link>diff --git a/autogpt_platform/frontend/src/components/layout/TopUpPrompt/__tests__/TopUpDialog.test.tsx b/autogpt_platform/frontend/src/components/layout/TopUpPrompt/__tests__/TopUpDialog.test.tsxindex eb0794ce87..55dc49f54e 100644--- a/autogpt_platform/frontend/src/components/layout/TopUpPrompt/__tests__/TopUpDialog.test.tsx+++ b/autogpt_platform/frontend/src/components/layout/TopUpPrompt/__tests__/TopUpDialog.test.tsx@@ -15,7 +15,9 @@ describe("TopUpDialog", () => {render(<TopUpDialog isOpen onClose={() => {}} />);expect(screen.getByText("You're out of automation credits")).toBeDefined();- expect(screen.getByText(/Top up to keep your agents/)).toBeDefined();+ expect(+ screen.getByText(/Top up to keep your workflows and experts running/),+ ).toBeDefined();expect(screen.queryByText("Add automation credits")).toBeNull();});@@ -24,7 +26,7 @@ describe("TopUpDialog", () => {expect(screen.getByText("Add automation credits")).toBeDefined();expect(- screen.getByText(/Credits are used to run your agents/),+ screen.getByText(/Credits are used to run your workflows and experts/),).toBeDefined();expect(screen.queryByText("You're out of automation credits")).toBeNull();});diff --git a/autogpt_platform/frontend/src/components/layout/TopUpPrompt/__tests__/TopUpPromptProvider.test.tsx b/autogpt_platform/frontend/src/components/layout/TopUpPrompt/__tests__/TopUpPromptProvider.test.tsxindex 019892229c..d71c1dd56f 100644--- a/autogpt_platform/frontend/src/components/layout/TopUpPrompt/__tests__/TopUpPromptProvider.test.tsx+++ b/autogpt_platform/frontend/src/components/layout/TopUpPrompt/__tests__/TopUpPromptProvider.test.tsx@@ -110,7 +110,7 @@ describe("TopUpPromptProvider daily auto-opener", () => {// The dialog body copy mentions experts, which the banner copy does not,// so it unambiguously signals the dialog auto-opened.expect(- await screen.findByText(/keep your agents and experts/i),+ await screen.findByText(/keep your workflows and experts/i),).toBeDefined();});@@ -127,7 +127,7 @@ describe("TopUpPromptProvider daily auto-opener", () => {// credit fetch resolved before we assert the dialog is absent.await screen.findByText(/out of automation credits/i);- expect(screen.queryByText(/keep your agents and experts/i)).toBeNull();+ expect(screen.queryByText(/keep your workflows and experts/i)).toBeNull();});});@@ -219,6 +219,7 @@ describe("TopUpPromptProvider out-of-credits suppression", () => {const banner = await screen.findByRole("alert");expect(banner.textContent).toMatch(/out of automation credits/i);+ expect(banner.textContent).toMatch(/keep your workflows running/i);expect(creditRequests).toBe(1);fireEvent.click(screen.getByText("page state 0"));@@ -252,7 +253,7 @@ describe("TopUpPromptProvider out-of-credits suppression", () => {await waitForCreditsFetch();expect(screen.queryByText(/out of automation credits/i)).toBeNull();- expect(screen.queryByText(/keep your agents and experts/i)).toBeNull();+ expect(screen.queryByText(/keep your workflows and experts/i)).toBeNull();});test("renders nothing when the billing flag is off", async () => {@@ -273,7 +274,7 @@ describe("TopUpPromptProvider out-of-credits suppression", () => {await waitForCreditsFetch();expect(screen.queryByText(/out of automation credits/i)).toBeNull();- expect(screen.queryByText(/keep your agents and experts/i)).toBeNull();+ expect(screen.queryByText(/keep your workflows and experts/i)).toBeNull();});test("renders nothing when the user still has a positive balance", async () => {@@ -289,7 +290,7 @@ describe("TopUpPromptProvider out-of-credits suppression", () => {await waitForCreditsFetch();expect(screen.queryByText(/out of automation credits/i)).toBeNull();- expect(screen.queryByText(/keep your agents and experts/i)).toBeNull();+ expect(screen.queryByText(/keep your workflows and experts/i)).toBeNull();});test("suppresses the prompt when the credits fetch fails", async () => {@@ -314,6 +315,6 @@ describe("TopUpPromptProvider out-of-credits suppression", () => {await waitFor(() => expect(autoTopUpRequested).toBe(true));expect(screen.queryByText(/out of automation credits/i)).toBeNull();- expect(screen.queryByText(/keep your agents and experts/i)).toBeNull();+ expect(screen.queryByText(/keep your workflows and experts/i)).toBeNull();});});diff --git a/autogpt_platform/frontend/src/components/molecules/InstallWorkflowPicker/useInstallWorkflowPicker.ts b/autogpt_platform/frontend/src/components/molecules/InstallWorkflowPicker/useInstallWorkflowPicker.tsindex 4722e551d9..02f33db617 100644--- a/autogpt_platform/frontend/src/components/molecules/InstallWorkflowPicker/useInstallWorkflowPicker.ts+++ b/autogpt_platform/frontend/src/components/molecules/InstallWorkflowPicker/useInstallWorkflowPicker.ts@@ -153,7 +153,7 @@ export function useInstallWorkflowPicker({agent.slug,);if (details.status !== 200) {- throw new Error("Failed to fetch agent details");+ throw new Error("Failed to fetch workflow details");}await install(targetExpert, {store_listing_version_id: details.data.store_listing_version_id,diff --git a/autogpt_platform/frontend/src/components/molecules/PlanCard/plans.ts b/autogpt_platform/frontend/src/components/molecules/PlanCard/plans.tsindex aa927277b3..5e9f8a30f0 100644--- a/autogpt_platform/frontend/src/components/molecules/PlanCard/plans.ts+++ b/autogpt_platform/frontend/src/components/molecules/PlanCard/plans.ts@@ -40,9 +40,9 @@ export const PLANS: PlanDef[] = [features: ["Access to virtually any leading AI model","Agents work non-stop in the background",- "Visual agent builder and chat-based agent creation",+ "Visual workflow builder and chat-based workflow creation","File-aware agents that can work with your documents",- "End-to-end agent management and run visibility",+ "End-to-end workflow management and run visibility","Scheduled and event-based triggers",],cta: "Get Pro",@@ -110,9 +110,9 @@ export const PLAN_METADATA: Record<features: ["Access to virtually any leading AI model","Agents work non-stop in the background",- "Visual agent builder and chat-based agent creation",+ "Visual workflow builder and chat-based workflow creation","File-aware agents that can work with your documents",- "End-to-end agent management and run visibility",+ "End-to-end workflow management and run visibility","Scheduled and event-based triggers",],cta: "Upgrade to Pro",diff --git a/autogpt_platform/frontend/src/components/organisms/PendingReviewsList/PendingReviewsList.tsx b/autogpt_platform/frontend/src/components/organisms/PendingReviewsList/PendingReviewsList.tsxindex c2580d11e8..b8deff7b80 100644--- a/autogpt_platform/frontend/src/components/organisms/PendingReviewsList/PendingReviewsList.tsx+++ b/autogpt_platform/frontend/src/components/organisms/PendingReviewsList/PendingReviewsList.tsx@@ -208,8 +208,8 @@ export function PendingReviewsList({{emptyMessage}</Text><Text variant="body" className="mt-2 max-w-md text-muted-foreground">- When agents have human-in-the-loop blocks, they will appear here for- your review and approval.+ When workflows have human-in-the-loop blocks, they will appear here+ for your review and approval.</Text></div>);diff --git a/autogpt_platform/frontend/src/components/renderers/InputRenderer/custom/GoogleDrivePickerField/GoogleDrivePickerField.tsx b/autogpt_platform/frontend/src/components/renderers/InputRenderer/custom/GoogleDrivePickerField/GoogleDrivePickerField.tsxindex 94fad2378f..7b22f577f8 100644--- a/autogpt_platform/frontend/src/components/renderers/InputRenderer/custom/GoogleDrivePickerField/GoogleDrivePickerField.tsx+++ b/autogpt_platform/frontend/src/components/renderers/InputRenderer/custom/GoogleDrivePickerField/GoogleDrivePickerField.tsx@@ -29,7 +29,7 @@ export const GoogleDrivePickerField = (props: FieldProps) => {<div className="flex flex-col gap-2">{!isConnected && (<div className="rounded-3xl border border-gray-200 p-2 pl-4 text-xs text-gray-500 hover:cursor-not-allowed">- Select files when you run the graph+ Select files when you run the workflow</div>)}</div>diff --git a/autogpt_platform/frontend/src/hooks/useAgentSafeMode.ts b/autogpt_platform/frontend/src/hooks/useAgentSafeMode.tsindex 8e5560ce8f..55464a2264 100644--- a/autogpt_platform/frontend/src/hooks/useAgentSafeMode.ts+++ b/autogpt_platform/frontend/src/hooks/useAgentSafeMode.ts@@ -218,7 +218,7 @@ function handleToggleError(toast({title: "Safe mode not available",description:- "To configure safe mode, please save this graph to your library first.",+ "To configure safe mode, please save this workflow to your library first.",variant: "destructive",});} else {diff --git a/autogpt_platform/frontend/src/hooks/useLibraryAgents/store.ts b/autogpt_platform/frontend/src/hooks/useLibraryAgents/store.tsindex e84d997dd0..65f7a864c0 100644--- a/autogpt_platform/frontend/src/hooks/useLibraryAgents/store.ts+++ b/autogpt_platform/frontend/src/hooks/useLibraryAgents/store.ts@@ -11,7 +11,8 @@ export function buildAgentInfoMap(agents: AgentInfo[]) {if (a.graph_id && a.id) {map.set(a.graph_id, {name:- a.name || (a.graph_id ? `Agent ${a.graph_id.slice(0, 8)}` : "Agent"),+ a.name ||+ (a.graph_id ? `Workflow ${a.graph_id.slice(0, 8)}` : "Workflow"),description: a.description || "",library_agent_id: a.id,});diff --git a/autogpt_platform/frontend/src/playwright/journeys/builder-save-journey.spec.ts b/autogpt_platform/frontend/src/playwright/journeys/builder-save-journey.spec.tsindex c0d74d5ecd..9efbf99eee 100644--- a/autogpt_platform/frontend/src/playwright/journeys/builder-save-journey.spec.ts+++ b/autogpt_platform/frontend/src/playwright/journeys/builder-save-journey.spec.ts@@ -22,7 +22,7 @@ test.describe("builder save journey", () => {await buildPage.saveAgent(agentName, "Builder save journey");- await expect(page.getByText("Couldn't save your agent")).toBeVisible();+ await expect(page.getByText("Couldn't save your workflow")).toBeVisible();await expect(page.getByText(/Agent Output › Name: This field is required/),).toBeVisible();diff --git a/autogpt_platform/frontend/src/playwright/journeys/schedules-journey.spec.ts b/autogpt_platform/frontend/src/playwright/journeys/schedules-journey.spec.tsindex d6b49404cc..0b5511f0f7 100644--- a/autogpt_platform/frontend/src/playwright/journeys/schedules-journey.spec.ts+++ b/autogpt_platform/frontend/src/playwright/journeys/schedules-journey.spec.ts@@ -26,7 +26,7 @@ test.describe("schedules journey", () => {await new LibraryPage(page).openSavedAgent(agentName);await page- .getByRole("button", { name: /Setup your task|New agent task/i })+ .getByRole("button", { name: /Setup your task|New workflow task/i }).first().click();await page.getByRole("button", { name: "Schedule Task" }).click();diff --git a/autogpt_platform/frontend/src/playwright/journeys/selfhost-journey.spec.ts b/autogpt_platform/frontend/src/playwright/journeys/selfhost-journey.spec.tsindex c2977ff9d9..5297a9d234 100644--- a/autogpt_platform/frontend/src/playwright/journeys/selfhost-journey.spec.ts+++ b/autogpt_platform/frontend/src/playwright/journeys/selfhost-journey.spec.ts@@ -147,7 +147,7 @@ test("selfhost journey: a self-hoster's first hour has nothing hosted-only in itawait test.step("the Library's briefing shows no spend", async () => {await page.goto("/library");- await expect(page.getByText("Agent Briefing")).toBeVisible();+ await expect(page.getByText("Workflow Briefing")).toBeVisible();await expect.soft(page.getByText("Spent this month")).toHaveCount(0);await expect.soft(page.getByRole("button", { name: /costs breakdown/i }))diff --git a/autogpt_platform/frontend/src/playwright/library-happy-path.spec.ts b/autogpt_platform/frontend/src/playwright/library-happy-path.spec.tsindex 4fe9834b3e..615cb1e504 100644--- a/autogpt_platform/frontend/src/playwright/library-happy-path.spec.ts+++ b/autogpt_platform/frontend/src/playwright/library-happy-path.spec.ts@@ -413,7 +413,7 @@ test("library happy path: user can edit a saved agent from Library and keep chan.context().waitForEvent("page", { timeout: 10000 }).catch(() => null);- // "Edit agent" link is inside the three-dot dropdown menu+ // "Edit workflow" link is inside the three-dot dropdown menuawait agentCard.getByRole("button", { name: "More actions" }).first().click();await page.getByTestId("library-agent-card-open-in-builder-link")@@ -431,7 +431,7 @@ test("library happy path: user can edit a saved agent from Library and keep chanawait builderPage.getByTestId("save-control-save-button").click();const saveAgentButton = builderPage.getByRole("button", {- name: "Save Agent",+ name: "Save Workflow",});if (await saveAgentButton.isVisible({ timeout: 3000 }).catch(() => false)) {await expect(saveAgentButton).toBeEnabled({ timeout: 10000 });@@ -532,7 +532,9 @@ test("library happy path: user can delete a completed task from the run sidebar"// Sidebar should drop the only run, returning the page to initial// task-entry state.await expect(- page.getByRole("button", { name: /^(Setup your task|New agent task)$/i }),+ page.getByRole("button", {+ name: /^(Setup your task|New workflow task)$/i,+ }),).toBeVisible({ timeout: 15000 });});diff --git a/autogpt_platform/frontend/src/playwright/pages/build.page.ts b/autogpt_platform/frontend/src/playwright/pages/build.page.tsindex 7c3649201f..890268099a 100644--- a/autogpt_platform/frontend/src/playwright/pages/build.page.ts+++ b/autogpt_platform/frontend/src/playwright/pages/build.page.ts@@ -457,7 +457,7 @@ export class BuildPage extends BasePage {// If the toast appeared but is not yet hidden, wait for it. If it never// appeared at all the locator is simply hidden already — no-op.- const savedToast = this.page.getByText("Graph saved successfully");+ const savedToast = this.page.getByText("Workflow saved successfully");if (await savedToast.isVisible({ timeout: 500 })) {await expect(savedToast).toBeHidden({ timeout: 10000 });}diff --git a/autogpt_platform/frontend/src/playwright/pages/library.page.ts b/autogpt_platform/frontend/src/playwright/pages/library.page.tsindex 716d9400fb..23782d252b 100644--- a/autogpt_platform/frontend/src/playwright/pages/library.page.ts+++ b/autogpt_platform/frontend/src/playwright/pages/library.page.ts@@ -91,7 +91,7 @@ export class LibraryPage extends BasePage {async searchAgents(searchTerm: string): Promise<void> {console.log(`searching for agents with term: ${searchTerm}`);const { getId, getRole } = getSelectors(this.page);- const searchInput = getRole("textbox", "Search agents");+ const searchInput = getRole("textbox", "Search workflows");// Cards render only after hydration; text typed before it never reaches onChange.await expect(getId("library-agent-card").first()).toBeVisible({timeout: 15000,@@ -111,7 +111,7 @@ export class LibraryPage extends BasePage {// Look for the clear button (X icon)const clearButton = this.page.locator(".lucide.lucide-x");const searchInput = this.page.getByRole("textbox", {- name: "Search agents",+ name: "Search workflows",});if (await clearButton.isVisible()) {await clearButton.click();@@ -157,8 +157,8 @@ export class LibraryPage extends BasePage {await expect(dialog).toBeVisible({ timeout: 2_000 });}).toPass({ timeout: 20_000 });- // Click the "AutoGPT agent" tab- await this.page.getByRole("tab", { name: "AutoGPT agent" }).click();+ // Click the "AutoGPT workflow" tab+ await this.page.getByRole("tab", { name: "AutoGPT workflow" }).click();}async closeUploadDialog(): Promise<void> {@@ -187,12 +187,12 @@ export class LibraryPage extends BasePage {// Fill agent nameawait this.page- .getByRole("textbox", { name: "Agent name" })+ .getByRole("textbox", { name: "Workflow name" }).fill(agentName);// Fill descriptionawait this.page- .getByRole("textbox", { name: "Agent description" })+ .getByRole("textbox", { name: "Workflow description" }).fill(description);}@@ -278,7 +278,7 @@ export class LibraryPage extends BasePage {.getByTestId("library-agent-card").filter({ hasText: agent.name });- // The "Edit agent" link is inside the three-dot dropdown menu.+ // The "Edit workflow" link is inside the three-dot dropdown menu.// Open the menu first, then click the builder link.const menuTrigger = agentCard.getByRole("button", {name: "More actions",@@ -317,7 +317,7 @@ export class LibraryPage extends BasePage {console.log(`getting search input value`);try {const searchInput = this.page.getByRole("textbox", {- name: "Search agents",+ name: "Search workflows",});return await searchInput.inputValue();} catch {@@ -513,7 +513,9 @@ export async function clickRunButton(page: Page): Promise<void> {const setupTaskButton = page.getByRole("button", {name: /Setup your task/i,});- const newTaskButton = page.getByRole("button", { name: /^New agent task$/i });+ const newTaskButton = page.getByRole("button", {+ name: /^New workflow task$/i,+ });const rerunTaskButton = page.getByRole("button", { name: /Rerun task/i });const runNowButton = page.getByRole("button", { name: /Run now/i });const actionButtons = [@@ -827,7 +829,7 @@ async function getVisibleAgentDetailSurface(page: Page): Promise<string> {const visibleSurfaces: Array<[string, Locator]> = [["about-agent",- page.getByText("About this agent", { exact: true }).first(),+ page.getByText("About this workflow", { exact: true }).first(),],["setup-task",@@ -835,7 +837,7 @@ async function getVisibleAgentDetailSurface(page: Page): Promise<string> {],["new-task",- page.getByRole("button", { name: /^New agent task$/i }).first(),+ page.getByRole("button", { name: /^New workflow task$/i }).first(),],["scheduled-tab", page.getByRole("tab", { name: /^Scheduled$/i }).first()],];@@ -1165,7 +1167,7 @@ export async function importAgentFromFile(}const uploadFailed = await page- .getByText("Error Uploading agent")+ .getByText("Error Uploading workflow").isVisible().catch(() => false);if (uploadFailed) {@@ -1264,7 +1266,11 @@ async function waitForExportActionSurface(.poll(async () => {if (- await getFirstVisibleLocator(page, "button", "Export agent to file")+ await getFirstVisibleLocator(+ page,+ "button",+ "Export workflow to file",+ )) {return "direct";}@@ -1279,7 +1285,7 @@ async function waitForExportActionSurface().not.toBe("pending");- if (await getFirstVisibleLocator(page, "button", "Export agent to file")) {+ if (await getFirstVisibleLocator(page, "button", "Export workflow to file")) {return "direct";}@@ -1311,7 +1317,7 @@ export async function clickExportAgent(page: Page): Promise<void> {const directExportButton = await getFirstVisibleLocator(page,"button",- "Export agent to file",+ "Export workflow to file",);if (!directExportButton) {throw new Error(@@ -1338,7 +1344,7 @@ export async function clickExportAgent(page: Page): Promise<void> {const exportMenuItem = await getFirstVisibleLocator(page,"menuitem",- "Export agent to file",+ "Export workflow to file",);if (exportMenuItem) {await exportMenuItem.click({ timeout: 15000 });diff --git a/autogpt_platform/frontend/src/playwright/pages/marketplace.page.ts b/autogpt_platform/frontend/src/playwright/pages/marketplace.page.tsindex 8dc40269cd..2ff7ecc633 100644--- a/autogpt_platform/frontend/src/playwright/pages/marketplace.page.ts+++ b/autogpt_platform/frontend/src/playwright/pages/marketplace.page.ts@@ -38,7 +38,7 @@ export class MarketplacePage extends BasePage {async getMarketplaceTitle(page: Page) {const { getText } = getSelectors(page);- return getText("Explore AI agents", { exact: false });+ return getText("Explore AI workflows", { exact: false });}async getCreatorsSection(page: Page) {@@ -231,7 +231,7 @@ export class MarketplacePage extends BasePage {await expect(publishAgentModal).toBeVisible();await expect(publishAgentModal.getByText(- "Pick the saved agent version you want to send to marketplace review.",+ "Pick the saved workflow version you want to send to marketplace review.",),).toBeVisible();@@ -246,7 +246,7 @@ export class MarketplacePage extends BasePage {.click();await expect(- publishAgentModal.getByText("Write a bit of details about your agent"),+ publishAgentModal.getByText("Write a bit of details about your workflow"),).toBeVisible();const suffix = Date.now().toString().slice(-6);diff --git a/autogpt_platform/frontend/src/playwright/utils/signup.ts b/autogpt_platform/frontend/src/playwright/utils/signup.tsindex 0f3cf48651..9255572832 100644--- a/autogpt_platform/frontend/src/playwright/utils/signup.ts+++ b/autogpt_platform/frontend/src/playwright/utils/signup.ts@@ -77,7 +77,7 @@ export async function signupTestUser(} else if (ignoreOnboarding || currentUrl.includes("/marketplace")) {await page.getByText(- "Bringing you AI agents designed by thinkers from around the world",+ "Bringing you AI workflows designed by thinkers from around the world",).first().waitFor({ state: "visible", timeout: 10000 });