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.1

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.1
File Size Uploaded Provenance
fairway_kit-0.2.1.tar.gz 65.1 kB With provenance Details

Built distribution (wheel)

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

Total release size: 88.9 kB

Release files / fairway_kit-0.2.1.tar.gz

Download URL fairway_kit-0.2.1.tar.gz
Size 65.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8c117b7494767710cba2f92b6613b8997aa2183babfe3b640fc44305a72398a3
BLAKE2b-256 checksum
How to use checksums
cbfed75071e7969e4083ee6cb89d00e0d7a7794f6d9adb02ca8cf0938b7ae9e8
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.1-py3-none-any.whl

Download URL fairway_kit-0.2.1-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6655cc98b60183ca0041eaeca32c2ab700937d1c583a91b6f42eece9d2f1249
BLAKE2b-256 checksum
How to use checksums
e22cb9aea4d4feb0b39e541c3a9efa7bc3e77db31276d895f0412e80a28601f0
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.1

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.1.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