A "good" artificial intelligence made by just one person.
include/pulse,src— core neural network engine, written in pure C++17 with no external dependencies (Tensor,Layer,DenseLayer,Network,Trainer).platform/android— Android app module with a JNI bridge (PulseBridge) exposing the core engine to Java, plus an animated chat home screen (MainActivity,PulseWaveView,TypingIndicatorView,PulseResponder).platform/ios— iOS static library target with an Objective-C++ bridge (PulseBridge), plus a SwiftUI chat home screen underplatform/ios/App(ChatView,PulseWaveView,TypingIndicatorView,PulseResponder).assets/icon— app icon source and exported PNGs..github/workflows/build.yml— CI building Windows, Linux, macOS, Android and iOS.
cmake -S . -B build
cmake --build build --config Releasecd platform/android
gradle assembleDebugcmake -S platform/ios -B build-ios -G Xcode \
-DCMAKE_TOOLCHAIN_FILE=cmake/ios.toolchain.cmake \
-DPULSE_IOS_PLATFORM=SIMULATORARM64
cmake --build build-ios --config ReleaseThis only builds the static library. Xcode project files (.xcodeproj) are binary/generated artifacts that Xcode itself must create, so to run the chat app on iOS:
- In Xcode, create a new iOS App project (SwiftUI, bundle id
com.pulse.app). - Add all files from
platform/ios/Appto the project. - Add
PulseBridge.h,PulseBridge.mmand thepulsecore sources/headers to the target, and setplatform/ios/App/Pulse-Bridging-Header.has the target's Objective-C bridging header. - Replace the generated
Assets.xcassetswithplatform/ios/Assets.xcassetsand theInfo.plistwithplatform/ios/Info.plist. - Build and run.