Skip to content

Add Court Rules integration page - #626

Open
foklepoint wants to merge 1 commit into
deepset-ai:mainfrom
foklepoint:add-court-rules
Open

foklepoint wants to merge 1 commit into
deepset-ai:mainfrom
foklepoint:add-court-rules

Conversation

@foklepoint

Copy link
Copy Markdown

Summary

Adds an integration page for Court Rules, a free reference for U.S. federal and state court rules, local rules and judge standing orders. The Court Rules maintainers are submitting it.

The page documents court-rules-haystack (repo, MIT):

  • CourtRulesRetriever returns court filing rules as Documents. The metadata carries the court, judge, rule type, citation and official source URL.
  • CourtRulesToolset gives an Agent five read-only tools: list_courts, list_judges, get_judge_rules, search_filing_rules and list_court_holidays.

Why

Filing rules differ by court and by judge: page limits, courtesy copies, pre-motion letters, e-filing and service. Court Rules extracts them from the courts' published documents and serves them through a REST API, each with a citation and the source URL. This package makes that data available in Haystack pipelines and agents. The page shows a RAG pipeline and a filing-prep agent that combines the toolset with a firm's own checklists (BM25 over an InMemoryDocumentStore).

Validation

  • Package tests: 75 passed on haystack-ai 3.0.0 and 3.2.0 (Python 3.12). CI passes on Python 3.10 to 3.13 with ruff, mypy and pytest: https://github.com/foklepoint/court-rules-haystack/actions
  • The tests use httpx.MockTransport. No API key was used and no live API call was made.
  • The RAG and agent snippets on the page are the files in examples/. They were run end to end with a scripted MockChatGenerator and stubbed Court Rules responses, not with a hosted model or the live API. Using the live API needs a free key from https://console.courtrules.app.
  • The pip install command on the page was run against the published v0.1.0 tag.

Notes

  • The package is not on PyPI yet. The page installs from a pinned GitHub tag, and the front matter has repo and no pypi.
  • The change adds integrations/court-rules.md and logos/court-rules.png (400x400, the Court Rules logo). No other file changes.
  • The type is Tool Integration. It can be changed if another type fits better.
  • Prepared by an AI coding agent on behalf of the Court Rules maintainers.

@foklepoint
foklepoint requested a review from a team as a code owner September 30, 2026 15:05
@vercel

vercel Bot commented Sep 30, 2026

Copy link
Copy Markdown

@foklepoint is attempting to deploy a commit to the deepset Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant