# Yaegi

> Go interpreter in pure Go for scripts, plugins and embedded shells

Source: https://talira.ai/catalog/yaegi-g7yjkstg
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [languages / go](https://talira.ai/categories/languages/go), [developer tools / runtimes / interpreters](https://talira.ai/categories/developer-tools/runtimes/interpreters)
- Platforms: cli[^3]
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^2][^3]
- Free tier: yes[^2][^3]
- Self-hostable: yes[^3]
- API: yes[^3]
- Implements: [Go](https://talira.ai/catalog/go-ed2kmsvk.md)
- Backed by: [Traefik Labs](https://talira.ai/orgs/traefik-labs.md)
- Funding: Series A, 2020[^4]

Yaegi is a Go interpreter written in pure Go using only the standard library. It powers executable Go scripts, plugins and embedded interpreters on top of the Go runtime through a small API (New, Eval, Use), and can be used as an interactive REPL. unsafe and syscall are not exported by default. Traefik Labs uses it for Traefik plugins.

## Links

- Website: https://pkg.go.dev/github.com/traefik/yaegi
- GitHub: https://github.com/traefik/yaegi

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/yaegi>[^1]

## Problems it solves

- let users write plugins for my Go application without recompiling it
- Go plugin package only works on Linux with matching builds
- run Go code as a script without compiling
- embed a scripting language in a Go service that is actually Go
- interactive Go REPL for experimenting
- evaluate user-provided Go snippets at runtime
- load extensions dynamically into a compiled Go binary
- sandbox dynamic code by not exposing unsafe and syscall

## Features

- pure Go, stdlib only
- Eval API
- REPL
- access to Go runtime with control
- unsafe/syscall off by default

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.63 out of 1.
Signals: maintenance 0.64, adoption 0.79, momentum 0.58, community 0.67, backing 0.55, extensibility 0.40.

- last commit 11 days ago
- 6 commits in the last 90 days
- latest release v0.16.3 18 days ago
- 8.4k GitHub stars
- 46 contributors
- backed by Traefik Labs
- funding: Series A, 2020

## Related

- Implements [Go](https://talira.ai/catalog/go-ed2kmsvk.md)

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://github.com/traefik/yaegi/blob/master/LICENSE (checked 17 Nov 2026)
[^3]: https://github.com/traefik/yaegi (checked 17 Nov 2026)
[^4]: https://traefik.io/press/containous-the-creator-of-traefik-raises-10-million-in-series-a-funding-to-make-networking-boring (checked 20 Nov 2026)
