Copilot Studio: Use Inline Agents Now
Microsoft Copilot Studio
7. Sept 2026 14:48

Copilot Studio: Use Inline Agents Now

von HubSite 365 über Daniel Christian [MVP]

Lead Infrastructure Engineer / Vice President | Microsoft MCT & MVP | Speaker & Blogger

Microsoft expert shows how to build inline agents in Copilot Studio workflows with Copilot Power Platform and AI Builder

Key insights

  • Inline agent: An agent scoped to a single workflow that you build directly inside a workflow step.
    It can reason, call tools, and return results without leaving the workflow designer.
  • Agent node: Add an agent node to a workflow to either pick an existing agent or create a new one inline.
    All instructions, tools, knowledge connectors, and output shapes live inside that node.
  • Instructions field: Serves as the agent’s job description and the per-run prompt.
    You can include dynamic content from earlier steps so the agent adapts to each run.
  • Inline creation: Lets you author agents where they are used, speeding setup and reducing context switching.
    Node-level testing helps validate behavior earlier in development.
  • Grounded responses: Inline agents can use external knowledge like SharePoint or public sites to provide accurate, evidence-backed answers.
    This improves reliability for tasks that need reference data.
  • Tool orchestration & reuse: Agents can call connectors and servers to execute multi-step actions when deterministic logic won’t suffice.
    Use inline agents for workflow-specific logic; promote to a published agent when you need reuse across workflows or teams.

Introduction

Daniel Christian [MVP] released a concise YouTube walkthrough showing how to create and use inline agents inside Copilot Studio workflows without leaving the workflow designer. In this news-style summary, we highlight the video’s key steps, practical examples, and implications for teams that build AI-assisted automations. The video timestamps a clear path from concept to testing, including sections on replacing legacy components and handling registration issues. Therefore, readers can follow the same workflow in their environments with fewer context switches.

The video opens with a short explanation of what an inline agent is and why it matters for workflow designers. Daniel then presents a real workflow scenario and demonstrates how to add an agent node directly in the flow, configure instructions, and run tests. Importantly, he emphasizes that you do not need to create a separate published agent before testing. As a result, teams can iterate faster when the agent’s logic is specific to one workflow.

What Inline Agents Are and How They Differ

According to the demonstration, an inline agent is an agent that lives only inside a single workflow node and carries its configuration with the workflow itself. This contrasts with a published agent, which is a reusable asset intended for use across multiple workflows and owned by a team or service. Consequently, inline agents offer locality and reduced setup friction, while published agents support reuse and centralized governance. Thus, the choice depends on whether you prioritize rapid iteration or cross-team consistency.

Daniel also points out that the node-level configuration includes the tools, knowledge sources, and output shape the agent needs to run. He highlights the Instructions field, which functions both as the agent’s job description and a per-run prompt that can reference earlier workflow data. This in-node approach keeps context close to execution, which helps when logic depends on the surrounding steps. However, keeping logic embedded can increase duplication if similar agents are needed elsewhere.

Building and Testing an Inline Agent

In the demo, Daniel walks through adding an agent node, choosing the inline creation option, and configuring tools and knowledge connectors directly in the node. He then submits a test inquiry to validate behavior, exercising node-level testing to catch mistakes earlier in development. The video shows how the agent calls tools and reads from knowledge sources such as SharePoint - Lists, producing grounded answers rather than generic completions. Therefore, the workflow author can confirm functionality without navigating to a separate studio page.

Next, the presenter demonstrates how to replace an existing component like AI Builder with an inline agent when the step requires judgment or multi-step reasoning. He explains that the inline agent can orchestrate tool calls, handle branching logic, and integrate external content within the node. This substitution reduces the need for brittle if-then logic and makes complex decisions clearer in the workflow graph. Still, designers must balance the benefits of richer logic against possible increases in per-workflow configuration complexity.

Benefits and Tradeoffs

Inline agents accelerate prototyping and simplify authoring by keeping AI logic in one place, which makes the workflow easier to read and maintain for the creator. Moreover, node-level testing shortens the feedback loop and reduces the friction of validating AI behavior during development. On the other hand, inline agents can create duplication when similar intelligence is required across many workflows, so promoting a tested inline agent to a published agent is often the right next step. Therefore, teams should weigh short-term speed against long-term maintainability when choosing a pattern.

In addition, inline agents make it simple to ground answers in specific knowledge sources and to call external tools, which increases the quality and actionability of results. However, this power brings governance challenges, such as who owns the connectors and how access is controlled. For example, the video mentions cases where an agent is not registered in a central system like Agent 365, which can complicate auditing and reuse. Thus, organizations must plan policies for promotion, registration, and lifecycle management.

Governance and Best Practices

Daniel recommends promoting inline agents to shared assets only when the logic proves useful beyond the initial workflow, which aligns with common governance advice. He also highlights testing at the node level and using the Instructions field to keep prompts clear and traceable, which helps teams debug and iterate safely. Furthermore, documenting dependencies such as connectors and knowledge sources reduces surprises when workflows move between environments. Consequently, a clear handoff process improves reliability as prototypes scale.

Finally, the video addresses practical issues like registration mismatches and replacement scenarios, showing how to resolve common blockers. Daniel’s step-by-step examples underscore that inline agents are not a silver bullet, but rather a pragmatic tool that fits specific use cases where locality and speed matter. In closing, teams should adopt inline agents for workflow-specific intelligence while preserving paths to publish and govern capabilities for broader reuse. Overall, this approach helps balance agility with enterprise controls as Copilot Studio matures.

Microsoft Copilot Studio - Copilot Studio: Use Inline Agents Now

Keywords

Inline Agents Copilot Studio, Copilot Studio workflows, Using inline agents in Copilot, Copilot inline agent tutorial, Automating workflows with Copilot Studio, Inline agents best practices, Microsoft Copilot Studio agents, Build inline agents in Copilot Studio