---
schema_version: "1"
id: fff422b2fd535ef07b14e49c34ddc2591ce02fdb426fd177429bd6d18f62268d
title: Android Architecture Integration
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/genai/agentforce-mobile-sdk/references/android/development-android.md
canonical_url: https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/development-android.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 18e05d497b40e3046ae138a51652afc55e5ec3e4c5e19fc904c6e6302ca3c165
products:
  - Agentforce Mobile SDK
  - Agentforce and Einstein Generative AI
---
# Android Architecture Integration

Technical reference for Android platform integration patterns and requirements.

## System Requirements

| Requirement    | Version          |
| -------------- | ---------------- |
| Android API    | 29+ (Android 10) |
| Kotlin         | 1.9.22+          |
| Android Studio | Meerkat+         |
| Compose BOM    | 2023.10.01+      |

## Architecture Patterns

| Pattern                       | Description                                               |
| ----------------------------- | --------------------------------------------------------- |
| Service-Oriented Architecture | Clean separation of concerns with network and data layers |
| Coroutines Support            | Async operations with proper lifecycle management         |
| Jetpack Compose UI            | Modern declarative UI components with Material Design     |
| Material Design Integration   | Consistent theming and styling with Android design system |

## Core Integration Points

Essential API signatures and patterns for Android integration.

### API Initialization

```kotlin
AgentforceAPI(
    network: NetworkProvider,
    credentialProvider: CredentialProvider
)
```

### Conversation Creation

```kotlin
AgentforceConversation(
    agentId: String,
    configuration: AgentforceConfiguration
)
```

### Compose UI Integration

```kotlin
@Composable
fun AgentforceChatView(
    conversation: AgentforceConversation,
    modifier: Modifier = Modifier
)
```

## Component Reference

Complete reference of Android components and services.

### UI Components

| Component                                              | Type       | Description                            |
| ------------------------------------------------------ | ---------- | -------------------------------------- |
| [AgentforceComponent](https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/agentforce-component-android.md) | Composable | Base component system for UI rendering |
| [ChatResponseButton](https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/chat-response-button-android.md)  | Composable | Interactive response buttons           |
| [RecordSelector](https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/record-selector-android.md)           | Composable | Salesforce record selection interface  |

### Core Services

| Service                                            | Purpose                                        |
| -------------------------------------------------- | ---------------------------------------------- |
| [AgentforceAPI](https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/agentforce-api-android.md)         | Network service layer for API communication    |
| [AgentforceService](https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/agentforce-service-android.md) | Backend integration and business logic         |
| [BotsAPI](https://developer.salesforce.com/docs/ai/agentforce-mobile-sdk/references/agentforce-mobile-sdk/bots-api-android.md)                     | Conversation API client for agent interactions |

## Related Documentation

- [UI Components Implementation Guide](/docs/ai/agentforce-mobile-sdk/guide/agentforce-mobile-sdk-ui-components.html) - Usage patterns and examples
- [Android Integration Guidelines](/docs/ai/agentforce-mobile-sdk/guide/agentforce-mobile-sdk-android.html) - Complete setup instructions
- [Architecture Guide](/docs/ai/agentforce-mobile-sdk/guide/agentforce-mobile-sdk-architecture.html) - Design patterns and concepts
