Agent Behaviors

Configure how the AI approaches tasks with built-in and custom agent behaviors.

Agent behaviors are named system prompts that shape how the AI focuses its responses and takes action. Switching behaviors changes the AI's tone, priorities, and approach without changing the underlying model or mode.

Built-in Behaviors

Omnilib includes five built-in behaviors:

Generalist

The default behavior. Balanced across coding, writing, analysis, and explanation. Use Generalist when your task spans multiple domains or when you are not sure which other behavior to pick.

Coder

Focused on software development. Prioritizes code quality, correctness, and idiomatic style. Prefers to show working code over lengthy explanation. Attentive to edge cases, error handling, and test coverage. Best for implementation tasks, debugging, and refactoring.

Writer

Focused on prose. Attentive to clarity, structure, voice, and flow. Prefers readable output over technical precision. Best for drafting documents, editing writing, restructuring arguments, and improving readability.

Teacher

Focused on explanation and understanding. Uses analogies, examples, and step-by-step breakdowns. Checks comprehension and invites follow-up questions. Best when you are learning a new concept, tool, or codebase and want to build mental models rather than just get answers.

Researcher

Focused on academic and analytical tasks. Attentive to evidence, source quality, and intellectual rigor. Prefers structured summaries and critical evaluation. Best for literature review, synthesizing sources, drafting academic writing, and interrogating assumptions.

Selecting a Behavior

Open the behavior dropdown in the chat input area. Select any behavior — the change takes effect on your next message. You can switch behaviors mid-conversation; the chat history is preserved.

Custom Behaviors

Create up to 10 behaviors in total (including the 5 built-in ones, which count toward that limit if you modify them).

Creating a Custom Behavior

  1. Go to Settings > AI > Agent Behaviors
  2. Click New Behavior
  3. Enter a name (letters and spaces only, maximum 20 characters)
  4. Write a system prompt describing the AI's focus, tone, and constraints
  5. Click Save

The new behavior appears in the dropdown in the chat input.

AI Help for Behavior Prompts

Writing an effective system prompt can be tricky. Use the AI Help button in the behavior editor:

  1. In the system prompt field, click AI Help
  2. Describe what you want the behavior to do in plain language (e.g., "A behavior for reviewing scientific papers and identifying methodological weaknesses")
  3. Omnilib generates a system prompt based on your description
  4. Review and edit the generated prompt, then save

Editing Built-in Behaviors

You can modify any built-in behavior's system prompt to adjust it for your preferences.

  1. Go to Settings > AI > Agent Behaviors
  2. Click the built-in behavior you want to change
  3. Edit the system prompt
  4. Click Save

If you want to revert a built-in behavior to its original system prompt, click Reset to Default. This does not affect custom behaviors.

Deleting Custom Behaviors

  1. Go to Settings > AI > Agent Behaviors
  2. Click the custom behavior you want to remove
  3. Click Delete

Built-in behaviors cannot be deleted, only reset.

  • AI Chat — Use behaviors in conversation
  • AI Modes — How behaviors interact with Chat, Agent, and Plan mode
  • Models — Choose which model powers your behaviors
  • Project Memory — Give behaviors persistent project context