chatgpt-agent-tools

Public

136 Downloads

README

ChatGPT Agent Tools for LM Studio — v0.12

A portable LM Studio tools-provider plugin with:

  • Automatic tool routing and planning
  • Web search and URL reading
  • Local workspace file tools
  • Persistent local memory notes
  • ComfyUI status, workflow submission, and history
  • Exact calculations and date/time
  • Scoped file writing
  • Allowlisted command execution
  • Restricted Python execution
  • Every user-facing setting in LM Studio's right sidebar

Portable defaults

The default workspace is generated from the current user's home folder:

  • Windows: C:/Users/<username>/Documents/LMStudioWorkspace
  • macOS: /Users/<username>/Documents/LMStudioWorkspace
  • Linux: /home/<username>/Documents/LMStudioWorkspace

The plugin creates the workspace root automatically. Users can change it in the right sidebar.

Install from LM Studio Hub

After this plugin is published, open its Hub page and choose Run in LM Studio.

CLI alternative:

lms clone spotticus/chatgpt-agent-tools
cd .\chatgpt-agent-tools
lms dev --install

Restart LM Studio, enable spotticus/chatgpt-agent-tools in the Tools panel, and review the sidebar permissions before use.

Local development

npm.cmd install --no-audit --no-fund
lms dev

Install the local build permanently:

lms dev --install

Keep the source folder outside .lmstudio when using lms dev --install.

Publish to LM Studio Hub

  • Log in:
lms login
  • Confirm that your Hub handle is spotticus. The artifact will publish as:
spotticus/chatgpt-agent-tools
  • Test locally:
npm.cmd install --no-audit --no-fund
lms dev
  • Stop dev mode with Ctrl+C, then publish:
lms push --write-revision

For later revisions:

lms push -y --write-revision

Right-sidebar configuration

All configuration is handled inside LM Studio. No settings.json is required.

Major groups:

  • Workspace and web search
  • Local/private URL access
  • ComfyUI URL
  • File read/write/overwrite policies
  • Allowed roots and file extensions
  • Command mode, allowlists, blocklists, timeout, and output limits
  • Python executable, timeout, blocked imports, and blocked patterns

List fields use one item per line.

Security notes

  • Review permissions before enabling the plugin on a new computer.
  • Command mode defaults to readOnly.
  • File overwrite and delete are disabled by default.
  • Network and package-install commands are disabled by default.
  • Python filtering is a safety gate, not a true security sandbox.
  • Never publish API keys, tokens, passwords, or private credentials.

License

MIT