Skip to content

feat(aider): Add Coder Tasks and AgentAPI support #253

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AJ0070
Copy link

@AJ0070 AJ0070 commented Jul 25, 2025

Closes #239
/claim #239

Description

This PR updates the Aider module to support Coder Tasks and AgentAPI. This enables users to interact with Aider through a web-based chat interface within their Coder workspace and allows Aider to report task progress back to the Coder UI.

This change refactors the module to use the existing agentapi module, which handles the installation and management of the AgentAPI server. The Aider startup process is now managed by agentapi, which launches Aider and connects it to the web UI.

The module has been updated to:

  • Integrate the agentapi module for the web interface and task reporting.
  • Configure Aider to report tasks via the Coder Mission Control Plane (MCP).
  • Add install.sh and start.sh scripts to manage the Aider process through AgentAPI.
  • Update the Coder App to launch the AgentAPI web interface.

Type of Change

  • New module
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Path: registry/coder/modules/aider
New version: v1.2.0
Breaking change: [ ] Yes [x] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun run fmt)
  • Changes tested locally

Related Issues

None

@AJ0070
Copy link
Author

AJ0070 commented Jul 25, 2025

This isn't ready for review yet, but since it's been assigned to me for a week, I wanted to keep the maintainers in the loop. I've created this draft PR and will be updating it with my progress on the issue. I'll remove the unrelated files soon.

@AJ0070
Copy link
Author

AJ0070 commented Jul 25, 2025

aider.mp4

@AJ0070
Copy link
Author

AJ0070 commented Jul 25, 2025

@matifali Although this PR is still in draft and not yet ready for formal review, I'm open to any suggestions to better align it with your expectations. I've attached some videos—would appreciate it if you could take a look and let me know if I'm heading in the right direction.

@AJ0070
Copy link
Author

AJ0070 commented Jul 26, 2025

@bpmct Could you take a look at the video and let me know if this is along the lines of what you were expecting?

@bpmct
Copy link
Member

bpmct commented Jul 26, 2025

Hey @AJ0070. This is excellent progress! To fix the tasks issue, see this template: https://registry.coder.com/templates/coder-labs/tasks-docker

And these docs on how to configure tasks support: https://coder.com/docs/ai-coder/tasks#option-2-create-or-duplicate-your-own-template.

In a particular, AgentAPI should be the sidebar app and an additional app for previewing

@AJ0070
Copy link
Author

AJ0070 commented Jul 26, 2025

@bpmct Thanks for the helpful feedback! I’ll work those suggestions into the next commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aider Module: Tasks+AgentAPI Support
2 participants