Skip to content

Add Aider adapter #6

@jackjin1997

Description

@jackjin1997

Context

Aider is one of the most popular open-source AI coding assistants (18k+ stars). Adding it as an adapter would make our benchmark more comprehensive and attract the Aider community.

Implementation

Aider supports a CLI mode that can be adapted:

@register_adapter
class AiderAdapter(AgentAdapter):
    name = "aider"
    cli_command = "aider"
    api_key_env_var = "OPENAI_API_KEY"

    def _build_command(self, prompt: str) -> list[str]:
        return ["aider", "--yes", "--message", prompt]

With our template method pattern, this is ~15 lines of code.

Labels

Good first issue — great for first-time contributors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions