# Claude Agent SDK vs Prime Agent

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

| | Claude Agent SDK | Prime Agent |
| --- | --- | --- |
| Licence | Proprietary | Open source |
| Pricing | usage based | open source |
| Self-hostable | No | Yes |
| Languages | TypeScript, Python | Any language |
| Install | npm install @anthropic-ai/claude-agent-sdk | curl -fsSL https://app.primeintellect.ai/prime-agent/install.sh | sh |
| Keys required | ANTHROPIC_API_KEY | None |

## Full pages

- https://newagent.build/c/claude-agent-sdk
- https://newagent.build/c/prime-agent

## 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`.