Python: Integration: AffixIO host-side attestation for tool/plugin execution (IFunctionInvocationFilter)

未关闭
#14,455 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
ai, documentation

调研方向

Start by reading the existing FunctionInvocationApproval demo under dotnet/samples/Demos/ and the IFunctionInvocationFilter documentation. The issue does not identify a target file or settle whether the contribution belongs in Semantic Kernel or Agent Framework, so get maintainer guidance before starting. Done means an approved documentation mention or minimal sample shows host-side approval before a privileged call and makes clear that the attestation is about the action, not the person's identity.

由索引模型根据 Issue 内容生成。

描述

.NET python triage

Summary

Proposal to document (and optionally sample) AffixIO as a host-side approval/attestation layer around Semantic Kernel tool and plugin execution, using the existing IFunctionInvocationFilter / function-invocation approval path.

AffixIO proves a host-side action completed (signed yes/no). It is not identity, age, or KYC. PII stays on the host.

Why this fits SK

SK already has:

  • IFunctionInvocationFilter for intercepting kernel function calls
  • the FunctionInvocationApproval demo sample under dotnet/samples/Demos/

AffixIO sits in that same place: gate privileged plugin/tool calls (secret use, remediations, admin actions) on the host before they run, then emit a signed yes/no attestation that the gate completed.

This is useful for agent orchestration where an LLM can select tools, but the enterprise needs a host-side proof that a human or policy gate actually approved the privileged call.

Minimal integration shape (no full middleware wrap)

  1. Install:
npm i affixio
# optional local MCP (stdio)
npm i @affixio/[email protected]
  1. In an IFunctionInvocationFilter (or Python equivalent filter), before invoking a privileged function:
  • call AffixIO to require host-side approval for that action
  • proceed only on signed yes
  • optionally attach the attestation id/result to logs/traces
  1. Keep AffixIO out of model prompts and out of PII paths. It attests the action, not the person.

Docs / sample ask

Happy to contribute a minimal sample (filter + AffixIO call) if maintainers want it under samples/docs. Not proposing a full AffixIO SDK wrap inside this repo.

Noting the README migration notice toward Microsoft Agent Framework; same filter/approval pattern should map there too. Filing here because SK still has the live filter APIs and approval demo.

Links

Ask

  1. Is an AffixIO mention or minimal sample under filters/approval docs welcome?
  2. Preferred target: Semantic Kernel samples, or Agent Framework equivalents?

Happy to follow maintainer guidance before any PR.

主要语言
C#
星标
28.8k
派生
4.9k
平均合并
2 天 17 小时
30 天内合并 PR
48

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/semantic-kernel 的其他 Issue

查看 microsoft/semantic-kernel 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。