-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
Problem
Currently, the prompt input placeholder always shows randomized hint text like "Ask anything... 'debug the login flow'", regardless of which agent is active. This means users don't get contextual information about what the current agent is designed to do.
When switching between specialized agents (e.g., from build to docs to frontend-ui-ux-engineer), the placeholder text doesn't adapt to reflect the agent's purpose, missing an opportunity to guide users on what kind of tasks to request.
Proposed Solution
Display the agent's description as the placeholder text when available, falling back to randomized hints only for:
- The
buildagent (default mode for newcomers) - Agents without descriptions
Benefits
- Contextual guidance: Users immediately see what the active agent specializes in
- Better discoverability: Agent capabilities are surfaced without needing to check documentation
- Smoother onboarding: New users still get the polished randomized hints on the default build agent
Implementation Details
- Use agent description as placeholder when available
- Stop hint rotation when showing descriptions (avoid distraction)
- Continue rotation for build agent and agents without descriptions
- Apply to both CLI/TUI and web app
Example
When switching to the docs agent:
- Before: "Ask anything... 'refactor the authentication'"
- After: "Writes and maintains comprehensive technical documentation"
Additional Context
This enhances the agent switching UX by providing immediate feedback about what changed and what the new agent can do.