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

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.1.2
File Size Uploaded Provenance
fairway_kit-0.1.2.tar.gz 59.9 kB With provenance Details

Built distribution (wheel)

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

Total release size: 80.1 kB

Release files / fairway_kit-0.1.2.tar.gz

Download URL fairway_kit-0.1.2.tar.gz
Size 59.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1ba014fc1973d851f818afde305eeab187371ce45d74157fe13a71c2409d005f
BLAKE2b-256 checksum
How to use checksums
dccf3f7d02f9759244ea29d58d434df6ec7f799ca4f21f4544cfe8537452a382
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.1.2-py3-none-any.whl

Download URL fairway_kit-0.1.2-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0cc149e68d0a81fa40365debc7ce385e26d8215012030bb1d2c39d17b445ebac
BLAKE2b-256 checksum
How to use checksums
a6ec9b17071c1a2764c3d20c7667f288fd6700d526bcfce209ad14e035a01266
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.1.2

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