Studio AI — the AI assistant built into K2view Web Studio — can do much of the agent development work for you. The AI Fusion - Studio extension adds two Studio AI skills for this:
Both skills follow the same principles: they read your actual project files and the actual run data rather than guessing, they never invent schema, and they stop for your approval before side-effecting steps.
For general Studio AI usage — the AI Chat, agents, modes and skills — see Getting Started with Studio AI and Skills and Slash Commands.
Installing the AI Fusion - Studio extension from K2exchange adds both skills to your project under .agents/skills/agent-builder/ and .agents/skills/researcher/, together with the extension's other files. Commit them to Git so every Studio space created from the project has them. If the skills are missing from the project (for example, they were deleted), run the Import Artifacts command of the extension (Command Palette, category Fabric-aifusion-studio) to bring them back.
Once installed, the skills are listed in the Skills & Slash Commands category of Studio AI's configuration.
Agent Builder turns a request like "create a support agent over the Customer Data Product" into a complete, deployable agent. It works in the following stages, and asks you whenever a decision is yours to make.
query, current_datetime, and fabric only if really needed), and makes sure an entity-scoped agent has a step_start hook that loads the entity instance. It creates that hook flow if none exists.agent.yaml opens in the Agent Editor.agent.yaml (description, system prompt, response guidelines, tools, hooks, skills), one domain-schema skill per domain under <LU>/AI/Skills/, any sub-agents and reference packs, and the agent's Observation/signals.yaml and Observation/widgets.yaml. It dry-runs the widget queries and fixes them before deploying.customerId), the observation signals and widgets, and what it skipped.After the build, open the agent's Preview tab to try it. See Preview and Trace.
Agent Builder is also the right tool when an existing agent "returns no data" or "doesn't know the customer". The most common cause is a missing or unwired step_start hook, and Agent Builder checks for that first. See Hooks and Inputs.
Once the agent is deployed, Agent Builder offers to build its eval suite from the business questions. The key rule is that every test case holds a real answer: each question is actually run through the deployed agent, and the agent's answer becomes the case's expected baseline. Nothing is hand-written.
The process:
step_start hook flow to learn which inputs (such as customerId) a session needs.Evals/*.csv suites and skips questions that are already covered.The generated cases appear under the agent's Evals/ folder in AI Explorer and can be run like any other case. See Running Tests and Results.
Test generation runs the agent through the Studio, so it needs a Studio development space with the agent's LU deployed.
When the agent gives a wrong, incomplete or unhelpful answer, the Analyze buttons hand the problem to Studio AI, which loads the researcher skill. There are three entry points:
Clicking Analyze opens a new Studio AI chat with the agent's LU and name, the session ID, the step (for a single answer), the session inputs, and your note or the failed dimensions. The Analyze buttons are shown only when Studio AI's Ask AI service is available — Web Studio 8.5.2 or later, with the AI features turned on. On older Studio versions the buttons are hidden.
Diagnosis is read-only. The researcher:
agent.yaml, its skills, and the flows its hooks and tools use.step_start hook) or the model settings.It then asks whether you want it to apply the fix.
If you ask it to act, the researcher follows a gated workflow:
tools or skills entry, a setting, a skill's body, wiring an existing flow into a hook) are edited directly; authoring or repairing a Broadway flow is delegated to the Broadway flow-building skill.Both skills stop for you at the points that change your project or your environment:
Review the changes Studio AI makes as you would any other change, and commit them to Git when you are satisfied.
Studio AI — the AI assistant built into K2view Web Studio — can do much of the agent development work for you. The AI Fusion - Studio extension adds two Studio AI skills for this:
Both skills follow the same principles: they read your actual project files and the actual run data rather than guessing, they never invent schema, and they stop for your approval before side-effecting steps.
For general Studio AI usage — the AI Chat, agents, modes and skills — see Getting Started with Studio AI and Skills and Slash Commands.
Installing the AI Fusion - Studio extension from K2exchange adds both skills to your project under .agents/skills/agent-builder/ and .agents/skills/researcher/, together with the extension's other files. Commit them to Git so every Studio space created from the project has them. If the skills are missing from the project (for example, they were deleted), run the Import Artifacts command of the extension (Command Palette, category Fabric-aifusion-studio) to bring them back.
Once installed, the skills are listed in the Skills & Slash Commands category of Studio AI's configuration.
Agent Builder turns a request like "create a support agent over the Customer Data Product" into a complete, deployable agent. It works in the following stages, and asks you whenever a decision is yours to make.
query, current_datetime, and fabric only if really needed), and makes sure an entity-scoped agent has a step_start hook that loads the entity instance. It creates that hook flow if none exists.agent.yaml opens in the Agent Editor.agent.yaml (description, system prompt, response guidelines, tools, hooks, skills), one domain-schema skill per domain under <LU>/AI/Skills/, any sub-agents and reference packs, and the agent's Observation/signals.yaml and Observation/widgets.yaml. It dry-runs the widget queries and fixes them before deploying.customerId), the observation signals and widgets, and what it skipped.After the build, open the agent's Preview tab to try it. See Preview and Trace.
Agent Builder is also the right tool when an existing agent "returns no data" or "doesn't know the customer". The most common cause is a missing or unwired step_start hook, and Agent Builder checks for that first. See Hooks and Inputs.
Once the agent is deployed, Agent Builder offers to build its eval suite from the business questions. The key rule is that every test case holds a real answer: each question is actually run through the deployed agent, and the agent's answer becomes the case's expected baseline. Nothing is hand-written.
The process:
step_start hook flow to learn which inputs (such as customerId) a session needs.Evals/*.csv suites and skips questions that are already covered.The generated cases appear under the agent's Evals/ folder in AI Explorer and can be run like any other case. See Running Tests and Results.
Test generation runs the agent through the Studio, so it needs a Studio development space with the agent's LU deployed.
When the agent gives a wrong, incomplete or unhelpful answer, the Analyze buttons hand the problem to Studio AI, which loads the researcher skill. There are three entry points:
Clicking Analyze opens a new Studio AI chat with the agent's LU and name, the session ID, the step (for a single answer), the session inputs, and your note or the failed dimensions. The Analyze buttons are shown only when Studio AI's Ask AI service is available — Web Studio 8.5.2 or later, with the AI features turned on. On older Studio versions the buttons are hidden.
Diagnosis is read-only. The researcher:
agent.yaml, its skills, and the flows its hooks and tools use.step_start hook) or the model settings.It then asks whether you want it to apply the fix.
If you ask it to act, the researcher follows a gated workflow:
tools or skills entry, a setting, a skill's body, wiring an existing flow into a hook) are edited directly; authoring or repairing a Broadway flow is delegated to the Broadway flow-building skill.Both skills stop for you at the points that change your project or your environment:
Review the changes Studio AI makes as you would any other change, and commit them to Git when you are satisfied.