Installation
Install Doorway and configure your environment for reasoning calls.
Requirements
Doorway runs as an HTTP API. You can interact with it directly via REST or through the official Python and JavaScript SDKs. The platform at app.doorwayagi.com handles session management, billing, and chain continuity — Doorway itself stays stateless.
Install the SDK
Python
bash
pip install doorway-sdkJavaScript / TypeScript
bash
npm install @doorway/sdkSet your API key
Get your API key from app.doorwayagi.com/settings. Set it as an environment variable:
bash
export DOORWAY_API_KEY="dw_live_..."Or pass it directly when initializing the SDK. The key authenticates your requests and determines your tier (AGI or ASI).
Verify
python
from doorway import Doorway
dw = Doorway()
result = dw.run("What is the relationship between structure and emergence?")
print(result.status) # GROUND, BRIDGE, CONFLICT, or PROVISIONAL
print(result.content.answer)If you see a status and an answer, you're connected. Proceed to First Reasoning Call for a walkthrough of the output.