<!--
{
  "documentType" : "article",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/app-extension",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "App extension"
}
-->

# App extension

Deliver app intents in an app extension or other package that lives outside your
app’s code.

## Overview

Create an app extension to run your custom app intents when your app isn’t running.
To make it easier to share your intent code between your app and app extension, you
can also place that code in a Swift package and import it into each target.

## Topics

### App extensions

[`protocol AppIntentsExtension`](/documentation/AppIntents/AppIntentsExtension)

An interface for managing an extension’s configuration.

### App intents in packages

[`protocol AppIntentsPackage`](/documentation/AppIntents/AppIntentsPackage)

A type that describes app intent definitions that aren’t part of an app
bundle and their dependencies.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)