In addition to unleashed and the dynamics package in this thread, some illustrative examples:
Coding agent inside Lazarus: https://forum.lazarus.freepascal.org/index.php/topic,75061.0...
Deep learning in Pascal: https://github.com/joaopauloschuler/neural-api
AI orchestration: https://github.com/gustavoeenriquez/MakerAi/tree/fpc
AI agent framework: https://github.com/FMXExpress/PasClaw
New Object Pascal compiler: https://github.com/graemeg/blaise
A lot more can be discovered on https://forum.lazarus.freepascal.org/
have fun!