Skip to content

Implement agent injection routine. #621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DanielleMaywood opened this issue May 7, 2025 · 0 comments
Open

Implement agent injection routine. #621

DanielleMaywood opened this issue May 7, 2025 · 0 comments
Assignees
Labels
m estimated at less than 1 week of work

Comments

@DanielleMaywood
Copy link

The agent should have a routine listening for newly created dev containers.

Once a new dev container is detected, it should:

  1. Communicate with coderd to create a workspace_agents record and receive an auth_token.
  2. Detect the architecture of the dev container
  3. Check if a copy of an agent with that architecture is stored, otherwise download 4 new one.
  4. Copy that binary onto the agent.
  5. Attempt to add CAP_NET_ADMIN to the injected dev-container binary.
  6. Run the coder agent command in the dev container using the auth_token obtained earlier.
@DanielleMaywood DanielleMaywood added the m estimated at less than 1 week of work label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
m estimated at less than 1 week of work
Projects
None yet
Development

No branches or pull requests

2 participants