Skip to content

About

ChatGPT integration Apple Intelligence & Siri.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ChatGPT Intelligence Bridge — iPhone-first

Robert Software Labs

Default runtime: Apple Shortcuts on iPhone
Default strategy: on-device first, no network requests
Output: Siri speaks the answer
Server: optional; not required for normal use

The simple version

The default CIB is one iPhone Shortcut. Siri captures the request, the Shortcuts Use Model action runs the selected On-Device model, and Speak Text reads the result.

The default path does not require:

  • A hosting provider, server, domain, or Docker deployment.
  • An OpenAI API key, API billing, or a bridge token.
  • GitHub Actions at runtime.
  • A database, Redis, or conversation-history service.
  • Multiple Shortcuts or separate provider-specific automations.

The JSON file in shortcuts/ is a build manifest, not an importable Apple Shortcut file. Apple does not provide a universal JSON-to-Shortcut importer.

Default request flow

  1. Siri starts ChatGPT Intelligence Bridge and captures the user's request with Dictate Text.
  2. Use Model is explicitly set to On-Device.
  3. The model produces a local answer.
  4. Speak Text reads that answer.
  5. If the model returns the NEED_CLOUD marker, the Shortcut speaks a short notice that local processing could not complete the request. It does not call a server or silently switch to a cloud model.

Important: Do not replace On-Device with a cloud or extension model if the goal is to avoid network use and additional charges. If the On-Device option is unavailable, stop and check device language, region, and Apple Intelligence availability rather than silently selecting another provider.

Build the single Shortcut on iPhone

Create one Shortcut named ChatGPT Intelligence Bridge with these actions:

  1. Dictate Text — save the result as UserRequest.
  2. Use Model — choose On-Device, pass UserRequest as input, and use the instructions in shortcuts/local-model-prompt.txt. Save the result as LocalResult.
  3. If LocalResult begins with NEED_CLOUD:
    • Speak Text: "Não consigo concluir essa solicitação apenas com o processamento local. Nenhum serviço externo foi chamado."
  4. Otherwise:
    • Speak Text using LocalResult.

Use the Shortcuts variable picker to insert variables. Do not type variable names as ordinary text.

The complete action sequence is recorded in shortcuts/shortcut-manifest.json. Siri permissions and model availability remain controlled by iOS.

Optional remote service

The TypeScript service remains in this repository for a future, explicitly requested remote-provider integration. It is not part of the default Shortcut and should not be deployed for ordinary local use.

A remote OpenAI fallback requires a separately hosted HTTPS service and an API key. OpenAI API usage is billed separately from a ChatGPT subscription. The default configuration disables optional providers; see config/providers.json, config/bridge.config.json, and config/privacy.policy.json.

Do not create hosting accounts, API keys, tokens, or paid services just to use the default CIB.

If the optional TypeScript service is developed or tested, use:

npm ci
npm test
npm run build

The repository's GitHub Actions workflow runs CI only. It is not the runtime for Siri requests. See docs/GITHUB_ACTIONS_RUNTIME_ASSESSMENT.md.

Project layout

  • shortcuts/shortcut-manifest.json: single local-only Shortcut action manifest.
  • shortcuts/local-model-prompt.txt: local model instructions.
  • config/bridge.config.json: default local runtime configuration.
  • config/providers.json: default and optional provider policy.
  • config/privacy.policy.json: local-first privacy defaults.
  • src/: optional TypeScript HTTP bridge and remote provider adapter.
  • tests/: automated tests for the optional TypeScript service.
  • docs/DEPLOYMENT.md: optional server deployment requirements.

Privacy and limitations

  • The default Shortcut sends no prompt to a CIB server.
  • No CIB conversation history is stored.
  • Model processing location is determined by the selected On-Device option; do not assume cloud and on-device choices are equivalent.
  • Local models may not answer requests requiring live web information or remote actions.
  • The NEED_CLOUD branch is intentionally a notice, not an automatic cloud handoff.
  • Do not send passwords, authentication codes, or other secrets to an AI model.

Project status

  • The original main branch remains preserved.
  • Implementation changes are maintained on implementation/v1.0.1-foundation.
  • Pull request #1 remains a draft and has not been merged.
  • No hosting vendor has been selected, no paid service has been enabled, and no deployment has been performed.

About

ChatGPT integration Apple Intelligence & Siri.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages