Skip to main content
Install your language’s Agent SDK package, set PHASEO_API_KEY, and build a first agent in Usage. Each package brings its language’s core Phaseo client with it as a dependency.
1

Install the package

Install @phaseo/agent-sdk 0.3.0 into a TypeScript or JavaScript project. @phaseo/sdk comes with it.
2

Set your API key

Create a key in API Keys, then export it:
Most gateway clients read the key from the environment; Python’s doesn’t. TypeScript, Python, and Java ignore PHASEO_BASE_URL:The default base URL is https://api.phaseo.app/v1.
3

Check the install

Build an agent without calling the model. If this compiles and runs, the package is installed:
Java has no short form: AgentDefinition is a positional record, shown in full in Usage.
Last modified on November 5, 2026