Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Anteroom
✓ import anteroom
✗ from anteroom import Anteroom
Initialize Anteroom client, send a message, and print the response.
from anteroom import Anteroom
import os
os.environ.setdefault('ANTEROOM_API_KEY', 'your-api-key')
anteroom = Anteroom()
response = anteroom.send("Hello, world!")
print(response.text)
Debug
Known issues
breakingIn version 1.170.0, the `send` method was renamed to `chat`. Using `send` will raise AttributeError.fixUse `anteroom.chat("Hello")` instead of `anteroom.send("Hello")`. affects: >=1.170.0,<1.171.0
gotchaAPI keys are not automatically loaded; you must set `ANTEROOM_API_KEY` environment variable or pass it to the constructor.fixSet `os.environ['ANTEROOM_API_KEY'] = '...'` or pass `api_key='...'` to `Anteroom()`.
affects: all
deprecatedThe `async` mode is deprecated as of 1.165.0 and will be removed in a future release.fixUse synchronous calls; for async, consider using `asyncio.to_thread`.
affects: >=1.165.0
Upgrade
Version history
1.174.0latest on PyPI · released Apr 26, 2026
Audit
Dependencies
python-dotenvoptionalUsed to load environment variables from .env files