Skip to content

docs: langchain parity table (Python ↔ TypeScript) - #254

Merged
Larry-Osakwe merged 2 commits into
mainfrom
devin/1788140503-langchain-parity-table
Aug 31, 2026
Merged

Larry-Osakwe merged 2 commits into
mainfrom
devin/1788140503-langchain-parity-table

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

The Python half of the cross-language parity documentation for the new @keycardai/langchain package (typescript-sdk#158). README-only; no code changes, and the title is unscoped so nothing releases.

Adds a "Contract parity with TypeScript" section to packages/langchain/README.md: a row per contract concept (middleware, identity factories, accessor, resources/scopes, credential, sign-in and authorization URLs, fallback identity, escape hatch, testing seam, error accessors, ungranted read, interrupt payloads, attempt cap) with Python spelling vs TypeScript spelling, plus the three deliberate divergences — the TS escape hatch is a callback (so there is no agrant), the TS middleware owns its contextSchema, and MCP composition stays Python-only in v1.

Every row was verified against both sources rather than assumed, including the error paths: get_resource_error / getResourceError, ResourceAccessError on ungranted reads, the subject_token_expired vs missing_identity sign-in reasons, and the shared 3-attempt acquisition cap.

Link to Devin session: https://app.devin.ai/sessions/3c9fc9cb3a1143f6a9d21f172a366682
Open in Devin Desktop: https://app.devin.ai/desktop/session/3c9fc9cb3a1143f6a9d21f172a366682?variant=devin
Requested by: @Larry-Osakwe

Co-Authored-By: Larry Osakwe <larry@keycard.ai>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@Larry-Osakwe
Larry-Osakwe merged commit 4ea403f into main Aug 31, 2026
5 checks passed
@Larry-Osakwe
Larry-Osakwe deleted the devin/1788140503-langchain-parity-table branch August 31, 2026 03:06
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.

3 participants