No More Hardcoding: Real-Time AI Personnel Tuning
Mark CunninghamYour AI shouldn't sound like a generic robot. It should sound like you. And you shouldn't need a software deployment to change its voice.
For too long, the "System Prompt"—the core instruction set that defines an AI's behavior—has been locked away in codebases. Changing the "personality" of your agent required a developer, a formal pull request, a code review, and a full production deployment. This friction kills experimentation. It turns what should be a creative, iterative process into a bureaucratic hurdle.
In the fast-moving world of AI, the ability to adapt is survival. If your users find your agent too formal, you need to soften the tone today, not continuously wait for the next sprint release. This capability, known as Dynamic System Prompting, puts the power of personality back in the hands of the domain experts who actually understand the user.
Aligning AI with Brand Voice
Every department needs a different persona, and "one size fits all" is a recipe for failure. A legal aide chatbot needs to be cautious, precise, and citation-heavy. A marketing assistant needs to be creative, enthusiastic, and brief. With hardcoded prompts, you are stuck with a clumsy middle ground.
Our new Persona Tuning Engine allows you to define distinct behaviors for every agent without touching a line of code. You can iterate on the instructions until the "vibe" is perfect.
- The 'Scholar': For legal/policy teams. Instructions: "Prioritize precision. Never speculate. Always cite the specific section number. If the answer is ambiguous, state the ambiguity clearly."
- The 'Guide': For customer support. Instructions: "Be empathetic and concise. Use simple language. Apologize if the user is frustrated, but do not make promises you cannot keep."
- The 'Analyst': For internal research. Instructions: "Be critical. Highlight potential risks in the documents. Contrast different viewpoints from the uploaded reports."
You can now tune these personas instantly. Changes apply to all new chats immediately, allowing for rapid A/B testing of trusted AI responses.
Technical Implementation: JSONB Over Code
Under the hood, we have moved the system prompt storage from the application layer to the database layer. By storing prompt templates in a JSONB column on the organizations table, we allow authorized admins to "hot swap" instructions via the dashboard.
This approach offers three distinct advantages:
- Immediate Propagation: No server restarts are required. Next.js revalidates the cache on the next request.
- Role-Based Access Control (RBAC): Only users with the 'Admin' role can modify the "Brain". Juniors can view, but not touch.
- Version History: Because it is data, we can track changes over time. Who changed the prompt? When? And why?
How to Configure
We built this to be intuitive for non-technical stakeholders.
- Go to Organization Settings in your dashboard using an account with the "Admin" role.
- Select the Persona Management tab.
- Edit the System Prompt using natural language instructions. You can use standard variable injection like
{{user_name}},{{current_date}}, or{{user_role}}to make the experience deeply personal. - Click Save.
The change propels instantly to your live widgets. No deploys. No downtime. This is how modern AI teams operate—with agility and precision. Try tuning your own AI in our live demo environment.

Mark Cunningham
Founder & CEO
Building the future of verified research. Previously solving data problems for enterprise. Obsessed with RAG, sovereignty, and clean code.
Make your research answerable.
Stop letting your insights get lost in PDFs. Turn your archive into an intelligent expert today.
Book a Demo