Skip to content

first class langraph.js runtime - #549

Open
breardon2011 wants to merge 2 commits into
mainfrom
feat/langgraph-runtime
Open

first class langraph.js runtime#549
breardon2011 wants to merge 2 commits into
mainfrom
feat/langgraph-runtime

Conversation

@breardon2011

@breardon2011 breardon2011 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Adds langgraph as a self-hosting OpenComputer agent runtime. A LangGraph.js
graph runs as a Workers-for-Platforms Durable-Object tenant Worker — the same
hosting plane as flue (design 013), reused verbatim.

What's here

  • oc agent init --runtime langgraph — scaffolds a graph project, not a prompt.
  • @opencomputer/langgraph (sdks/langgraph) — the tenant runtime: one DO per
    session implementing the agent-Worker admit/tail contract, a durable
    DurableObjectSaver checkpointer, and ocModel gateway wiring. Graph-agnostic.
  • langgraphbuild + deployLangGraph — client-side wrangler bundle → R2 →
    byte-free deployment (langgraph_* fields).

Validation
Tenant contract proven off-prod: a harness replays the exact dispatch admit +
tailer long-poll against wrangler dev — full message-started → message-delta → message-completed → submission-settled sequence, durable memory across turns,
per-session isolation. Server-side support: diggerhq/agent-sessions#.

@socket-security

socket-security Bot commented Jul 23, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​langchain/​langgraph@​1.4.8991009297100
Addednpm/​@​langchain/​anthropic@​1.5.110010010097100
Addednpm/​@​langchain/​core@​1.2.310010010097100

View full report

@socket-security

socket-security Bot commented Jul 23, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm js-tiktoken is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: sdks/langgraph/package-lock.jsonnpm/@langchain/core@1.2.3npm/js-tiktoken@1.0.21

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/js-tiktoken@1.0.21. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm js-tiktoken is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: sdks/langgraph/package-lock.jsonnpm/@langchain/core@1.2.3npm/js-tiktoken@1.0.21

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/js-tiktoken@1.0.21. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@breardon2011
breardon2011 marked this pull request as ready for review July 23, 2026 22:45
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