agentleFS
MicrosoftKnown publishermicrosoft/agent-framework/python/packages/github_copilot/AGENTS.md

agent-framework / github_copilot

AGENTS.md14k starsChanged 10 months agoMITView on GitHub

Integration with GitHub Copilot extensions. _build_session_kwargs forwards options to the SDK verbatim except for a few keys that get an explicit default: on_permission_request (deny-all) and enable_file_hooks (False, so a session behaves the same way in every working directory). Callers opt in through default_options or per-run options. Keep such defaults to options the working directory controls: options that only shape prompt context (for example enable_host_git_operations) are deliberately left alone. When the agent applies the enable_file_hooks default and the working directory actually…

Trending

More talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 0 mentionsFeb 2026: 1 mentionMar 2026: 3 mentionsApr 2026: 5 mentionsMay 2026: 3 mentionsJun 2026: 1 mentionJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 3 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/agent-framework repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/agent-framework

The biggest 5 of 31 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 31

Talked about on GitHub, Bluesky and Hacker News (31 times).

On GitHub · 17

12 more on GitHub

On Bluesky · 10

5 more on Bluesky

The file

We split this AGENTS.md into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When the agent applies the enable_file_hooks default and the working directory actually defines hooks, _warn_once_about_unloaded_file_hooks …

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

GitHub Copilot Package (agent-framework-github-copilot)

Integration with GitHub Copilot extensions.

Main Classes

  • GitHubCopilotAgent - Agent for GitHub Copilot extensions
  • GitHubCopilotOptions - Options for Copilot agent configuration
  • GitHubCopilotSettings - Pydantic settings for configuration

Usage

from agent_framework.github import GitHubCopilotAgent

agent = GitHubCopilotAgent(...)
response = await agent.run("Hello")

Import Path

from agent_framework.github import GitHubCopilotAgent
# or directly:
from agent_framework_github_copilot import GitHubCopilotAgent

Session Option Defaults

_build_session_kwargs forwards options to the SDK verbatim except for a few keys that get an explicit default: on_permission_request (deny-all) and enable_file_hooks (False, so a session behaves the same way in every working directory). Callers opt in through default_options or per-run options. Keep such defaults to options the working directory controls: options that only shape prompt context (for example enable_host_git_operations) are deliberately left alone.

When the agent applies the enable_file_hooks default and the working directory actually defines hooks, _warn_once_about_unloaded_file_hooks logs a warning so the change in behavior is visible. It fires at most once per agent, and never when the caller set the option explicitly either way.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.