docs: use Python/Node.js bindings in SDK integration examples#225
Merged
aphoristicartist merged 1 commit intomainfrom Mar 17, 2026
Merged
docs: use Python/Node.js bindings in SDK integration examples#225aphoristicartist merged 1 commit intomainfrom
aphoristicartist merged 1 commit intomainfrom
Conversation
Replace subprocess/CLI calls with actual Infiniloom bindings in SDK examples throughout the docs. README.md: - Anthropic Claude SDK: subprocess.run → infiniloom.pack() - LangChain/LlamaIndex: CLI → infiniloom.embed() with JSON parsing docs/guides/claude-code-integration.md: - New "Using the Python Binding with Claude SDK" section - Examples: infiniloom.pack(), build_index(), analyze_impact(), get_diff_context(), embed() docs/guides/codex-integration.md: - New "Using the Node.js Binding with Vercel AI SDK / Mastra" section - Vercel AI SDK streaming example with pack() binding - Mastra agent tool example using infiniloom-node createTool - Examples: pack(), scan(), embed(), buildIndex(), analyzeImpact(), getDiffContext() Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
Benchmark ResultsBenchmarks run on Ubuntu runner. See artifacts for full results. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
All SDK integration examples were using
subprocess.run()or CLI commands instead of the actual Infiniloom Python (pip install infiniloom) and Node.js (npm install infiniloom-node) bindings. Fixed to use native bindings for better DX and performance.README.md
Before:
After:
Same fix applied to LangChain example: CLI →
infiniloom.embed()with JSON parsing.Claude Code guide — new section
"Using the Python Binding with Claude SDK" with working examples for
infiniloom.pack(),build_index(),analyze_impact(),get_diff_context(),embed().Codex guide — new section
"Using the Node.js Binding with Vercel AI SDK / Mastra" with:
pack()frominfiniloom-nodecreateToolwithinfiniloom-nodepack,scan,embed,buildIndex,analyzeImpact,getDiffContextTest plan
infiniloompackageinfiniloom-nodepackagepip install infiniloom anthropic,npm install infiniloom-node ai @ai-sdk/openai)🤖 Generated with Claude Code