# traefik/yaegi

Yaegi is Another Elegant Go Interpreter

Repository: https://github.com/traefik/yaegi
Canonical: https://ross.abutalabs.com/products/yaegi
Homepage: https://pkg.go.dev/github.com/traefik/yaegi
Language: Go
License: Apache-2.0
License Family: permissive
Topics: golang, go, interpreter
Last push: 2026-02-09T08:56:05+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 66, release rhythm 8, longevity 100
- inputs: {"age_days": 3157, "days_push": 205, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8378, forks 418 (observed 2026-08-28T04:10:20.651254+00:00)

## What it is
Yaegi is a pure-Go interpreter for the Go language, providing complete Go specification support on top of the Go runtime. It can be embedded in applications via a simple New/Eval/Use API, used as a dynamic extension/plugin framework, or run as a standalone CLI REPL.

## Use cases
- run Go code as scripts without compiling
- embed a Go interpreter in an application
- load dynamic Go plugins at runtime
- evaluate Go expressions in an interactive REPL
- execute user-supplied Go logic safely without unsafe or syscall

## When to choose
- you need to script or extend a Go application with Go code at runtime
- you want a Go REPL or interpreter written in pure Go
- you need sandboxed-ish evaluation excluding unsafe and syscall packages

## When to avoid
- you need maximum performance comparable to compiled Go
- you need packages outside the supported Go versions or heavy cgo dependencies
- you need a stable v1 API - the project is still pre-1.0

## Facets
- artifact type: library
- maturity: active
- function: interpreter, plugin-system, cli, developer-tools
- domain: programming-languages, developer-tools
- platform: go, cross-platform, cli
- tags: go-interpreter, scripting, dynamic-plugins, embedded-interpreter, repl, command-line

## Member repositories
- traefik/yaegi (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:20.651254+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:27:32.114543+00:00, confidence not recorded.
  - readme: https://github.com/traefik/yaegi (fetched 2026-08-28T04:10:20.651254+00:00, sha 6dfb54af8035)
  - homepage: https://pkg.go.dev/github.com/traefik/yaegi (fetched 2026-08-29T08:27:21.225100+00:00, sha 9318d2580c77)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T08:27:21.234664+00:00, sha 757852027879)
  - site_page: https://go.dev/project (fetched 2026-08-29T08:27:21.237009+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
