banghuazhao/swift-ai-agent-demo
🤖 Native iOS implementation of the ReAct (Reasoning + Acting) AI agent pattern with SwiftUI. Watch AI think, act, and solve problems step-by-step using OpenAI's GPT models.
This is a demonstration tool for developers who want to understand how an AI can "think" and "act" to solve problems on an iPhone or iPad. It takes your natural language task requests and shows you, step-by-step, how an AI agent reasons through the problem and uses digital tools (like reading/writing files or getting the current time) to achieve a result. It's designed for mobile app developers interested in integrating advanced AI behaviors into their iOS applications.
No commits in the last 6 months.
Use this if you are an iOS developer looking to learn, visualize, and implement intelligent AI agents directly within native mobile applications using Swift and SwiftUI.
Not ideal if you are looking for an off-the-shelf, end-user AI assistant for general productivity, or if you are not an iOS developer.
Stars
13
Forks
1
Language
Swift
License
MIT
Category
Last pushed
Aug 03, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/banghuazhao/swift-ai-agent-demo"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
OpenDive/OpenAIKit
Swift Package for OpenAI's API
mbabicz/SwiftAI
iOS app that features a chat powered by ChatGPT and DALL·E 2
MaxiDonkey/DelphiGenAI
The GenAI API wrapper for Delphi seamlessly integrates OpenAI’s latest models (gpt-5 serie),...
alfianlosari/ChatGPTSwift
Access ChatGPT API using Swift
Renset/macai
All-in-one native macOS AI chat application for virtually any AI provider