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.4.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.4.0
File Size Uploaded Provenance
fairway_kit-0.4.0.tar.gz 74.8 kB With provenance Details

Built distribution (wheel)

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

Total release size: 103.2 kB

Release files / fairway_kit-0.4.0.tar.gz

Download URL fairway_kit-0.4.0.tar.gz
Size 74.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fab12573ce0feaa3cb534533a1e359c3897726cfb4927de18a2552039755f75d
BLAKE2b-256 checksum
How to use checksums
76eab0e8310649c3e70e69dcd3607f40440adc506a6b030d917cab3c8d1b8a3a
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 11, 2026.

Transparency log

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

Download URL fairway_kit-0.4.0-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0977acaeaeaea44b532ee2f29262231a56d39bcfa900fa914e8d6a0eca7d240b
BLAKE2b-256 checksum
How to use checksums
cbad6db1cee1f1f28bc6890a971d43d332bd285922c3e76b804a670b5da478ff
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 11, 2026.

Transparency log

Security for fairway-kit 0.4.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.4.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 11, 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