Code-first prompt management

Updated Nov 21, 2026ChatGPT and Google AI Mode
Mention rate, on ChatGPT and Google AI Mode
  • LangfuseChatGPTChatGPT 100%Google AI ModeGoogle AI Mode 100%
  • BraintrustChatGPTChatGPT 100%Google AI ModeGoogle AI Mode 60%
  • LangSmithChatGPTChatGPT 86%Google AI ModeGoogle AI Mode 80%
  • PromptLayerChatGPTChatGPT 86%Google AI ModeGoogle AI Mode 0%
  • PromptfooChatGPTChatGPT 43%Google AI ModeGoogle AI Mode 40%

Questions and answers

  • Google AI ModeNov 21, 2026

    1. 1Langfuse
    2. 2LangSmith
    3. 3Agenta
    4. 4Braintrust
    5. 5Arize Phoenix
    6. 6Arize AI

    Yes, several developer-first tools bridge prompt management, distributed tracing , and code-first evaluation . Rather than relying purely on no-code web playgrounds, these platforms treat prompts like code/config, log execution trees via SDKs, and let you run deterministic or LLM-as-a-judge evaluations straight from your CI/CD or local test suites.

    Top Developer-First Options

    1. Langfuse

    • Core Approach: Open-source (MIT core) LLM engineering platform built around a clean, code-first SDK.
    • Prompt Management: Fetches and caches prompts dynamically in your code with built-in versioning, staging/production tags, and fallback logic.
    • Tracing: Deep, native OpenTelemetry-compatible tracing for Python and TypeScript. Every prompt fetch is automatically tied to the resulting execution trace.
    • Evaluation: Run offline dataset evaluations or score live production traces using code-defined or LLM-based evaluators via the Langfuse Documentation.

    2. LangSmith

    • Core Approach: Tight integration with the LangChain ecosystem (though it works with raw OpenAI/Anthropic/custom code).
    • Prompt Management: Commit-versioned prompt hub where prompts are pulled via SDK and tracked like git commits.
    • Tracing: Industry-deep first-party tracing showing latency, token usage, and nested span trees for complex chains or agents.
    • Evaluation: Run dataset experiments in CI/CD pipelines, attach feedback loops to traces, and pin evaluation scores directly to specific prompt versions. Check details on LangSmith.

    3. Agenta

    • Core Approach: Unashamedly developer-first, treating the workflow like an IDE rather than a marketing UI.
    • Prompt Management & Playgrounds: Supports "variants" to test combinations of models, parameters, and prompt templates side-by-side directly from code or its developer workspace.
    • Tracing & Testing: Captures execution flow and lets you define custom validation logic and evaluation functions written directly in Python.
    • Deployment: Open-source with self-hosting options. Learn more via Agenta.

    4. Braintrust

    • Core Approach: "Eval-first" platform designed for engineers who want rigor baked into the data layer.
    • Prompt Management: Prompts live in a version-controlled registry; every execution or experiment result is strictly pinned to a prompt version ID.
    • Tracing & Evaluation: Native SDKs allow logging inputs, outputs, and custom code-based or model-based unit tests as part of your normal test runner (e.g., pytest/Jest). Explore via Braintrust.

    5. Arize Phoenix (with Arize AX)

    • Core Approach: Open-source AI observability and evaluation framework deeply rooted in OpenTelemetry.
    • Prompt Management & Tracing: Traces complex workflows out-of-the-box with fine-grained span annotations.
    • Evaluation: Allows running programmatic evaluations and semantic validations directly inside your Python workflows or notebooks before pushing updates to production. Check out Arize Phoenix.

    Quick Comparison Matrix

    ToolLicense / ModelPrompt VersioningTracing SupportCode-First Eval
    LangfuseOpen Source (MIT) / ManagedYes (Tags & Aliases)Native / OpenTelemetryPython / TS SDK & LLM Judges
    LangSmithCommercial (Free tier)Yes (Commit-based)First-party deep tracingDataset experiments & CI gates
    AgentaOpen Source / Self-hostYes (Variants)Built-in app tracingCustom Python evaluation logic
    BraintrustCommercial (Hobby/Pro)Yes (Pinned IDs)Full log & trace trackingUnit-test style eval metrics
    Arize PhoenixOpen Source (Apache 2.0)Span/Prompt trackingOpenTelemetry nativeNotebooks & programmatic scoring

    Are you working primarily in Python or TypeScript , and are you looking for an open-source self-hosted option or a managed cloud service?

    ChatGPTNov 21, 2026

    1. 1Langfuse
    2. 2LangSmith
    3. 3Braintrust
    4. 4PromptLayer
    5. 5LangChain LangGraph

    Yes. There are several platforms that combine prompt management, LLM tracing, and evaluation (evals) into a developer-first workflow. Rather than treating prompts as text snippets managed in a separate UI, these tools let engineering teams version prompts, test changes, trace production behavior, and run regression evaluations as part of development and CI/CD.

    The strongest options to investigate are Langfuse, LangSmith, Braintrust, and PromptLayer.

    Best tools to consider

    • Langfuse Logo PNG,  Vector (AI, EPS, CDR, PDF, SVG) - iconLogoVector

    1. Langfuse

    (Best overall open-source option)

    • Prompt versioning and management through SDKs.
    • Production tracing connected to prompt versions.
    • Dataset-based experiments and automated evaluations.
    • Python and TypeScript SDKs, APIs, CLI, and CI integration.
    • Open source, with self-hosting available.

    Why it stands out: A unified engineering platform where prompts, traces, datasets, and evaluations are connected.

    Website: langfuse.com ·


    • Курс по оценке и тестированию ИИ систем (RAG, LLM, AI-агенты)

    2. LangSmith

    (Best for LangChain ecosystems)

    • Prompt hub with versioning and commits.
    • Tracing for chains, agents, and model calls.
    • Dataset-driven evaluations.
    • Experiment comparison and debugging.
    • SDK and CI-oriented development workflows.

    Why it stands out: Strong integration between application execution, prompt iteration, debugging, and evaluation.

    Website ·


    • Braintrust - The AI observability platform for building quality AI products

    3. Braintrust

    (Best for evaluation-driven development)

    • Prompts and configurations managed alongside experiments.
    • SDK-based tracing and logging.
    • Evaluation datasets and scoring functions.
    • Experiment comparisons.
    • CI/CD evaluation workflows.

    Why it stands out: Particularly interesting if your development process revolves around measurable quality improvements and preventing regressions.

    Website ·


    • PromptLayer Logo & Brand Assets (SVG, PNG and vector) - Brandfetch

    4. PromptLayer

    (Best for prompt registry workflows)

    • Central prompt registry and version history.
    • SDK and REST API access.
    • Release labels and environment management.
    • Automated regression testing and evaluations.
    • Request logging, usage analytics, and observability.

    Why it stands out: Particularly useful when you want prompts managed independently from application deployments, while retaining engineering controls.

    Website ·

    www.promptlayer.comwww.promptlayer.com

    Feature comparison

    CapabilityLangfuseLangSmithBraintrustPromptLayer
    Prompt versioningYesYesYesYes
    Production tracingYesYesYesYes
    Dataset evaluationsYesYesYesYes
    Prompt-to-trace linkingYesYesYesYes
    SDK/API-firstYesYesYesYes
    CI/CD integrationYesYesYesYes
    Open sourceYesNoNoNo
    Self-hostingYesEnterpriseEnterprise data planeEnterprise

    Feature comparison based on product documentation and current platform comparisons.

    What a code-first workflow could look like

    The important distinction is whether a platform supports a development loop like this:

    1. Define prompts in code or a prompt registry

    Version-controlled templates and model configurations

    2. Run application and capture traces

    Inputs, outputs, model calls, tool calls, latency and cost

    3. Execute evaluations

    Golden datasets, custom evaluators, LLM-as-judge

    4. Compare results

    Prompt versions, model variants, quality, cost and latency

    5. Gate deployment through CI/CD

    Automatically reject changes that fail evaluation thresholds

    Langfuse is particularly interesting here because its experiments can be implemented in Python or TypeScript and integrated into CI/CD.

    My recommendation

    I'd shortlist these three:

    1. Langfuse: If you want an integrated, open-source platform with strong developer control.
    2. Braintrust: If evaluation-driven development and regression prevention are the primary requirements.
    3. LangSmith: If your application architecture already relies heavily on LangChain or LangGraph.

    One important architectural consideration: distinguish between prompts being stored in a remote registry and prompts being version-controlled in Git. Ideally, you want both, with reproducible deployments and the ability to identify exactly which prompt version generated each production trace.

    One question that would help narrow this down

    When you say code-first development process, which approach are you envisioning?

    1. How should prompts be managed?

    Prompts live in Git alongside application code, with PR reviews and versioning.

    Prompts live in a centralized registry and are fetched through SDKs at runtime.

    Hybrid: Git is the source of truth, with a synchronized prompt registry.


    2. What should be integrated?

    Everything: prompt management, tracing, evaluations and CI/CD.

    Primarily tracing and automated evaluations.

    Primarily prompt versioning, collaboration and deployment.

    [Submit]

    With those two distinctions, I can narrow this down to the platforms that genuinely support a code-first engineering workflow rather than simply offering a prompt editor with observability attached.

Since Oct 6Data through Nov 21, 2026Based on 12 AI answers

How we measure
For agents: this page as Markdown, parse.gl/topics/code-first-prompt-management.md. JSON, MCP · free for the last 90 days, checks from $0.01

This page

As Markdown: parse.gl/topics/code-first-prompt-management.md
Reuse: Figures and tables on this page are free to republish with attribution: a link to https://parse.gl/topics/code-first-prompt-management beside them. A standard followed link (dofollow) is preferred.

Read and search

Every brand's share on this topic, with 95% ranges: GET agent.parse.gl/v1/tools/query_metrics?args=%7B%22measures%22%3A%5B%22share_named%22%5D%2C%22by%22%3A%5B%22brand%22%5D%2C%22filter%22%3A%7B%22topic%22%3A%5B%22top_854f3bf7-b69e-430a-b97c-c59004a41608%22%5D%7D%7D
Search the index: GET parse.gl/api/public/search?q=<words>

Connect

Connect an assistant: agent.parse.gl/mcp
CLI check: npx -y parse-gl check <domain>

An agent can save work before signup: POST https://agent.parse.gl/v1/workspaces

What it costs

No account: Public figures and up to 5 examples per list, about 120 brands a day per address.
Free account: $2 verified-email starter credits, 90-day Parse Index reads, your brand's first check (20 buyer questions), and a free weekly check.
Prepaid credits (from $20): Exports, deeper search results, live checks, verified contacts, and daily tracking ($12 a month).
Live checks: $0.01 per standard check/live page/judgment; $0.05 per frontier check (Gemini, Claude) or verified contact.
Full public answers and pages: 25 free per day, then $0.01 each.
Public answers older than 90 days: $0.01 each the first time your workspace counts or lists one, then yours.