Home/Compare/selfhost-ai vs promptfoo

Comparison

selfhost-ai vs promptfoo

Verdict

Pick selfhost-ai when selfhost-ai is primarily Shell; promptfoo is TypeScript; pick promptfoo when promptfoo is primarily TypeScript; selfhost-ai is Shell.

Markdown twin · selfhost-ai alternatives · promptfoo alternatives

GraphCanon updated today

selfhost-ai logo

selfhost-ai

kossakovsky/selfhost-ai

897pushed Jul 9, 2026
vs
promptfoo logo

promptfoo

promptfoo/promptfoo

23kpushed Jul 11, 2026

Trust & integrity

Signalselfhost-aipromptfoo
Maintenance
Very active (1d since push)
As of today · github_public_v1
Very active (0d since push)
As of today · github_public_v1
Provenance
Not a fork · Personal account
As of today · github_public_v1
Not a fork · Organization account
As of today · github_public_v1
Security (OSV)
No lockfile
As of today · none
No lockfile
As of today · none

Tagline

selfhost-ai
🚀 Self-hosted AI automation platform. Deploy n8n, Ollama, Flowise, RAG, Supabase & 30+ tools with one command. Auto HTTPS. Free Zapier/Make alternative.
promptfoo
Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more. Simple declarative configs with command line

Stars

selfhost-ai
897
promptfoo
23k

Forks

selfhost-ai
228
promptfoo
2.1k

Open issues

selfhost-ai
0
promptfoo
413

Language

selfhost-ai
Shell
promptfoo
TypeScript

Adopt for

selfhost-ai
-
promptfoo
Promptfoo is a specialized tool for evaluating and testing AI-generated outputs like prompts, agents, and RAGs (Retrieval-Augmented Generation) through methods such as red teaming, pentesting, and vulnerability scanning.

Persona

selfhost-ai
-
promptfoo
-

Runtime

selfhost-ai
-
promptfoo
-

License

selfhost-ai
Apache-2.0
promptfoo
Promptfoo uses an MIT license which allows free use, modification, distribution, and commercial exploitation under the condition that appropriate attribution is given to the original authors.

Last pushed

selfhost-ai
Jul 9, 2026
promptfoo
Jul 11, 2026

Categories

selfhost-ai
LLM Frameworks, AI Agents, Vector Databases
promptfoo
AI Agents, Vector Databases, LLM Frameworks

Trust and health

Days since push

selfhost-ai
1d
promptfoo
0d

Open issues (now)

selfhost-ai
0
promptfoo
413

Owner type

selfhost-ai
User
promptfoo
Organization

Full report

selfhost-ai
Trust report
promptfoo
Trust report

Choose selfhost-ai if…

  • selfhost-ai is primarily Shell; promptfoo is TypeScript.
  • License: selfhost-ai is Apache-2.0, promptfoo is MIT.
  • Tags unique to selfhost-ai: homelab, dify, ai, docker.

When NOT to use selfhost-ai

  • LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.
  • AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism.
  • Vector Databases: Don't reach for a dedicated vector DB under ~100k vectors; pgvector on your existing Postgres is simpler to operate.

Choose promptfoo if…

  • promptfoo is primarily TypeScript; selfhost-ai is Shell.
  • License: promptfoo is MIT, selfhost-ai is Apache-2.0.
  • Pricing: The basic version of Promptfoo is freely available due to its open-source nature under MIT licensing. Advanced features may require a paid plan from future commercial offerings..
  • Requirements: Requires TypeScript runtime and relevant node.js or deno setup to run.; May need additional configuration for CI/CD integration, depending on the build ecosystem..
  • Tags unique to promptfoo: ci-cd, evaluation, llm-eval, llm.
  • promptfoo ships Docker support for self-hosted deployment.
  • When you need to assess the robustness of your RAG systems against potential vulnerabilities.

When NOT to use promptfoo

  • When you are specifically looking for general-purpose evaluation tools that do not have the focused depth on security and vulnerability provided by Promptfoo.
  • If your workflow or project cannot support TypeScript, as this tool is built in TypeScript and might require additional setup for non-TypeScript environments.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: selfhost-ai 897 · promptfoo 23k (synced Jul 11, 2026).

Common questions

What is the difference between selfhost-ai and promptfoo?
selfhost-ai: 🚀 Self-hosted AI automation platform. Deploy n8n, Ollama, Flowise, RAG, Supabase & 30+ tools with one command. Auto HTTPS. Free Zapier/Make alternative.. promptfoo: Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more. Simple declarative configs with command line . See the comparison table for live GitHub stats and shared categories.
When should I choose selfhost-ai over promptfoo?
Choose selfhost-ai over promptfoo when selfhost-ai is primarily Shell; promptfoo is TypeScript; License: selfhost-ai is Apache-2.0, promptfoo is MIT; Tags unique to selfhost-ai: homelab, dify, ai, docker.
When should I choose promptfoo over selfhost-ai?
Choose promptfoo over selfhost-ai when promptfoo is primarily TypeScript; selfhost-ai is Shell; License: promptfoo is MIT, selfhost-ai is Apache-2.0; Pricing: The basic version of Promptfoo is freely available due to its open-source nature under MIT licensing. Advanced features may require a paid plan from future commercial offerings.; Requirements: Requires TypeScript runtime and relevant node.js or deno setup to run.; May need additional configuration for CI/CD integration, depending on the build ecosystem.; Tags unique to promptfoo: ci-cd, evaluation, llm-eval, llm; promptfoo ships Docker support for self-hosted deployment; When you need to assess the robustness of your RAG systems against potential vulnerabilities.
When should I avoid selfhost-ai?
LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves. AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism. Vector Databases: Don't reach for a dedicated vector DB under ~100k vectors; pgvector on your existing Postgres is simpler to operate.
When should I avoid promptfoo?
When you are specifically looking for general-purpose evaluation tools that do not have the focused depth on security and vulnerability provided by Promptfoo. If your workflow or project cannot support TypeScript, as this tool is built in TypeScript and might require additional setup for non-TypeScript environments.
Is selfhost-ai or promptfoo more popular on GitHub?
promptfoo has more GitHub stars (23,155 vs 897). Stars measure visibility, not whether either tool fits your constraints.
Are selfhost-ai and promptfoo open source?
Yes - both are open-source projects on GitHub (selfhost-ai: Apache-2.0, promptfoo: MIT).
Where can I find alternatives to selfhost-ai or promptfoo?
GraphCanon lists graph-backed alternatives at selfhost-ai alternatives and promptfoo alternatives (selfhost-ai markdown twin, promptfoo markdown twin), ranked by typed relationship edges rather than popularity votes.
Is there a machine-readable version of this comparison?
Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
Which is better maintained, selfhost-ai or promptfoo?
selfhost-ai: Very active. promptfoo: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
Where are the full trust reports for selfhost-ai and promptfoo?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: selfhost-ai trust report; promptfoo trust report.