Skip to content

docs: add missing examples to Python and Node bindings#1290

Merged
chaliy merged 1 commit intomainfrom
docs/1266-binding-examples
Apr 14, 2026
Merged

docs: add missing examples to Python and Node bindings#1290
chaliy merged 1 commit intomainfrom
docs/1266-binding-examples

Conversation

@chaliy
Copy link
Copy Markdown
Contributor

@chaliy chaliy commented Apr 14, 2026

Summary

  • Add data_pipeline.py and llm_tool.py Python examples
  • Add k8s_orchestrator.mjs Node example
  • Update CI workflows to smoke-test new examples

Details

Python examples:

  • data_pipeline.py — CSV processing with awk/sort/uniq, JSON transformation with jq, VFS intermediate files, async pipeline
  • llm_tool.py — BashTool metadata, system_prompt(), simulated tool-call loop, error handling

Node example:

  • k8s_orchestrator.mjs — ScriptedTool with 12 mock K8s API tools, mirrors Python k8s_orchestrator.py

CI updates:

  • Added new examples to smoke test jobs in python.yml and js.yml

Test plan

  • Examples are self-contained (no external dependencies)
  • Examples follow existing style patterns
  • CI smoke test jobs updated

Closes #1266

Python examples:
- data_pipeline.py: CSV processing, JSON transformation, log analysis,
  VFS intermediate files, async pipeline, report generation
- llm_tool.py: BashTool metadata, system prompt, simulated tool-call
  loop, error handling, generic adapter pattern

Node example:
- k8s_orchestrator.mjs: 12 mock K8s API tools via ScriptedTool,
  cluster health report, pod diagnosis, scaling, namespace inventory

CI: added new examples to smoke test jobs in python.yml and js.yml.

Closes #1266
@chaliy chaliy merged commit 3a22e55 into main Apr 14, 2026
27 checks passed
@chaliy chaliy deleted the docs/1266-binding-examples branch April 14, 2026 12:55
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.

docs: add missing examples to Python and Node bindings

1 participant