Lastbook: MIT licence, https://github.com/Immortal-Protocols/lastbook
Bundled Python packages in /opt/lastbook/lib keep their own licences (see each *.dist-info). The local AI's runner in /opt/lastbook/llm:
llama.cpp, MIT licence (LICENSE-llama.cpp.txt there).
