René's URL Explorer Experiment


Title: RFD-based ACP HTTP and WS web transport implementation by federicociner · Pull Request #118 · agentclientprotocol/python-sdk · GitHub

Open Graph Title: RFD-based ACP HTTP and WS web transport implementation by federicociner · Pull Request #118 · agentclientprotocol/python-sdk

X Title: RFD-based ACP HTTP and WS web transport implementation by federicociner · Pull Request #118 · agentclientprotocol/python-sdk

Description: Implements the remote transport from the RFD (Streamable HTTP + WebSocket), giving ACP a standard remote transport alongside the existing stdio path. Based on the RFD for web transport and reference implementations that already exist in the Rust and TypeScript SDKs. What's included Transport seam (_transport.py): message-level Transport protocol; stdio re-expressed as NdjsonTransport with zero behavior change. Connection and connect_to_agent now accept a Transport in addition to byte streams. Streamable HTTP (http/): POST for client→server (202, except initialize which returns 200 + Acp-Connection-Id), long-lived SSE GET streams for server→client (connection- and session-scoped), DELETE to terminate. Framework-agnostic core + thin ASGI adapter. WebSocket (ws/): full-duplex upgrade on the same endpoint, multiplexing all server→client traffic onto one socket. Client transports: create_http_stream() and create_websocket_stream(). Reliability hardening Backpressure: OutboundStream awaits on a full buffer instead of silently dropping messages (a dropped response would hang the peer permanently). SSE keepalive: idle streams emit periodic keepalive comments so intermediaries don't time out healthy connections. Disconnect surfacing: HTTP client surfaces EOF when the connection-scoped SSE stream ends, so pending requests reject instead of hanging. initialize cleanup: failed/timed-out initialize tears down the connection (504/500) instead of leaking it. WebSocket cookies: client sends/stores affinity cookies.

Open Graph Description: Implements the remote transport from the RFD (Streamable HTTP + WebSocket), giving ACP a standard remote transport alongside the existing stdio path. Based on the RFD for web transport and referenc...

X Description: Implements the remote transport from the RFD (Streamable HTTP + WebSocket), giving ACP a standard remote transport alongside the existing stdio path. Based on the RFD for web transport and referenc...

Opengraph URL: https://github.com/agentclientprotocol/python-sdk/pull/118

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5761ceaf-edf0-3e30-a59d-26451d4d5351
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB164:99B56:36207D:4C6467:6B046D71
html-safe-noncee993ffe49a828ef794ddcce587a00d52c094d3a26376a56d8a67ba93a841fcad
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTY0Ojk5QjU2OjM2MjA3RDo0QzY0Njc6NkIwNDZENzEiLCJ2aXNpdG9yX2lkIjoiNTAwODMwOTAxNDMwNDY4MTMyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd52cc398012a31ff7c83436f4faebc5b0a8b61280f998c2ab15838987254a14e
hovercard-subject-tagpull_request:4042320605
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/agentclientprotocol/python-sdk/pull/118/files
twitter:imagehttps://avatars.githubusercontent.com/u/11324167?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11324167?s=400&v=4
og:image:altImplements the remote transport from the RFD (Streamable HTTP + WebSocket), giving ACP a standard remote transport alongside the existing stdio path. Based on the RFD for web transport and referenc...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/agentclientprotocol/python-sdk git https://github.com/agentclientprotocol/python-sdk.git
octolytics-dimension-user_id235308037
octolytics-dimension-user_loginagentclientprotocol
octolytics-dimension-repository_id1051445009
octolytics-dimension-repository_nwoagentclientprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1051445009
octolytics-dimension-repository_network_root_nwoagentclientprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecfb5f24c6e01d85f70804652a5107e5cac03a161
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/agentclientprotocol/python-sdk/pull/118/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fagentclientprotocol%2Fpython-sdk%2Fpull%2F118%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fagentclientprotocol%2Fpython-sdk%2Fpull%2F118%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=agentclientprotocol%2Fpython-sdk
Reloadhttps://github.com/agentclientprotocol/python-sdk/pull/118/files
Reloadhttps://github.com/agentclientprotocol/python-sdk/pull/118/files
Reloadhttps://github.com/agentclientprotocol/python-sdk/pull/118/files
agentclientprotocolhttps://github.com/agentclientprotocol
python-sdkhttps://github.com/agentclientprotocol/python-sdk
Codehttps://github.com/agentclientprotocol/python-sdk
Issues4 (4)https://github.com/agentclientprotocol/python-sdk/issues
Pull requests12 (12)https://github.com/agentclientprotocol/python-sdk/pulls
Discussionshttps://github.com/agentclientprotocol/python-sdk/discussions
Actionshttps://github.com/agentclientprotocol/python-sdk/actions
Projectshttps://github.com/agentclientprotocol/python-sdk/projects
Security and qualityhttps://github.com/agentclientprotocol/python-sdk/security
Insightshttps://github.com/agentclientprotocol/python-sdk/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fagentclientprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fagentclientprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
PsiACEhttps://github.com/PsiACE
agentclientprotocol:mainhttps://github.com/agentclientprotocol/python-sdk/tree/main
federicociner:feat/rfd-web-stransport-implementationhttps://github.com/federicociner/python-sdk/tree/feat/rfd-web-stransport-implementation
Conversation 5 https://github.com/agentclientprotocol/python-sdk/pull/118
Commits 1 https://github.com/agentclientprotocol/python-sdk/pull/118/commits
Checks 8 https://github.com/agentclientprotocol/python-sdk/pull/118/checks
Files changed https://github.com/agentclientprotocol/python-sdk/pull/118/files
Please reload this pagehttps://github.com/agentclientprotocol/python-sdk/pull/118/files
RFD-based ACP HTTP and WS web transport implementation https://github.com/agentclientprotocol/python-sdk/pull/118/files#top
Show all changes 1 commit https://github.com/agentclientprotocol/python-sdk/pull/118/files
b165e2f Initial implementation of ACP web transport, with docs and examples federicociner Jul 13, 2026 https://github.com/agentclientprotocol/python-sdk/pull/118/commits/b165e2f59d430a4aa64a70f50924652a5c507189
Clear filters https://github.com/agentclientprotocol/python-sdk/pull/118/files
Please reload this pagehttps://github.com/agentclientprotocol/python-sdk/pull/118/files
Please reload this pagehttps://github.com/agentclientprotocol/python-sdk/pull/118/files
AGENTS.md https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
web-transport.md https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-c7f3980aa91976acfe3149cc9679ddf4cb1d279141e2b425bd22eeb5319c0eb2
http_client.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-d197b0512889913ba752ad2616f0c591be63a47a92e8144fbf5b0c4add6a0382
http_server.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-6dfdb1af44b10e79e41f863201ece69ea541f6d9e7023efe280a3b9a24a64dab
ws_client.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-97e03587cc441ed4063aa23dc2efe43c476f163186bd801baaa244235c854d4c
mkdocs.yml https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2
pyproject.toml https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
_cookies.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-67b913bcb48ea5906efefce878f43e09601fcf5115c29aa47358ab801159f87e
_sse.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-69fcfba18b949429c44407f85b1c8d7b5941981e4f36eeb9f3560ee1d041eb09
_transport.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-2f1899c57639efcb935d0ad32716d3909d069a772434b629cb3137004df3f626
connection.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-c4ff2912f222ce44b1605728b619c6775ef58a4e7e45e8ac887cff0ca8c18a92
connection.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-ce8298b7ccfc6bcc33919485346cc27c78d452e0f049f50edce3b7a26a53aa2d
connection.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-6d278f025f554ad9befdec6b7bd0cf37e1a60b46d792bd5faad76b7afeab9321
core.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-a91b522ca6a9ab183cdc8dc286c1538b9f5af127b1ac44c5df85291d1bfacc47
__init__.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-8d9784a70f448d0d9747226762c9239220b32debf33f548b2c13d0e0ab519f26
asgi.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-43e0f81c5bbf88a4a9cce5a0d92d07b935cd3d8ede234f69373759ecf1ef7c42
client.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-8d7cbb6d4dee7ee235c009a3bf432416143a3c75805b97885f012743acc2317d
protocol.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-e34281a28f8090102c95b01aec1cd077933d9734afeb6c3d1638dc751d226950
server.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-845ff05f7c10b8a09224740577174eb7245686664682a556cc5822f374422295
__init__.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-8ba007cd34cfa369d3c9fef5d6d109dbeb2f99dcd1dec0f86797c3a040186be3
client.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-87f0c630e759a59ba9dcf50b82b0263e5763f0c941b03560fc270d0ab305c991
server.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-d1145282d38d071fbf8049db9e666562ea300e933b1ed835dc6663c9638e9a3e
conftest.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-b14fe2de30c8f0ca74bfb70345613fdbb5f46997af0dde6a6f8a6c37ce8a38e2
test_cookies.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-1c0cf4082ab2ad5853d359fe0ad6e754a2cace891e67a114ea37d3eee3556424
test_fixes.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-be3fc4d382a24e13114d3dc9e6324daed3a166710a03f7236265108507c787a8
test_http_client.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-fdd85ef9f61336aa557830946f441481033e042df6f66b2fbfc00c4a042aae76
test_http_server.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-7ad451458d3c040ca7c7ba4e304bec7c7eeba669cddf76cc53e4deeb2022ee58
test_loopback.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-6670cb6b3689a7c3d195824b0de19898a14c76c182630797dbdf35b845496546
test_protocol.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-b9323dd7b1c81d72b7947752377d93ac28fd3edc3e2edc67cf5f545955172bfa
test_sse.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-26f345c78338c7484939b3a12790fcf0918f5f29ca28985b8c3562f512530410
test_websocket.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-aa8843de20f72afcf90f7915cbd1e6501877122691882a499529c0b6003ed534
test_ws_cookies.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-f8ce1a0dd6be889867c3059c74bfa314f1ca2c67596c4a9847796190e701b667
test_rpc.py https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-9f384acff39a961fbf36e111457c5d0d59e7a22c45b80b160de2328deea4b038
uv.lock https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
AGENTS.mdhttps://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
View file https://github.com/federicociner/python-sdk/blob/b165e2f59d430a4aa64a70f50924652a5c507189/AGENTS.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/agentclientprotocol/python-sdk/pull/118/{{ revealButtonHref }}
https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
docs/web-transport.mdhttps://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-c7f3980aa91976acfe3149cc9679ddf4cb1d279141e2b425bd22eeb5319c0eb2
View file https://github.com/federicociner/python-sdk/blob/b165e2f59d430a4aa64a70f50924652a5c507189/docs/web-transport.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/agentclientprotocol/python-sdk/pull/118/{{ revealButtonHref }}
examples/http_client.pyhttps://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-d197b0512889913ba752ad2616f0c591be63a47a92e8144fbf5b0c4add6a0382
View file https://github.com/federicociner/python-sdk/blob/b165e2f59d430a4aa64a70f50924652a5c507189/examples/http_client.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/agentclientprotocol/python-sdk/pull/118/{{ revealButtonHref }}
examples/http_server.pyhttps://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-6dfdb1af44b10e79e41f863201ece69ea541f6d9e7023efe280a3b9a24a64dab
View file https://github.com/federicociner/python-sdk/blob/b165e2f59d430a4aa64a70f50924652a5c507189/examples/http_server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/agentclientprotocol/python-sdk/pull/118/{{ revealButtonHref }}
examples/ws_client.pyhttps://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-97e03587cc441ed4063aa23dc2efe43c476f163186bd801baaa244235c854d4c
View file https://github.com/federicociner/python-sdk/blob/b165e2f59d430a4aa64a70f50924652a5c507189/examples/ws_client.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/agentclientprotocol/python-sdk/pull/118/{{ revealButtonHref }}
mkdocs.ymlhttps://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2
View file https://github.com/federicociner/python-sdk/blob/b165e2f59d430a4aa64a70f50924652a5c507189/mkdocs.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/agentclientprotocol/python-sdk/pull/118/{{ revealButtonHref }}
https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2
https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-98d0f806abc9af24e6a7c545d3d77e8f9ad57643e27211d7a7b896113e420ed2
pyproject.tomlhttps://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/federicociner/python-sdk/blob/b165e2f59d430a4aa64a70f50924652a5c507189/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/agentclientprotocol/python-sdk/pull/118/{{ revealButtonHref }}
https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
src/acp/_cookies.pyhttps://github.com/agentclientprotocol/python-sdk/pull/118/files#diff-67b913bcb48ea5906efefce878f43e09601fcf5115c29aa47358ab801159f87e
View file https://github.com/federicociner/python-sdk/blob/b165e2f59d430a4aa64a70f50924652a5c507189/src/acp/_cookies.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/agentclientprotocol/python-sdk/pull/118/{{ revealButtonHref }}
Please reload this pagehttps://github.com/agentclientprotocol/python-sdk/pull/118/files
Please reload this pagehttps://github.com/agentclientprotocol/python-sdk/pull/118/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.