CodeAct and shell tools
Let the model write one short program that runs in a sandbox and calls your tools from inside it, compare that with normal tool calling, and see how a shell command waits for your approval.
12 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 12 minutes.
Written from the official documentation
- learn.microsoft.com/en-us/agent-framework/agents/code-act
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/context-providers/hyperlight
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/context-providers/monty
- learn.microsoft.com/en-us/agent-framework/integrations/by-component/tools/shell-tools
In this module: Harness, skills and long tasks
- The agent harnessA preconfigured agent for long tasks with many steps.Pro
- Planning, todos and loopingPlan mode, a todo list and running until the work is done.Pro
- Background responses and background agentsLong jobs that keep running while the caller moves on.Pro
- Agent SkillsPackaged instructions, resources and scripts an agent loads.Pro
- CodeAct and shell toolsLetting the agent write and run code in a sandbox.Pro