Feature request: Prompt management - Prevent agent from mentioning unreleased features
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 6h 51m
- Merged PRs (30d)
- 232
Description
Feature request
Is your feature request related to a problem?
"I would love to be able to build dynamic prompts based on feature flags. We have some features behind flags that I don't want my agent to know about. It would be cool if I could build a dynamic prompt with those."
Describe the solution you'd like
Dynamically 'hide' sections of a prompt from the agent when related feature flags are off / not serving the feature to end-users, so the agent doesn't talk about unreleased features.
Alternatively, serve different prompt content to different users based on their flag matches/variant assignments.
Describe alternatives you've considered
Additional context
From: https://posthoghelp.zendesk.com/agent/tickets/55072 (moved to PostHog: https://us.posthog.com/project/2/support/tickets/56390)
Debug info
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating the prompt-management flow and feature-flag evaluation used by agents; done means prompt content can vary by flag state or user assignment so unreleased features are not exposed.
Written by the indexing model from the issue text.
Assessment
- Domain
- ai
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100