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

AI Agent for API Testing & Tool Generation #620

Open
ashitaprasad opened this issue Feb 23, 2025 · 10 comments
Open

AI Agent for API Testing & Tool Generation #620

ashitaprasad opened this issue Feb 23, 2025 · 10 comments
Labels
good first issue Good for newcomers

Comments

@ashitaprasad
Copy link
Member

Tell us about the task you want to perform and are unable to do so because the feature is not available

Develop an AI Agent which leverages the power of Large Language Models (LLMs) to automate and enhance the process of testing APIs. Also, simplify the process of converting APIs into structured tool definitions to enable seamless integration with popular AI agent frameworks like crewAI, smolagents, pydantic-ai, langgraph, etc.

Traditional API testing involves manually crafting requests, validating responses, and writing test cases. However, AI Agents can significantly streamline this process by generating test cases, validating API responses against expected outputs, and even suggesting improvements based on API documentation. Developers can describe test scenarios in natural language, and the agent can automatically generates API requests, parameter variations, and edge cases. It can also interpret API responses, checking for correctness, consistency, and performance benchmarks. This reduces manual effort while increasing coverage and efficiency, making API testing smarter and more efficient.

You are also required to prepare benchmark dataset & evaluations so that the right backend LLM can be selected for the end user.

@ashitaprasad ashitaprasad added the enhancement New feature or request label Feb 23, 2025
@akshayw1
Copy link
Contributor

@ashitaprasad This is an amazing idea! Automating API testing with LLMs can be a game-changer, making the process smarter and more efficient. I’ve been working on AI-powered automation and API workflows, and this aligns perfectly with what I’ve explored.

Having experience with open-source contributions and around 10-15 PR merged across 2-3 organisations and projects involving AI agents, API automation, and scalable architectures, I’d love to dive deeper into this! Also, integrating structured tool definitions with crewAI, smolagents, pydantic-ai, and langgraph is something I’m really excited about.

Let me know if I can start researching and create flow for this>

@ashitaprasad
Copy link
Member Author

@akshayw1 Sure go ahead 👍

@akshayw1
Copy link
Contributor

akshayw1 commented Feb 28, 2025

I have prepared the details doc for same with artitecture and poc ready, Is it possible to discuss @ashitaprasad

@akshayw1
Copy link
Contributor

akshayw1 commented Mar 1, 2025

?? @ashitaprasad

@MehrazRumman
Copy link

@ashitaprasad Hi ! I’m super excited about this AI Agent project for GSoC 2025 . As a Python developer with competitive programming experience, I’d love to contribute, especially on test case generation or benchmarking. @akshayw1, great to see your progress . could I take a look at your doc to align my efforts? Any specific areas you suggest I focus on? Looking forward to collaborating !

@ashitaprasad
Copy link
Member Author

ashitaprasad commented Mar 1, 2025

I have prepared the details doc for same with artitecture and poc ready, Is it possible to discuss @ashitaprasad

@akshayw1 We have updated the application guide here where you can learn how to share your idea details with architecture and implementation plan and get feedback.

@ashitaprasad
Copy link
Member Author

@ashitaprasad Hi ! I’m super excited about this AI Agent project for GSoC 2025 . As a Python developer with competitive programming experience, I’d love to contribute, especially on test case generation or benchmarking. @akshayw1, great to see your progress . could I take a look at your doc to align my efforts? Any specific areas you suggest I focus on? Looking forward to collaborating !

@MehrazRumman GSoC requires you to apply individually and not collaborate with other candidates. You can go through the updated application guide here to learn how you can share your ideas and get feedback.

@MehrazRumman
Copy link

@ashitaprasad Thank you so much for the response !

@akshayw1
Copy link
Contributor

akshayw1 commented Mar 2, 2025

Hi @ashitaprasad,

I’ve created a PR with the initial idea for the AI Agent for API Testing & Tool Generation.

Could you kindly review the PR and share any feedback on the architecture or improvements? Your insights would be really helpful in refining the approach.

Thanks!

@ashitaprasad
Copy link
Member Author

Hi @ashitaprasad,

I’ve created a PR with the initial idea for the AI Agent for API Testing & Tool Generation.

Could you kindly review the PR and share any feedback on the architecture or improvements? Your insights would be really helpful in refining the approach.

Thanks!

@akshayw1 Reviewed and added feedback.
You can start by solving this issue - #121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants