Skip to main content

vinc-agent-framework

Vinc for Microsoft Agent Framework. Vinc is a knowledge graph you share with AI: the decisions, records and documents your team wrote, with the reasons attached. This package brings the relevant part of it into each agent run.

Install

pip install vinc-agent-framework

Add context to every run

from agent_framework import Agent
from agent_framework.openai import OpenAIChatClient
from vinc_agent_framework import VincContextProvider

vinc = VincContextProvider()              # reads VINC_API_KEY; use a vinc_ro_ key
agent = Agent(
    client=OpenAIChatClient(),
    instructions="You review design changes.",
    context_providers=[vinc],
)
await agent.run("Why are our colour tokens stored as OKLCH?")

Before each run the provider looks up the newest user message in Vinc and, when something matches, adds a block to the instructions. The block is marked as data, not instructions, and it cites node ids the model can quote back.

  • One call per run; two when the lookup found nothing or several nodes tied, because it then widens with a search (search_fallback=False turns that off).
  • If Vinc is unreachable or the daily limit is spent, the run goes on without the block. A wrong key or space raises.
  • For a team's graph pass space="<team id>".

Let the model look things up

vinc = VincContextProvider(expose_tools=True)

adds two read-only tools, vinc_brief and vinc_search. You can also build them yourself with create_vinc_tools(client).

Writing, on purpose

The provider never stores the conversation: after_run does nothing. Record what happened when a person approved it, with a vinc_sk_ key:

from vinc_client import AsyncVincClient
from vinc_agent_framework import record_episode

writer = AsyncVincClient(api_key=WRITE_KEY)
await record_episode(
    writer,
    "Fixed contrast on the dark secondary button",
    summary="text-secondary now passes 4.5:1 on the dark surface.",
    about=["decision:tokens-are-oklch"],
)

License

MIT

Metadata

Release files for vinc-agent-framework 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vinc-agent-framework 0.1.0
File Size Uploaded
vinc_agent_framework-0.1.0.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vinc-agent-framework 0.1.0
File Interpreter ABI Platform
vinc_agent_framework-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.4 kB

Release files / vinc_agent_framework-0.1.0.tar.gz

Download URL vinc_agent_framework-0.1.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
42180bad9b0673e2b897810028a150d1de0e91b0304a3854d5bbc3c08b9d89a5
BLAKE2b-256 checksum
How to use checksums
501aafb34eebd3947b22a012479dc10756b616ade4f75e92303b7dcd4137aa49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / vinc_agent_framework-0.1.0-py3-none-any.whl

Download URL vinc_agent_framework-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43b0a5c2ba8f5bc3e608e7500d362c341d79f5c9083b583a564bfec545f86634
BLAKE2b-256 checksum
How to use checksums
8477baa04a92df806cae8b0b880a9408c1fc2067457658974a1f73d2a1279cd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page