TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Api2ai – create an API agent from any OpenAPI Spec

23 pointsby quanalmost 2 years ago
api2ai parses OpenAPI Spec to generate an agent that can make API calls. For context, I recently need to explore a handful of API suites and thought LLMs can help expedite this process. After some digging, I found OpenAPI Specs are perfect fit for function calling.<p>Based on a text prompt, api2ai can select the right endpoint and properly parse request params and make api calls. It also handles authentication, currently it supports basic auth, api keys, and bearer token schemes. The tool has helped me explore and see APIs in action without a deep dive into the docs or using postman. It’s open source and hopefully can be useful for you, too.<p>Please let me know if you have any questions or feedback.

4 comments

toomuchtodoalmost 2 years ago
Would pair nicely with Magic Loops: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36958731">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36958731</a>
cosbgnalmost 2 years ago
I&#x27;m actually working on something similar, but it&#x27;s a SAAS rather than a library, <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37037555">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37037555</a> - The benefit is that you don&#x27;t need hosting or maintenance.
rattrayalmost 2 years ago
How do you handle very large OpenAPI specs? For example, I think stripe&#x27;s is over a megabyte. What&#x27;s the summarization strategy?
评论 #37024046 未加载
byteknightalmost 2 years ago
How might this be different than Langchain open app agent?