# Braintrust vs Pydantic Logfire

The deciding difference is operational: Braintrust can run on infrastructure you control, Pydantic Logfire cannot. If that constraint is real for you, it settles the choice before anything else is considered.

| | Braintrust | Pydantic Logfire |
| --- | --- | --- |
| Licence | Proprietary | Open source |
| Pricing | freemium | freemium |
| Self-hostable | Yes | No |
| Languages | Python, TypeScript | Python, TypeScript |
| Install | — | pip install logfire |
| Keys required | BRAINTRUST_API_KEY | LOGFIRE_TOKEN |

## Full pages

- https://newagent.build/c/braintrust
- https://newagent.build/c/logfire

## Machine interfaces

- `GET https://newagent.build/api/registry` — every component as JSON
- `GET https://newagent.build/api/vendors` — vendors, with the repo and releases feed to watch
- `GET https://newagent.build/api/advise?q=<plain english>` — recommended stack for a description
- `GET https://newagent.build/api/stack?<layer>=<id>&format=sh|json|md|yml|agents|env` — a stack as files
- `GET https://newagent.build/llms.txt` — the whole registry in one fetch

Any page here also returns markdown if you send `Accept: text/markdown`.