# Agent Orb — React Native component for Expo

> A dotted 3D orb for AI screens: nine agent states that morph into each other.

A dotted 3D status orb for AI and agent screens. Nine states, each with its own motion: comets for thinking, a scanner line for searching, twisting slices for reasoning, ripples for listening, a node mesh for tool calls, a double helix for planning and more. Change the state and the orb morphs from one motion into the next. Drawn by Skia on the UI thread at any size, in your theme or accent colour.

- Docs: https://expokit.in/docs/components/agent-orb
- Tier: Pro (ExpoKit Pro plan)
- Also called: ai orb, voice assistant orb, ai agent animation, siri orb
- Category: Feedback
- Platforms: iOS, Android, web
- Expo Go: yes, no development build needed
- npm dependencies: @shopify/react-native-skia, react-native-reanimated, react-native-worklets
- Uses ExpoKit items: kit
- Variants: Live Agent, All States, Status Lines, Chat Bubble

## Installation

This component is part of ExpoKit Pro. With a Pro plan, log the CLI in once and add it like any other item:

```bash
npx @expokit/cli@latest login
```

Plans: https://expokit.in/pricing

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `state` | `"thinking" \| "searching" \| "reasoning" \| "listening" \| "calling" \| "planning" \| "writing" \| "idle" \| "designing"` | `"thinking"` | What the agent is doing. Change it live and the orb morphs into the new motion. |
| `size` | `number` | `64` | Side length in points. 32 and under uses fewer, bolder dots. |
| `color` | `string` | `theme foreground` | Ink for the nearest dots. |
| `background` | `string` | `theme background` | What far dots fade into. Set it to the surface the orb sits on. |
| `speed` | `number` | `1` | Multiplier on the tuned speed. |
| `paused` | `boolean` | `false` | Freeze on the current frame. |
| `label` | `string` | — | Status line beside the orb, e.g. "Searching the web…". |
| `labelStyle` | `StyleProp<TextStyle>` | — | Style for the label. |
| `accessibilityLabel` | `string` | `label or state` | Screen-reader label. |
| `style` | `StyleProp<ViewStyle>` | — | Root style. |
| `className` | `string` | — | Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. |

## Behaviour & accessibility

- **Motion**: A UI-thread frame clock drives a Skia picture of depth-sorted dots. Every orb reads the same clock, so orbs on screen together stay in phase.
- **State changes**: The old motion shrinks and fades out while the new one swells in, over about half a second. Under Reduce Motion it swaps instantly.
- **Any size**: Orbs 32pt and under switch to a compact tuning with fewer, bolder dots so they stay legible inline with text.
- **Theme**: Near dots take `color` (theme foreground by default) and far dots fade toward `background`, so it reads in light, dark or any accent.
- **Label**: Pass `label` for a status-line row: the orb beside a line that breathes between 45% and full strength.
- **Reduced motion**: Shows one still frame. The label holds at full strength.
- **Screen readers**: One element announced as a busy progress bar, named by `accessibilityLabel`, `label`, or the state ("Searching…").
- **Web**: Needs CanvasKit loaded (LoadSkiaWeb). Until then the orb draws one still frame with Views.

## FAQ

### How do I make an ai orb in React Native?

Use ExpoKit's Agent Orb, a Pro component: with ExpoKit Pro, the ExpoKit CLI copies a ready-made ai orb into your Expo or React Native app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.

### Does Agent Orb work in Expo Go?

Yes. Agent Orb runs in Expo Go on iOS and Android with no development build — its packages (@shopify/react-native-skia, react-native-reanimated, react-native-worklets) are all included in Expo Go.

### How do I add Agent Orb to my Expo app?

With ExpoKit Pro, add it with the ExpoKit CLI: it copies the component's source into your app and installs @shopify/react-native-skia, react-native-reanimated, react-native-worklets, so the code is yours to change. The install command is on this page for Pro members.

### Is Agent Orb free?

Agent Orb is part of ExpoKit Pro. With a Pro plan, log the CLI in once and it installs the full source into your app.

### Can I change how Agent Orb looks?

Yes. It takes its colours, radius and light / dark mode from useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit component. The code lives in your project, so you can also edit anything directly.

## More

- Live preview, variants and code: https://expokit.in/docs/components/agent-orb
- Every ExpoKit component, screen, template and chart: https://expokit.in/llms.txt
- Install commands and props for every free component: https://expokit.in/llms-full.txt
- Pricing: https://expokit.in/pricing
