agentship-service
The AgentShip runtime service — the REST / SSE / WebSocket surface that turns a built agent into an HTTP API, with pluggable authentication adapters and, above all, tenant isolation.
This is the part of the stack a gateway cannot replace. A gateway (agentgateway) routes requests and can authenticate them at the edge; but only the app can guarantee that every stored read and write is scoped to the authenticated tenant. That guarantee lives here.
from agentship.auth import ApiKeyAuthProvider, EnvApiKeyStore
from agentship_service import create_app
app = create_app(auth=ApiKeyAuthProvider(EnvApiKeyStore()))
Integrations (we wire, we don't reinvent)
- Streaming —
/v1 …:streamand A2Amessage/streamframe Server-Sent Events withsse-starlette'sEventSourceResponse, which owns the wire encoding, keepalive comments, and client-disconnect cancellation. We only shape eachStreamEventinto its event/data fields. - Auth —
agentship.authships pluggable providers; the optional OIDC path (JwtAuthProvider) delegates JWKS fetching, key-id resolution, and rotation to PyJWT'sPyJWKClient. Tenant isolation on every read/write is the part that stays here. - A2A — we speak the protocol with our own thin Pydantic wire models rather than pull in the
protobuf-first
a2a-sdk. A drift guard under theagentship-service[a2a]extra (tests/test_a2a_conformance.py) validates every AgentCard / Message / status frame againsta2a-sdk's own schema, so we cannot drift from the spec. Seedocs/decisions/0001-integrate-not-invent.md.
See agentship serve for the one-command server, and the phase-04 spec for the full
endpoint contract.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentship_service-0.0.2.tar.gz.
File metadata
- Download URL: agentship_service-0.0.2.tar.gz
- Upload date:
- Size: 60.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3144ef49c1460c5c50d0f227951b89f30df8f9315f6d1cd22879ac5aa2c0a51
|
|
| MD5 |
9a198112dc53e340a09db1f9cfb3e71f
|
|
| BLAKE2b-256 |
5a2c6a60d1009b834edeea2230e7627c8eb37386be79c8fee43d12f9d70dd0a7
|
Provenance
The following attestation bundles were made for agentship_service-0.0.2.tar.gz:
Publisher:
release.yml on Agent-Ship/agent-ship
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentship_service-0.0.2.tar.gz -
Subject digest:
e3144ef49c1460c5c50d0f227951b89f30df8f9315f6d1cd22879ac5aa2c0a51 - Sigstore transparency entry: 2753231287
- Sigstore integration time:
-
Permalink:
Agent-Ship/agent-ship@62da5aef4b6b7ebef8111e1b020a0064973a71f2 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/Agent-Ship
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@62da5aef4b6b7ebef8111e1b020a0064973a71f2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentship_service-0.0.2-py3-none-any.whl.
File metadata
- Download URL: agentship_service-0.0.2-py3-none-any.whl
- Upload date:
- Size: 55.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a12688f6f2f3ca4b98e2417425cb494463f34697214e1faa7d15b3721968b90f
|
|
| MD5 |
dac30ac577bbceef3d4ea62382a6b378
|
|
| BLAKE2b-256 |
bd82fb8ec30a42ab1c3a43551448a24b294d798d1b4264048cc36fd00d1603c1
|
Provenance
The following attestation bundles were made for agentship_service-0.0.2-py3-none-any.whl:
Publisher:
release.yml on Agent-Ship/agent-ship
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentship_service-0.0.2-py3-none-any.whl -
Subject digest:
a12688f6f2f3ca4b98e2417425cb494463f34697214e1faa7d15b3721968b90f - Sigstore transparency entry: 2753231330
- Sigstore integration time:
-
Permalink:
Agent-Ship/agent-ship@62da5aef4b6b7ebef8111e1b020a0064973a71f2 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/Agent-Ship
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@62da5aef4b6b7ebef8111e1b020a0064973a71f2 -
Trigger Event:
push
-
Statement type: