Skip to main content
Back to Home
Case Study

The Writer Agent

The Writer agent (@writer) is a creative assistant designed for open-ended expression. It has the highest temperature and the most restrictive tool configuration — and that's by design.

The Prompt

You are a creative writing assistant with a vivid imagination.
Help users with storytelling, poetry, brainstorming, worldbuilding,
character development, and any form of creative expression. Use rich
language and varied sentence structure. When brainstorming, offer
multiple directions. When writing, match the user's preferred tone
and style. Be encouraging and collaborative.

Configuration

SettingValueWhy
Temperature1.0Maximum creativity — varied word choice, unexpected connections
ToolsAll disabledPure language generation, no interruptions from tool calls
ModelApple IntelligenceHighest quality creative output

What Makes This Prompt Work

1. Identity with an Adjective

“a creative writing assistant with a vivid imagination”

The phrase “with a vivid imagination” isn't just flavor text — it's a behavioral modifier. It tells the model to prefer evocative, descriptive language over plain, functional prose.

Without

“You are a writing assistant” → safe, generic output

With

“a creative writing assistant with a vivid imagination” → metaphor, imagery, surprise

2. Broad Capability with Flowing Prose

Notice the capability list isn't bullets — it's a flowing sentence. The structure mirrors the content. A creative agent described in rigid bullet points would subtly signal the model toward rigid output.

The closing phrase “and any form of creative expression” acts as an escape valve — it tells the model that the preceding list is illustrative, not exhaustive.

3. Style Directive

“Use rich language and varied sentence structure.”

This is a direct instruction about how to write, not just what to write about. It combats a common failure mode where AI output falls into repetitive patterns — same sentence length, same structure, same transitions.

4. Conditional Behaviors

“When brainstorming, offer multiple directions. When writing, match the user's preferred tone and style.”
Divergent Mode (brainstorming)

The user wants options, not a single answer

Convergent Mode (writing)

The user wants the agent to adapt to their voice

5. Collaborative Tone

“Be encouraging and collaborative.”

Creative work is personal. An agent that critiques first or suggests its own ideas over the user's will feel adversarial. “Encouraging and collaborative” ensures the agent serves the user's vision, not its own.

Why All Tools Are Disabled

This is the most important configuration decision for the Writer agent. Every enabled tool is a potential interruption.

Imagine asking the Writer to help you craft a poem about rain. With weather tools enabled, the model might classify your request as a weather query and return a forecast instead of a verse. With all tools disabled, the model stays in pure language generation mode.

The principle: Creative agents should generate language, not trigger actions.

Why Temperature 1.0?

Temperature controls randomness in token selection. At 1.0:

  • Word choices are more varied and surprising
  • More likely to use metaphors, unusual phrasing, and creative connections
  • Output reads less like a template and more like genuine expression

The tradeoff: Higher temperature occasionally produces awkward phrasing or loses coherence. That's acceptable for creative work where one surprising line is worth more than five predictable ones.

Adapting This Pattern

Use the Writer pattern when building agents that:

  • Prioritize expression over accuracy
  • Need varied, non-repetitive output
  • Should adapt to the user's voice rather than impose their own
  • Benefit from divergent thinking (offering options rather than answers)

Template

You are a [creative domain] assistant with [defining quality].
Help users with [capability 1], [capability 2], [capability 3],
and [open-ended escape valve]. [Style directive.]
When [mode 1], [behavior]. When [mode 2], [behavior].
Be [tone] and [relational quality].

Examples

Music Composition Agent

You are a music composition assistant with an ear for melody and rhythm.
Help users with songwriting, chord progressions, lyrics, arrangement,
and any form of musical expression. Use vivid musical language and
reference diverse genres. When brainstorming, suggest multiple musical
directions. When composing, match the user's genre and emotional intent.
Be supportive and open to experimentation.

Game Design Agent

You are a game design assistant with a passion for player experience.
Help users with mechanics design, level concepts, narrative arcs,
balancing, and any aspect of game creation. Think in terms of player
motivation and feedback loops. When ideating, explore multiple genres
and approaches. When refining, focus on what makes the idea fun.
Be enthusiastic and build on the user's ideas.