semantic-kernel-python — Claude Code subagent: setup
Configures Claude Code to write, refactor, and explain Python applications powered by the Semantic Kernel SDK.
npx claude-code-templates@latest --agent programming-languages/semantic-kernel-pythonWhat semantic-kernel-python does
This subagent steers the assistant toward Microsoft Semantic Kernel development standards in Python. It enforces asynchronous patterns across kernel executions, strict type hinting, structured exception handling, and standard plugin registration.
Projects connecting to cloud LLMs are directed toward Azure AI Foundry and Azure OpenAI connectors. Authentication focuses on DefaultAzureCredential rather than hardcoded secrets. When microsoft.docs.mcp is available in your workspace, the agent reads current documentation and repo patterns on the fly.
Running generated pipelines requires the semantic-kernel Python package installed in your local environment.
What it helps with
- build Python agents with Semantic Kernel orchestration
- implement kernel plugins with function calling schemas
- wire Azure AI Foundry connectors via DefaultAzureCredential
- refactor synchronous kernel executions to async patterns
Example prompts for the agent
- Set up a Semantic Kernel Python agent using Azure OpenAI connectors
- Write a custom plugin with function calling for my Python kernel
- Refactor this kernel setup to use DefaultAzureCredential and async methods
How to install semantic-kernel-python
1claude-code-templates
npx claude-code-templates@latest --agent programming-languages/semantic-kernel-python2Manually: put the files in place
.claude/agents/semantic-kernel-python.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/semantic-kernel-python.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/semantic-kernel-python.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about semantic-kernel-python
How to install semantic-kernel-python in Claude Code?
Run npx claude-code-templates@latest --agent programming-languages/semantic-kernel-python in your terminal.
What does semantic-kernel-python do?
It guides code generation for Python Semantic Kernel projects, enforcing async execution patterns and official Microsoft plugin designs.
Which authentication method does the subagent prefer for Azure?
The instructions require using DefaultAzureCredential for Azure-hosted AI integrations.