Skip to content
Discussion options

You must be logged in to vote

Thanks for the thorough analysis — your reading of the code is accurate. Let me address each question based on how the codebase works today.

Quick Summary

You are correct: custom tools configured via config.yaml are loaded as trusted Python plugins and execute in-process alongside the backend. The sandbox boundary only applies to specific built-in file/shell tools (bash, read_file, write_file, str_replace, ls, glob, grep), not to custom tool code itself.

Answers to Your Questions

1. Are custom tools intended to be trusted backend plugins only?

Yes. Custom tools are loaded via resolve_variable() which uses Python's importlib.import_module() to dynamically import the module and getattr() to…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Zzzzzkk98
Comment options

@Zzzzzkk98
Comment options

Answer selected by Zzzzzkk98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants