local-code-interpreter-tool: Agent for Claude Code

.github/agents/microsoft-agent-framework-python.agent.md

microsoft-agent-framework-python is an agent for Claude Code from jsturtevant/local-code-interpreter-tool. It costs 21 tokens per session (802 once invoked), scanned A, original, MIT.

Coding instructions for Microsoft Agent Framework in Python, a framework for building AI applications and agents. They require using the latest Microsoft documentation because the framework is in public preview and changes often.

In plain words
What is it for?
Building and maintaining Python applications and AI agents with Microsoft Agent Framework, using its current documentation and examples.
Why use it?
They keep code aligned with current framework patterns instead of relying on outdated API knowledge. This helps when creating, updating, refactoring, or explaining Python agent code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is jsturtevant/local-code-interpreter-tool's own configuration. It tells Claude Code how to work on local-code-interpreter-tool itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything local-code-interpreter-tool configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jsturtevant/local-code-interpreter-tool. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jsturtevant/local-code-interpreter-tool/main/.github/agents/microsoft-agent-framework-python.agent.md
Clone the repo
git clone --depth 1 https://github.com/jsturtevant/local-code-interpreter-tool

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for microsoft-agent-framework-python

README.md
[![agentmods](https://agentmods.dev/badge/agents/jsturtevant/local-code-interpreter-tool/microsoft-agent-framework-python/github.svg)](https://agentmods.dev/agents/jsturtevant/local-code-interpreter-tool/microsoft-agent-framework-python)
Your own site
<a href="https://agentmods.dev/agents/jsturtevant/local-code-interpreter-tool/microsoft-agent-framework-python"><img src="https://agentmods.dev/badge/agents/jsturtevant/local-code-interpreter-tool/microsoft-agent-framework-python/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for microsoft-agent-framework-python

Your own site · 80×15
<a href="https://agentmods.dev/agents/jsturtevant/local-code-interpreter-tool/microsoft-agent-framework-python"><img src="https://agentmods.dev/badge/agents/jsturtevant/local-code-interpreter-tool/microsoft-agent-framework-python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 802 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00802
Opus 5.5 $0.00008 $0.00321
Sonnet 5.5 $0.00004 $0.00160
Haiku 4.5 $0.00002 $0.00080

Measured 1mo ago against content hash 2b7b6245bdb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

microsoft-agent-framework-python scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/agents/microsoft-agent-framework-python.agent.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Microsoft Agent Framework Python mode instructions

You are in Microsoft Agent Framework Python mode. Your task is to create, update, refactor, explain, or work with code using the Python version of Microsoft Agent Framework.

Always use the Python version of Microsoft Agent Framework when creating AI applications and agents. Microsoft Agent Framework is the unified successor to Semantic Kernel and AutoGen, combining their strengths with new capabilities. You must always refer to the Microsoft Agent Framework documentation to ensure you are using the latest patterns and best practices.

[!IMPORTANT] Microsoft Agent Framework is currently in public preview and changes rapidly. Never rely on your internal knowledge of the APIs and patterns, always search the latest documentation and samples.

For Python-specific implementation details, refer to:

You can use the #microsoft.docs.mcp tool to access the latest documentation and examples directly from the Microsoft Docs Model Context Protocol (MCP) server.

Installation

For new projects, install the Microsoft Agent Framework package:

pip install agent-framework

When working with Microsoft Agent Framework for Python, you should:

General Best Practices:

  • Use the latest async patterns for all agent operations
  • Implement proper error handling and logging
  • Use type hints and follow Python best practices
  • Use DefaultAzureCredential for authentication with Azure services where applicable

AI Agents:

  • Use AI agents for autonomous decision-making, ad hoc planning, and conversation-based interactions
  • Leverage agent tools and MCP servers to perform actions
  • Use thread-based state management for multi-turn conversations
  • Implement context providers for agent memory
  • Use middleware to intercept and enhance agent actions
  • Support model providers including Azure AI Foundry, Azure OpenAI, OpenAI, and other AI services, but prioritize Azure AI Foundry services for new projects

Read the full file on GitHub · 63 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 63 lines · 21 tokens per session scan A 2b7b6245bdb3

Subscribe to this mod's changes

microsoft-agent-framework-python is an agent published in the GitHub repository jsturtevant/local-code-interpreter-tool (2 stars, last pushed 9mo ago), licensed MIT. It adds 21 tokens to every session and 802 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

package-reviewer

Use this agent for comprehensive Python package audits — project structure, pyproject.toml compliance, typing, testing, CI/CD, documentation, versioning, API design, packaging, security, and developer experience. Handles both targeted file reviews and full repository audits. Examples: Context: User has a Python…

oborchers/fractional-cto · 287 tokens

script-operator

Specialized in bash and Python. Can inspect/modify the environment and create/edit/execute scripts.

MadGraphTeam/MadAgents · 24 tokens

python-reviewer

Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance. Use for all Python code changes. MUST BE USED for Python projects.

GGGODLIN/claude-pr-review · 43 tokens

python-reviewer

Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance. Use for all Python code changes. MUST BE USED for Python projects.

Fmarzochi/EGC · 43 tokens