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.2.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.2.0
File Size Uploaded Provenance
fairway_kit-0.2.0.tar.gz 64.5 kB With provenance Details

Built distribution (wheel)

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

Total release size: 87.8 kB

Release files / fairway_kit-0.2.0.tar.gz

Download URL fairway_kit-0.2.0.tar.gz
Size 64.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f3e033f3ff957e9c9b46340cb557a1c1684e600076988cead4d1a0d8f08fb46a
BLAKE2b-256 checksum
How to use checksums
92564c8c9543e1ce0390ab50d6a7ef2c9ea95a76dd810471a50f8dec906a3524
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.2.0-py3-none-any.whl

Download URL fairway_kit-0.2.0-py3-none-any.whl
Size 23.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4d2150058fba2c2a2096c6de4acc36b1bb138e7f2e559c96131ee34dfaf9004
BLAKE2b-256 checksum
How to use checksums
e30b0b7df63d492a624667fab9c1d8ba2bfa6602bd3e73c0e95f0a4c74a29ce2
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.2.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.2.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