// agents · promptfoo/promptfoo

promptfoo

promptfoo — проект с открытым исходным кодом из категории «ИИ-агенты» от promptfoo (promptfoo/promptfoo на GitHub). У него 25 815 звёзд на GitHub и 2 452 форка, он распространяется по лицензии MIT и последний раз обновлялся на GitHub 8 октября 2026.

Test prompts, agents and RAGs — LLM evals, red teaming and model comparisons from the CLI

★ 25,8 тыс. звёзд⑂ 2,5 тыс. форковMITобновлено окт. 2026
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
promptfoo/promptfoo
Звёзды GitHub
25 815
Форки
2 452
Лицензия
MIT
Последнее обновление на GitHub
8 октября 2026
Категория
ИИ-агенты
Тип страницы
Полное руководство по установке
Официальный сайт
Official site
// как это работает

Как это работает

  1. Clarify your goal

    Decide what you want to achieve with promptfoo and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// возможности

Почему его любят

Prompt and model comparison

Run the same test set across models and prompts to compare quality side by side.

Red teaming and vulnerability scanning

Automated probes for prompt injection, jailbreaks and other AI security issues.

RAG and agent evaluation

Evaluate retrieval pipelines and agent behaviors, not just single prompts.

Declarative configs

Tests live in simple config files that version well in git.

CI/CD integration

Designed to run in pipelines so regressions block deploys.

Local-first CLI

Runs from your terminal with npx — no platform account required to start.

Advertisement
// запустите сами

Запустите сами

  1. Clone the repository

    Get the Promptfoo source and examples.

    git clone https://github.com/promptfoo/promptfoo.git
    cd promptfoo
  2. Install the CLI

    Install globally from npm (brew and pip installs are also documented), or skip installation with npx.

    npm install -g promptfoo
  3. Run your first eval

    Initialize an example config, add your model key, and run the evaluation.

    promptfoo init
    promptfoo eval
// сценарии использования

Что можно создать

Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains promptfoo?

promptfoo is maintained by the promptfoo organization/account on GitHub, together with open-source contributors, in the public repository promptfoo/promptfoo.

Is promptfoo free to use?

Yes — the code is open source under the MIT license. You can use, modify and redistribute it under that license's terms.

Does promptfoo need a paid API key?

Promptfoo is free and MIT-licensed; evaluations call the models you test, so you need API keys for those providers (local/open models are also supported).

How does promptfoo compare to LangSmith / Braintrust?

Those are hosted evaluation platforms; Promptfoo is a local-first, config-in-git CLI with strong red-teaming — lighter to adopt, and your tests live with your code.

How do I get started with promptfoo?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// продолжить изучение

Похожие инструменты

ИИ-агенты

bisheng

Enterprise LLM app platform: GenAI workflows, RAG, agents, model management, evaluation, fine-tuning.

★ 12,0 тыс. звёздApache-2.0
Смотреть руководство →
ИИ-агенты

pi

A TypeScript toolkit for building agents: unified LLM API, loop, TUI, and CLI.

★ 113,3 тыс. звёздMIT
Смотреть руководство →
ИИ-агенты

botpress

Open-source hub of integrations, SDK and CLI for building and deploying GPT/LLM chatbots and agents.

★ 14,9 тыс. звёздMIT
Смотреть руководство →
ИИ-агенты

deepteam

Open-source red-teaming framework that stress-tests LLMs and AI agents.

★ 3,0 тыс. звёздApache-2.0
Смотреть руководство →
ИИ-агенты

MobileBuildMCP

An MCP server and CLI that lets AI agents build, test and run iOS and macOS projects.

★ 6,5 тыс. звёздMIT
Смотреть руководство →
ИИ-агенты

agentdojo

Test your agents against prompt-injection attacks.

★ 897 звёздMIT
Смотреть руководство →
// альтернативы

Альтернативы: ИИ-агенты

Другие проекты из категории «ИИ-агенты» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если promptfoo вам не подходит.

// ещё в категории agents

Больше проектов: ИИ-агенты

Соседние проекты из категории «ИИ-агенты» в каталоге, ближайшие по числу звёзд к promptfoo — продолжайте изучать полку по обе стороны от него.

Получить promptfoo

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.