vilanobeachflorida/phpclaw ? reverse-engineered prompt
Reverse engineered prompt
Build me a self hosted AI agent in PHP that I can run on my own server and talk to from the terminal or over HTTP from other apps on my network.
I want it to feel like a simple chat shell at first, but with an agent loop so it can keep working on a task, use tools, read results, and stop when it is done. It should support local and cloud models, especially Ollama, OpenAI, and Claude, with a setup flow that helps me configure providers interactively and saves the settings safely.
Please include the useful everyday tools too, like reading and writing files, listing folders, running commands, fetching web pages, searching code, running tests, and sending notifications. If you need current docs for any provider or PHP package, look them up online.
Make it easy to install, easy to start chatting, and make sure it can run on a home server or VPS without needing anything fancy.
Are you gonna build this?
make sure you review the code using arcumet