Skip to main content

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 …:stream and A2A message/stream frame Server-Sent Events with sse-starlette's EventSourceResponse, which owns the wire encoding, keepalive comments, and client-disconnect cancellation. We only shape each StreamEvent into its event/data fields.
  • Authagentship.auth ships pluggable providers; the optional OIDC path (JwtAuthProvider) delegates JWKS fetching, key-id resolution, and rotation to PyJWT's PyJWKClient. 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 the agentship-service[a2a] extra (tests/test_a2a_conformance.py) validates every AgentCard / Message / status frame against a2a-sdk's own schema, so we cannot drift from the spec. See docs/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

agentship_service-0.0.2.tar.gz (60.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentship_service-0.0.2-py3-none-any.whl (55.0 kB view details)

Uploaded Python 3

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

Hashes for agentship_service-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e3144ef49c1460c5c50d0f227951b89f30df8f9315f6d1cd22879ac5aa2c0a51
MD5 9a198112dc53e340a09db1f9cfb3e71f
BLAKE2b-256 5a2c6a60d1009b834edeea2230e7627c8eb37386be79c8fee43d12f9d70dd0a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentship_service-0.0.2.tar.gz:

Publisher: release.yml on Agent-Ship/agent-ship

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentship_service-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for agentship_service-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a12688f6f2f3ca4b98e2417425cb494463f34697214e1faa7d15b3721968b90f
MD5 dac30ac577bbceef3d4ea62382a6b378
BLAKE2b-256 bd82fb8ec30a42ab1c3a43551448a24b294d798d1b4264048cc36fd00d1603c1

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

0.0.1

2 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