Files
Eduard van Valkenburg 36ce0950e4 Simplify Python hosting core (#6492)
Remove linking, multicast, durable delivery, and host push machinery from the v1 hosting core. Keep those scenarios in a proposed follow-up ADR and update channel packages, samples, docs, tests, and workspace metadata around the smaller host/channel contract.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
36ce0950e4 ยท 2026-06-12 08:34:08 +02:00
History
..

agent-framework-hosting-invocations

Minimal POST /invocations channel for agent-framework-hosting. Useful for smoke-testing, durable-task drivers, and bespoke clients that don't speak the OpenAI Responses protocol.

Wire shape

POST /invocations
{
    "message": "hello",
    "session_id": "user-42",
    "stream": false
}

Non-streaming response: {"response": "...", "session_id": "..."}. Streaming response: text/event-stream of data: lines, terminated by data: [DONE].

Usage

from agent_framework_hosting import AgentFrameworkHost
from agent_framework_hosting_invocations import InvocationsChannel

host = AgentFrameworkHost(target=my_agent, channels=[InvocationsChannel()])
host.serve()