How can I add and execute a new cell to notebook from jupyter kernel

How can I add and execute a new cell to notebook from jupyter kernel.

I did a search and found ipylab, but it seems that is controlling the notebook from the notebook itself.

I need to control the notebook from the kernel. The notebook file name is fixed.

Echo back here. I am considering using jupyterlab js extension to communicate with the kernel, listening on the io-pub channel and using js to create new cells.