How do I run AI agents with my own tools and stream results to my app?
We asked ChatGPT, Perplexity and Gemini this question on November 18, 2026. Here is who they named.
No brand was named by all three. FastAPI and OpenAI were named by two.
| Brand | ChatGPT | Perplexity | Gemini |
|---|---|---|---|
| Named by two | |||
| FastAPI | Named, position 1 | Not named | Named, position 4 |
| OpenAI | Not named | Named, position 4 | Named, position 7 |
| Named by one | |||
| n8n | Not named | Named, position 1 | Not named |
| React | Not named | Not named | Named, position 1 |
| Perplexity | Not named | Named, position 2 | Not named |
| Vue | Not named | Not named | Named, position 2 |
| Azure AI | Not named | Named, position 3 | Not named |
| Next.js | Not named | Not named | Named, position 3 |
| LangChain | Not named | Named, position 5 | Not named |
| LangGraph | Not named | Not named | Named, position 5 |
| CrewAI | Not named | Not named | Named, position 6 |
| Anthropic | Not named | Not named | Named, position 8 |
| Groq | Not named | Not named | Named, position 9 |
| Vercel AI SDK | Not named | Not named | Named, position 10 |
named, with its place in that answernot named
your companyIs it missing from this answer?
Run the free scanWhat each engine answered
ChatGPT
GPT-5.6, answering from model knowledge
- FastAPI
A common setup is: 1. Your app opens a streaming connection to your backend. 2. Your backend runs the agent loop. 3. The model can request your custom tools. 4. Your backend executes those tools, sends results back to the model, and continues. 5. Backend forwards model/tool events to the app using SSE or WebSockets.
Perplexity
Sonar with live web search
- n8n
- Perplexity
- Azure AI
- OpenAI
- LangChain
You can do this by exposing your own functions or HTTP endpoints as tools for the agent, then using a streaming run so your app can receive partial output, tool-call events, and the final answer as the agent works.
Gemini
Gemini 3.1, answering from model knowledge
- React
- Vue
- Next.js
- FastAPI
- LangGraph
- CrewAI
- OpenAI
- Anthropic
- Groq
- Vercel AI SDK
To run AI agents with custom tools that stream results to an app, you need a Stateful Agentic Framework (for tool orchestration) and a Streaming Protocol (like Server-Sent Events or WebSockets). Here is the architectural blueprint and the recommended technology stack to build this.
Sources Perplexity cited
Perplexity searched the web for this answer. The count is how many times the answer cited that site.
- learn.microsoft.comcited 2 times
- docs.n8n.iocited once
- docs.appian.comcited once
- docs.aws.amazon.comcited once
- hub.hcompany.aicited once
- docs.perplexity.aicited once
- github.comcited once