ObsiKO ObsiKO Docs

16 AI Agent

Writing alone can feel lonely, right? Meet the smart AI friend who reads, writes, and organizes your notes right alongside you!

💻🆚📱 The full agent described in this document (CLI install + login, everything from research to semantic search to mind map generation) is desktop (PC) only. But now there's a chat-only mode that works with just an API key, so you can chat with AI and organize notes on iPhone, iPad, browser, and the Mac App Store too! → 16-8 Chat-only Mode (Mobile & Web)

🚀 Want to jump straight in? The usage sub-pages below (12-1 through 12-8) walk you step by step through workflows, the LLM Wiki, recommended prompts, and chat-only mode!

💳 Confused about what's paid (credits) vs subscription? From the ⓒ badge to creating API keys → 16-9 AI Billing Guide

← Home: ObsiKO 101


Where's it hiding? 🧐

AI Agent chat panel ▲ Chat with your AI assistant in the right panel and organize notes together. (The full agent on this page is desktop-only · chat-only mode also works on web & mobile)

Pick your own AI engine 🧠

Safety first! ObsiKO's thorough protection 🛡️

Handy features worth knowing ✨

The self-review-and-fix 'loop' 🔁 (Claude only)

Write once and done? Not anymore! The agent now runs a smart loop that reviews and rewrites the notes it just wrote, on its own. Turn this on or off from the panel's Options (≡) button → 'Loop' category.

Every time a loop kicks in, the chat shows a single 🔁 line telling you which check ran and which round it was. While the critic is reviewing, the status bar also shows 'Reviewing results.'

💡 This loop is Claude-engine only (Gemini and Codex carry a task through to completion on their own).

Split big jobs & run them together — Parallel delegation 🔀 (Claude only)

Hefty jobs like "research these 10 topics and make a note for each" take forever one at a time. Turn on Options (≡) → 'Multi-engine collab' → 'Parallel delegation' and the agent splits the job into 2–8 independent subtasks that run at the same time (3 at once), then pulls everything together at the end.

⚠️ Several runs going at once can burn several times the tokens. Recommended only for genuinely big jobs like bulk research or batch cleanups! Off by default, Claude engine only.

Draw it, then delegate it — canvas as a plan 🗺️

If the AI can draw a mind map for you, why not the other way around? Sketch a folder structure or a work plan on a canvas, attach it as a reference, and say "build / organize / do it according to this canvas".

💡 Moving files works on the Claude engine only (Gemini·Codex can create, not move). For how to draw a canvas, see 11 Mind Map!

Undoing AI's changes — Change History ⏮️ (virtual worktree)

"Wait, I don't like what the AI changed — can I revert it?" Now you can! Every time the agent creates or edits files, it saves a before/after snapshot per run, so you can compare and revert anytime. It's a lightweight 'virtual worktree' — no git knowledge required.

💡 Reverting works on text files (notes, canvases, code, etc.). Large files like images or PDFs aren't compared or restored.

Agent settings live in the panel! ⚙️

AI agent settings that used to be scattered across the settings modal are now all tidily gathered in one place — the Options (≡) button in the panel header. - Top toggles: Auto-collect personal memory · Record raw conversations (these two show up on chat-only engines too → 16-11 Personal Memory) - Next toggles (desktop CLI engines): Get answers as .md · Token optimization · Detailed completion report · Relax Gemini content filter · Connect tools to Codex (the last two show a caution dialog when you turn them on, since they can affect things outside the vault). - Two one-shot buttons: Build semantic index (index everything for semantic search) · Save conversation summary (summarize this chat into a note) - Collapsible categories: Loop (see above) · Multi-engine collab · git (auto-commit, remote, push) · Semantic search embeddings (backend, model) - Multi-engine collab 🤝: the three engines (Claude, Gemini, Codex) help each other out — turn on the consult tools and the engine at work can ask another engine for a second opinion when it's stuck (via tools like ask_gemini); turn on parallel drafts & synthesis and the other engines each write a draft first, which the lead engine then cross-checks and synthesizes. Quality goes up, but so does the token bill. (The Parallel delegation toggle lives in this category too — see the section above!) - Below that: Engine API Keys fields (leave blank to use login/subscription instead) - Token usage 📊: below each key field, a running total of input/output tokens used in this app accumulates. It tracks not just chat but agent runs too (Claude, Gemini, Codex), and [Reset] lets you start counting from zero anytime. (This isn't a provider billing dashboard — it's just a reference for how much you've used within ObsiKO.) - Hover over the '?' next to each item's name for a detailed tooltip.

Turning all kinds of sources into .md — web, video, documents, images, data 📥

The agent goes beyond simple search — it can turn all sorts of material into notes (desktop). Claude gets every tool, and Gemini and Codex get most of them too (YouTube, PDF, documents, transcription, RSS, tables, document content search, semantic search, graph — plus image generation and narration (TTS), see the image & narration section below). Only image viewing and scanned-PDF OCR are Claude-exclusive.

🌐 Web & video - Gathering material via web search: give it a topic and it collects web search results (titles, summaries, dates) and organizes them into a .md file — like "summarize the latest news on ○○" (filenames and titles get an automatic YYYY-MM-DD date prefix). For stability, opening and reading pages one by one is off by default — it writes based on the search results instead. - Summarizing YouTube: give it a video URL and it pulls the captions (transcript) into a .md file. (Only works for videos with captions. More reliable with yt-dlp installed — but works without it too.) - RSS/news feeds: give it a feed URL and it neatly gathers the latest items (title, date, link, summary) into a digest.

📄 Files & documents (files in your vault or attachments dragged into the chat) - PDF (text-based): "organize this PDF for me" → it extracts text page by page and summarizes/organizes it. - PDF (scanned/image-based): even scans where the text is really an image get rendered as page images and read directly (OCR) to transcribe. (Requires poppler — free: macOS brew install poppler, Windows scoop install poppler. Up to 8 pages at a time, so for longer PDFs ask in ranges like "pages 1-10 first." Claude engine only.) - Images: it looks directly at text in scanned documents, handwriting, charts, or photos and transcribes or describes it (no separate OCR install needed). - Office & e-books: converts Word, PowerPoint, ODT, EPUB, RTF, HTML, and more into Markdown. (Requires pandoc — free) - Audio/video transcription: it transcribes lectures, podcasts, recordings, and videos that have no captions. Now transcription runs through cloud APIs (OpenAI, Gemini), so you don't even need whisper installed (if local whisper is present, that's used first). It defaults to Gemini for video and OpenAI for audio. (Besides asking the agent, you can also do this directly via right-click in the file explorer → 'Audio/Video → Note (Transcribe)' or Command Palette → 'Transcribe Audio/Video' — on every platform.) - Table data: turns CSV, TSV, and JSON files into clean Markdown tables. - Document content search: it searches through the actual body text of PDF, Word, Excel, CSV, JSON, and plain-text documents, not just regular notes, to answer "find the document that mentions ○○."

🔧 App & property lookup - App manual search: ask something like "how do I export a PDF in ObsiKO?" and the agent doesn't guess — it searches this help wiki (ObsiKO 101) directly and answers based on what it finds. (Separate from vault search, which looks through your notes.) - Find notes by property: it queries frontmatter properties like a database — "list project notes where status is in-progress," "notes with type: book and rating 4 or higher." Filter by folder, tag, and property conditions (AND), then sort. Ask about a .base table and it carries that table's conditions straight into the query. → Bases (Data Tables)

💡 pandoc, yt-dlp, and poppler are all free tools (since transcription now works via cloud API, whisper is optional). The app works fine without them installed — you'll only get a one-line install tip when you ask for that specific feature. 🛡️ Staying safe: it only reads files inside the vault plus whatever you've attached, and fetches web material safely while blocking private/internal network addresses. If there's no caption or text available, it honestly tells you "there isn't any."

Drawing pictures and reading aloud — AI image generation & narration 🎨🔊

Beyond just reading and writing, it can now draw pictures and read your text aloud! Both features work anywhere — desktop, iPhone, iPad, and web — with just an API key (an OpenAI or Gemini key, under the chat API key in Settings).

🎨 Image generation (text → picture) - Type "draw ○○" in chat and the agent creates the image, saves it in the vault's assets/ folder, and inserts it into the note. - Or select a descriptive passage → right-click → '🎨 Create Image with AI' (choose OpenAI or Gemini) and it generates an image based on that text and inserts it right below the selected text. - Draw from a reference image (sketch → picture) 🖍️: attach a sketch or photo to the chat and say "draw this based on my sketch," and it completes the picture while keeping your composition and linework (image-to-image). Perfect for coloring in and finishing a rough sketch you drew on a canvas. - When drawing people or characters, it automatically leaves room so the top of the head doesn't get cropped off. - ✨ Make a title logo: right-click → ✨ AI Create → 'Make title logo' — uses your selection (or the note title) as the wording, with 10 style presets (minimal · handwritten · neon · vintage · 3D · watercolor · web novel · game · video · book), a background choice (solid / transparent / illustrated), model and extra instructions, then inserts the finished logo into the note. Transparent backgrounds are GPT Image-only (true alpha PNG). Short wording renders most accurately!

▲ Select a description, right-click → 'Create Image with AI'. The generated picture slots in right below the selected text.

🔊 AI narration (text → voice, TTS) - Select text → right-click → '🔊 Read Aloud with AI' (OpenAI/Gemini) and it turns that text into speech, saves it to assets/, inserts a [🔊 Listen to narration] link, and starts playing right away. - To listen to a whole note, use Command Palette → 'Read Note Aloud' (if there's a selection, only that part plays). You can also just tell the agent, "read this note aloud." - The playback bar lets you adjust voice selection, preview, play/pause, seek, and speed (0.75–2×). Set a default voice in the 'AI Voice' section of Settings, or specify one directly with "read this in the ○○ voice." - Even long text starts quickly: it splits the text into chunks and starts playing as soon as the first chunk is ready, generating the rest while you listen. If the seek bar length keeps growing with a +, that means "still generating the later chunks"! - Highlighting the sentence being read 🖍️: while playing, a subtle highlight follows the sentence currently being read in the editor, and the view scrolls along with it. Toggle it with the highlighter icon on the playback bar. If you need tighter sync, turn on 'Precise narration highlight sync' in settings (uses whisper re-transcription — requires an OpenAI key, extra cost). - Playback never gets interrupted: switch to another note or keep writing while narration plays, and the playback bar stays put. Come back to the original note and sentence highlighting picks up again; if you edit the original text, only the highlighting quietly turns off (playback continues).

▲ The playback bar below the editor — voice selection, preview, play/pause, seek, speed, and the sentence-highlight toggle all in one row.

💡 Image generation, narration, and transcription are BYOK (bring-your-own-key) features that bill you per usage with each provider (OpenAI/Gemini). If you don't have a key, you'll get a prompt to add one.

Smarter search — semantic search & graph 🔎🕸️

The days of needing an exact keyword match are over! The agent searches by meaning and expands through connection structure.

How to turn it on (semantic search needs a free embedding engine, once)

Semantic search requires a local embedding engine (either one, both free): 1. Ollamaollama pull nomic-embed-text (easiest), or 2. Built-in — run npm i @huggingface/transformers in the app folder (fully self-contained, downloads the model once on first search)

In the panel's Options (≡) button → 'Semantic Search Embeddings' category (desktop), you can choose the backend (Auto/Transformers/Ollama) and model name. (Graph search needs no extra install — it works right away!)

Ready-to-use helper commands, no install needed 🎁

These come built in, no separate install needed. Just type / in the chat box to see helpers by category! (Every command's official name ends with 도우미 (helper), but as shown below, typing just the first part triggers autocomplete.) - Writing/draft /compose /craft /edit /revise /worldbuild - Study/studynote /summarize /quiz /example /errorlog /lecturenote /studyplan /homework - Research & papers/gather /excerpt /paper /litreview /factcheck /synthesize (these helpers never assert claims without a source — if they don't know, they say so!) - Docs for AI/aidoc /claudemd /skill /command /persona /harness - Zettelkasten & ontology — structure your knowledge with /permanent /connect /classify /relate /atomize /attribute, and more! → Details: 17 Structuring Knowledge

If you use the app in English or Japanese, command names switch to that language too — and it understands even if you type in a different language. 😊

One-touch LLM Wiki setup 📚

Automatic Git integration for developers (optional) 🐙


🚀 Learn more about usage (sub-pages)

These sub-pages dig deeper into real-world workflows, step by step. It's best to read them from top to bottom. - 16-1 Basic Usage — the fundamentals of putting it to work + tips - 16-2 Recipes by Scenario — writing, studying, research, structuring, conversion, mind maps - 16-3 Writing & Composition — 6 step-by-step writing helpers - 16-4 Building an LLM Wiki — building a knowledge base + using it like NotebookLM + readable file formats - 16-5 Zettelkasten & Ontology — turning notes into connected knowledge - 16-6 Recommended Prompts — copy-and-paste-ready prompts - 16-7 Prompt Helper — building prompts from blocks + creating a harness (rules & commands) - 16-8 Chat-only Mode (Mobile & Web) — use AI on iPhone and web with just an API key (web search, image viewing, note organizing) 📱 - 16-9 AI Billing Guide — what counts as subscription vs credits, and how to create API keys 💳 - 16-10 AI Sources & Privacy — verify an answer's sources ([S1], evidence list) and choose what to hide from the AI 🔍🔒 - 16-11 Personal Memory — let the AI remember you so you don't re-explain your preferences and context every time 🧠 - 16-12 Writing Helper — a structure check, questions that deepen your thinking, and editor-style coaching through 10 genre lenses ✍️


← Previous: Review & Rediscovery · Home · Next: Basic Usage