[PR #4149] docs(js): add Bilig WorkPaper tool integration #4144

Open
opened 2026-06-05 19:12:55 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/4149
Author: @gregkonush
Created: 5/23/2026
Status: 🔄 Open

Base: mainHead: codex/bilig-workpaper-langchain-docs


📝 Commits (1)

  • 16b5cb6 docs(js): add Bilig WorkPaper tool integration

📊 Changes

3 files changed (+183 additions, -3 deletions)

View changed files

📝 src/docs.json (+1 -0)
src/oss/javascript/integrations/tools/bilig_workpaper.mdx (+172 -0)
📝 src/oss/javascript/integrations/tools/index.mdx (+10 -3)

📄 Description

Description

Adds a JavaScript tool integration guide for Bilig WorkPaper.

This follows the maintainer direction from langchain-ai/langchainjs#10938 to move the Bilig example out of the langchainjs examples directory and into the docs repo. The page shows a local, API-key-free WorkPaper calculation wrapped as a LangChain tool: edit an input cell, recalculate the dependent formula, serialize/restore the workbook, and return proof fields that an agent can inspect.

Related Bilig evaluator

Bilig now has a copy-paste agent/MCP evaluator page for the same workbook proof pattern used here: tool discovery, cell mutation, formula readback, JSON export, and restore proof.
https://proompteng.github.io/bilig/eval-agent-mcp.html

Changes

  • Add src/oss/javascript/integrations/tools/bilig_workpaper.mdx.
  • Link Bilig WorkPaper from the JavaScript tools index.
  • Add the page to src/docs.json navigation.
  • Align the existing tools-index integration table so focused markdown lint passes.

Validation

  • npx --yes markdownlint-cli src/oss/javascript/integrations/tools/bilig_workpaper.mdx src/oss/javascript/integrations/tools/index.mdx
  • python3 -m json.tool src/docs.json
  • Extracted the main TypeScript example from the new MDX page and ran it with @bilig/workpaper@latest, @langchain/core@latest, zod@latest, and tsx; it returned computedOutputChanged: true and restoredMatchesAfter: true.
  • UV_PYTHON=/opt/homebrew/bin/python3.14 make build

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/4149 **Author:** [@gregkonush](https://github.com/gregkonush) **Created:** 5/23/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `codex/bilig-workpaper-langchain-docs` --- ### 📝 Commits (1) - [`16b5cb6`](https://github.com/langchain-ai/docs/commit/16b5cb6ba8b3b19e8083f076b7e6173c3d6ee9b8) docs(js): add Bilig WorkPaper tool integration ### 📊 Changes **3 files changed** (+183 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/docs.json` (+1 -0) ➕ `src/oss/javascript/integrations/tools/bilig_workpaper.mdx` (+172 -0) 📝 `src/oss/javascript/integrations/tools/index.mdx` (+10 -3) </details> ### 📄 Description ## Description Adds a JavaScript tool integration guide for Bilig WorkPaper. This follows the maintainer direction from langchain-ai/langchainjs#10938 to move the Bilig example out of the langchainjs examples directory and into the docs repo. The page shows a local, API-key-free WorkPaper calculation wrapped as a LangChain tool: edit an input cell, recalculate the dependent formula, serialize/restore the workbook, and return proof fields that an agent can inspect. ## Related Bilig evaluator Bilig now has a copy-paste agent/MCP evaluator page for the same workbook proof pattern used here: tool discovery, cell mutation, formula readback, JSON export, and restore proof. https://proompteng.github.io/bilig/eval-agent-mcp.html ## Changes - Add `src/oss/javascript/integrations/tools/bilig_workpaper.mdx`. - Link Bilig WorkPaper from the JavaScript tools index. - Add the page to `src/docs.json` navigation. - Align the existing tools-index integration table so focused markdown lint passes. ## Validation - `npx --yes markdownlint-cli src/oss/javascript/integrations/tools/bilig_workpaper.mdx src/oss/javascript/integrations/tools/index.mdx` - `python3 -m json.tool src/docs.json` - Extracted the main TypeScript example from the new MDX page and ran it with `@bilig/workpaper@latest`, `@langchain/core@latest`, `zod@latest`, and `tsx`; it returned `computedOutputChanged: true` and `restoredMatchesAfter: true`. - `UV_PYTHON=/opt/homebrew/bin/python3.14 make build` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 19:12:55 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#4144