Skip to main content

fairway (backend)

The Python half of fairway, a dev kit for building local, agent-backed applications with durable, resumable chat.

from fastapi import FastAPI
from fairway import mount_agent_chat
from fairway.adapters.claude_sdk import ClaudeSDKRunner

app = FastAPI()
store, registry = mount_agent_chat(
    app,
    db_path="./chat.db",
    runner=ClaudeSDKRunner(model="claude-opus-4-8", auth="subscription"),
)

One call mounts the full HTTP surface: sessions, send, SSE streaming with seq-cursor replay, active-job reattach, inline tool approval, server-owned stop, and restart-safe job recovery. Any agent can drive it, since a runner is just an async callable that emits protocol events.

Pairs with the fairway-kit npm package on the frontend. Full docs and a complete example app live in the repository.

Metadata

Release files for fairway-kit 0.3.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 fairway-kit 0.3.0
File Size Uploaded Provenance
fairway_kit-0.3.0.tar.gz 74.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fairway-kit 0.3.0
File Interpreter ABI Platform
fairway_kit-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 101.9 kB

Release files / fairway_kit-0.3.0.tar.gz

Download URL fairway_kit-0.3.0.tar.gz
Size 74.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fe5a2c8dc2ef9dc9ce9431a5209adb213f0d3e3bac7926d5c329f4b765ab00aa
BLAKE2b-256 checksum
How to use checksums
93cde268c3bec365fc1ce74284dc335ec8ff20e0535b142f3ee2d0bcb445d6cc
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 Aug 10, 2026.

Transparency log

Release files / fairway_kit-0.3.0-py3-none-any.whl

Download URL fairway_kit-0.3.0-py3-none-any.whl
Size 27.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e96a6122c71259638fc5b80b8949f9dda6de8864557f77e4122bf0e077004cc3
BLAKE2b-256 checksum
How to use checksums
bee10d1e69d7fdf3161038736873bb8472a8e00b69df07e2624469f059cd9b0f
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 Aug 10, 2026.

Transparency log

Security for fairway-kit 0.3.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for fairway_kit-0.3.0.tar.gz

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 Aug 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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