AI Writing and Insights
Configure an AI provider, create or rewrite text, and chat with the open note on iPhone
Octarine for iPhone can create text at the cursor, rewrite a selection, and answer questions about the note you have open. These tools use a model and API provider you choose.
Requests use the provider's API and may incur charges from that provider.
Set Up a Provider
Open Settings → AI, then:
- Under Add a provider, choose a provider and enter its API key. Octarine validates the key before saving it, and the provider moves to Connected.
- Under Model, tap Choose a model.
- Choose a text model from one of the providers you connected.
The iPhone app currently supports OpenAI, Anthropic, DeepSeek, Google Gemini, Groq, Mistral AI, Perplexity, Together AI, and xAI. You can connect more than one provider. Tap Refresh models on the AI model page if a newly available model does not appear.
The same model is used by the writing assistant, Insights, and Ask Octarine. To switch it while you work, tap the model pill in the composer. It shows the provider's logo and a short model name, such as Sonnet 5, and opens your recent models; tap All models to search every connected model.
Custom Providers
To use another OpenAI- or Anthropic-compatible service, such as a gateway, a hosted model, or a model server on your local network, tap Custom provider at the end of Add a provider and fill in:
- API format: OpenAI or Anthropic.
- Name: how the provider appears in Octarine.
- Base URL: for example
https://example.com/v1for OpenAI-format endpoints. Leave off the trailing slash. Anthropic-format endpoints add/v1automatically. - API key: required for remote endpoints. You can leave it blank for a local
http://server.
Tap Add provider. Octarine validates the endpoint and loads its models before saving. To connect to a server on your local network, allow local network access when iOS asks. Open a custom provider again later to edit it or tap Remove provider.
API keys are stored securely on the device. Removing a provider's key disconnects it and clears the selected model if that provider was active.
The Writing Assistant
Tap the sparkle button (Writing assistant) in the editor toolbar. With text selected, the assistant rewrites the selection. With nothing selected, it creates new text at the cursor, using the whole note as context. A pill in the card shows which: Selection or Whole note.
Tap a quick-action chip above the field, or describe what you want and send it:
- With text selected, the default chips are Fix grammar, Make concise, Improve clarity, Formal tone, and Friendly tone.
- At the cursor, they are Continue writing, Summarise above, Turn into a to-do list, and Brainstorm ideas.
Tap / before the chips, or type / in the field, to see every command, including ones you added on desktop. Tap the microphone to dictate an instruction instead of typing it. While the assistant works, tap the stop button to cancel.
Prompts such as these work well at the cursor:
- "Add a short conclusion."
- "Turn the open tasks into a plan for tomorrow."
- "Write an introduction that matches the rest of this note."
Review the Result
The result appears in the note as a proposal; nothing changes until you accept it. For a rewrite, switch between:
- Changes: a word-by-word comparison, with added words highlighted and removed words shown in place.
- Original: the text before the rewrite.
- Rewrite: the clean result.
Then tap Accept to keep it, Try again for another version, or Undo to put back the original. To refine the result, type in Ask for changes…; refinements always start again from the original text.
After you accept, a Rewrite accepted or Text added toast offers Undo for a few seconds, even if you have kept typing.
Rewrites preserve structures such as headings, lists, tasks, links, and tables where possible. If the selected text changes while the model is working, Octarine leaves it alone and asks you to select it again.
Choose Quick Actions
Open Settings → AI → Quick actions, or tap Edit in the assistant's / panel. Choose Text selected or At the cursor, then:
- Under In quick actions, long-press and drag to reorder, or remove a chip. Reset returns to the defaults.
- Under More commands, tap a command to add it.
- Tap New command… to write your own. Give it a Name and a Prompt, then tap Add command. A command made for selected text runs on the selection; one made for the cursor runs with the whole note as context.
Commands you add are saved in the workspace's .octarine/ai/slash_commands.json, so they also appear in the AI menu on desktop.
Insights
Tap More in the editor header, then choose Insights. It opens on four cards:
| Card | What it gives you |
|---|---|
| Summary | The gist in a few lines |
| Open questions | What's still unresolved |
| Next steps | Tasks you can add |
| Related notes | Notes in the workspace close in meaning to this one |
Or type your own question in Ask anything about…. Once you've picked something, tabs let you move between Chat, Summary, Open questions, Next steps, and Related. Tap the Insights title to return to the cards.
Under each answer:
- Insert into note adds the answer to the end of the note.
- Copy or Try again.
- Ask next suggests up to two follow-up questions. Tap one to ask it.
Insights always includes the open note. Tap + in the composer to add other notes or folders as context. Related notes searches the workspace index on the device; tap a related note to open it.
Saved Answers and History
Insights saves each note's answers and questions, and reopens on the view you left. Each saved answer shows when it was made and with which model. If the note has changed since, a Note changed since this answer banner offers Update.
Tap the clock button for History: every saved answer and question for the note, grouped by day. Tap a question to jump to it in the chat.
Clear chat at the bottom of the Chat tab removes your questions but keeps saved card answers. Clear history at the bottom of History removes both. Neither can be undone.
Insights history follows the note when you rename or move it, and is deleted with the note.
Privacy and Context
Creating text sends your instruction and the full current note to the selected provider. Rewriting sends your instruction and selected text. Insights sends the current note, any notes or folders you attach, and the conversation for that note. Attached context is limited to 32,000 characters in total and 12,000 per note. Related notes runs on the device and sends nothing to the provider.
Your notes remain Markdown files in the workspace. Insights and chat history are saved locally on the device, while prompts and note context are processed according to the selected provider's terms and retention policy.