Results on public projects
Run on 2026-11-19 with python corpus/run_corpus.py. Repositories were found with GitHub code search for the SDK import strings and are pinned to the commits in projects.csv. Repositories in the same group (copies of one project) count once: 20 repositories, 17 distinct projects. Results are aggregate only. OD002 (literal keys) is not reported for other people's public projects.
Streaming projects (call startStream or start_stream). The 12 OD003 hits are exactly those 12.
Projects that open a connection from browser code and release it when the page closes or the component unmounts (5 through the useOdyssey hook, 6 in their own code). The one OD005 hit only disconnects when the user switches modes.
Projects using Simulations.
Python SDK projects.
Projects using client credentials, and only to clean up old sessions.
Last commits across the corpus run from 2026-01-23 to 2026-11-05. One large repository (eyeoverthink/fraynix) is cloned sparsely to its Odyssey code, set by the paths column in projects.csv.
Checks
| Rule | What it flags | Based on |
|---|---|---|
| OD001 | API key used in browser code, or exposed through a public env prefix (NEXT_PUBLIC_, VITE_, REACT_APP_, EXPO_PUBLIC_) | Client Credentials page |
| OD002 | A literal ody_ key committed in source (the value is never printed) | Client Credentials page |
| OD003 | Streams started, but no restart when the stream ends with session_timeout at the 150-second limit | Stream Duration Limits page |
| OD004 | connect() with no disconnect() anywhere in the project | Session Management page |
| OD005 | disconnect() exists but no page-exit or unmount handler calls it on the Odyssey client | Session Management page |
| OD006 | None of the typed usage errors handled (MonthlyLimitReachedError, ConcurrentLimitReachedError, RateLimitError, StreamDurationExceededError, AccountSuspendedError) | SDK source (throwIfUsageError) |
| OD007 | odyssey from PyPI as a dependency (an unrelated project); the SDK installs from git+https://github.com/odysseyml/odyssey-python.git | Python SDK install docs |
| OD008 | A client that joined with connectWithCredentials() calls connect() to recover, which requires an API key it does not have | SDK source (requireApiKey) |
| OD009 | A server route or function that returns the raw API key (in a JSON response or any returned object) | Client Credentials page |
The React useOdyssey hook disconnects on unmount, so projects using it pass OD004 and OD005.
Limits
These are pattern checks, not a type checker. They can miss a key passed through several variables, and they treat any session_timeout handling as a restart. Public code also over-represents hackathon projects, so the corpus counts describe public code, not Odyssey's customer base.