// agents · earendil-works/pi

pi

pi é um projeto de agentes de IA de código aberto de earendil-works (earendil-works/pi no GitHub). Tem 113.328 estrelas no GitHub e 14.403 forks, é publicado sob a licença MIT e foi atualizado pela última vez no GitHub em 8 de outubro de 2026.

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

★ 113,3 mil estrelas⑂ 14,4 mil forksMITatualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
earendil-works/pi
Estrelas no GitHub
113.328
Forks
14.403
Licença
MIT
Última atualização no GitHub
8 de outubro de 2026
Categoria
Agentes de IA
Tipo de ficha
Guia de instalação completo
// como funciona

Como funciona

  1. Pick a use case

    Choose one concrete task — narrow beats ambitious for a first run.

  2. Clone and explore

    Fetch the source and skim the docs folder.

  3. Configure credentials

    Set the environment variables or keys the project needs.

  4. Launch your first run

    Execute the example workflow and watch what happens.

// recursos

Por que as pessoas gostam tanto

Unified LLM API

One interface across model providers.

Agent loop included

The core run loop, ready to build on.

Terminal UI

A TUI for interacting with your agents.

Coding agent CLI

A command-line coding agent out of the box.

TypeScript-native

Fits naturally into JS/TS stacks.

MIT licensed

Build commercial products on it freely.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/earendil-works/pi.git
    cd pi
  2. Step 2 — Install dependencies

    Pull in the Node packages the project needs.

    npm install
  3. Step 3 — Run it

    Start it with the project's documented command (often a dev server).

    npm run dev  # check README for the exact script
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

Who maintains pi?

It is an open-source project at earendil-works/pi with 14403 forks. Check the contributors tab and recent commits to judge how active maintenance is.

Is pi free to use?

Yes — it's MIT licensed: free to use, modify, and ship commercially. Just keep the license notice in copies.

What does 'unified LLM API' mean?

One interface for many model providers, so you can swap models without rewriting agent code — check the README for the supported list.

Is this a framework or a toolkit?

A toolkit: the agent loop, TUI, and CLI are building blocks you assemble, not a platform you adopt.

How do I get started?

Clone the repo and follow the README quickstart — the README is the best starting point.

// continue explorando

Ferramentas semelhantes

Agentes de IA

botpress

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

★ 14,9 mil estrelasMIT
Ver o guia →
Agentes de IA

adk-js

Google's code-first TypeScript toolkit for building AI agents.

★ 1,4 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

promptfoo

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

★ 25,8 mil estrelasMIT
Ver o guia →
Agentes de IA

rivet

Rivet is Ironclad's visual IDE and TypeScript library for building complex AI agents and prompt chains

★ 4,7 mil estrelasMIT
Ver o guia →
Agentes de IA

vocode-core

Build voice-based LLM agents with a modular, open-source toolkit.

★ 3,8 mil estrelasMIT
Ver o guia →
Agentes de IA

Loop Engineering

Loop Engineering — practical patterns, starters and a CLI for designing the loops that prompt and orchestrate AI coding agents, with a Loop Ready score

★ 11,6 mil estrelasMIT
Ver o guia →
// alternativas

Alternativas em Agentes de IA

Os outros projetos de Agentes de IA com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se pi não for o ideal para você.

// mais em agents

Mais em Agentes de IA

Projetos de Agentes de IA próximos no catálogo, os mais próximos em estrelas de pi: continue explorando dos dois lados dele.

Baixe o pi

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.