Reddit idea: expose every OOP public method as AI agent tools to agentify legacy apps

out_of_nowhere__ · reddit · 2026-11-02

A Reddit poster proposes reusing OOP encapsulation to agentify existing software:

Open problems raised: read/write access control, prompt injection risks, and possibly middleware to prefilter tool calls.

Original post →

More from coding & agent

coding & agent channel →