Have a framework how the AI is allowed to work and keep that as a git repo.
That way you can tell AI 1 to write into it and AI 2 can see where every work you do is currently standing and continue from there.