Skip to content
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

Allowing Aider to use an API-based Tool to get additional context #1540

Open
JeongJuhyeon opened this issue Sep 15, 2024 · 1 comment
Open
Labels
question Further information is requested

Comments

@JeongJuhyeon
Copy link

JeongJuhyeon commented Sep 15, 2024

Issue

Hi, first of all, Aider's an absolutely brilliant tool and highly competitive with big tech and SV backed tools, kudos!

Context

It would be super useful to be able to give "If you need some inspiration, look at www.example.com/code-examples-for-some-library" as Conventions. This would require ability not just to get the HTML of a certain page, but possibly traverse links, and so on. You may quickly reach a point where such functionality feels out of scope for Aider. But there are plenty of tools being used for this kind of purpose, including in the form of a REST API. So if Aider could send an HTTP request to www.codeexamples.com, with a description of the kind of information it's looking for, and then add the result to its context, that would be brilliant.

While opinions on the idea of "multi-agent frameworks" vary, Aider is so strong as an engineering "agent" that it could really benefit from being able to interact with other, specialized LLM-based tools.

Potential small initial feature

An initial great step would be if we could just add 20 URLs to the conventions and then have Aider pick and visit one if it thinks it needs it.

@paul-gauthier
Copy link
Owner

Thanks for trying aider and filing this issue.

You can use /web to add a URL to the context. This doc may be helpful:

https://aider.chat/docs/usage/images-urls.html

@paul-gauthier paul-gauthier added the question Further information is requested label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants