You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SuperAGI agents could benefit from a set of pre-built external tools that provide web access, code execution, crypto data, and other capabilities without needing custom integration for each.
I maintain an open-source API gateway with 40+ services designed for AI agents. These could work as a SuperAGI tool pack.
Example SuperAGI tools
importrequestsGATEWAY="https://agent-gateway-kappa.vercel.app"classWebScraperTool:
name="Web Scraper"description="Scrape any webpage and return content as markdown"def_execute(self, url: str) ->str:
r=requests.post(f"{GATEWAY}/api/scraper/scrape",
json={"url": url, "format": "markdown"})
returnr.json().get("content", "")[:3000]
classCodeExecutionTool:
name="Code Runner"description="Execute Python code in a sandboxed environment"def_execute(self, code: str) ->str:
r=requests.post(f"{GATEWAY}/api/code/run",
json={"code": code, "language": "python"})
data=r.json()
returndata.get("stdout", "") +data.get("stderr", "")
classWebSearchTool:
name="Web Search"description="Search the web for current information"def_execute(self, query: str) ->str:
r=requests.get(f"{GATEWAY}/api/search/query", params={"q": query})
results=r.json().get("results", [])
return"\n".join(f"- {r[chr(39)+title+chr(39)]}: {r[chr(39)+url+chr(39)]}"forrinresults[:5])
classCryptoPriceTool:
name="Crypto Price"description="Get real-time cryptocurrency prices"def_execute(self, symbol: str) ->str:
r=requests.get(f"{GATEWAY}/api/crypto/price/{symbol}")
data=r.json()
returnf"{symbol}: ${data.get(chr(39)+price+chr(39), chr(39)+N/A+chr(39))}"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Idea
SuperAGI agents could benefit from a set of pre-built external tools that provide web access, code execution, crypto data, and other capabilities without needing custom integration for each.
I maintain an open-source API gateway with 40+ services designed for AI agents. These could work as a SuperAGI tool pack.
Example SuperAGI tools
Available services (40+)
Free tier: 200 credits, no API key needed.
Python SDK:
pip install agent-gatewayFull catalog: https://api-catalog-three.vercel.app
Would anyone find a SuperAGI tool pack useful? Happy to build one if there is interest.
Beta Was this translation helpful? Give feedback.
All reactions