Allow agents to be added to projects

Implement project-level agent access similar to existing flow functionality (reference issue #557560 (closed)).

Background:

Currently agents exist at a global level, but users need the ability to associate agents with specific projects for better organization and access control

Edited by 🤖 GitLab Bot 🤖