5.0.0 makes the Atoms client surface consistent and discoverable. The wire API is
unchanged — these are SDK-surface renames plus packaging fixes. Most code that
authenticates via the SMALLEST_API_KEY env var and uses the documented methods needs
only the method-name updates below.
| Before (≤4.4.x) | After (5.0.0) |
|---|---|
client.atoms.agents.create_a_new_agent(...) |
client.atoms.agents.create_agent(...) |
client.atoms.agents.get_agent_by_id(id=...) |
client.atoms.agents.get_agent(id=...) |
client.atoms.agents.get_all_agents() |
client.atoms.agents.list_agents() |
client.atoms.agents.update_agent_metadata(...) |
client.atoms.agents.update_agent(...) |
client.atoms.calls.start_an_outbound_call(...) |
client.atoms.calls.start_outbound_call(...) |
client.atoms.agent_templates.get_agent_templates() |
client.atoms.agent_templates.list_agent_templates() |
| (no retrieval) | client.atoms.calls.get(...), client.atoms.calls.list(...), client.atoms.calls.search(...) |
Conversation cancel/retry/recording now live under client.atoms.conversations.*
(cancel, cancel_queued, list_retry_attempts). update_workflow_configuration
is marked deprecated (use the drafts flow).
from smallestai.atoms.helpers import Call → CallAnalytics (it is analytics-only).
Call still works as a deprecated alias (emits DeprecationWarning) and will be removed in 6.0.0.
OpenAIClient(api_key=None)now raisesValueErrorat construction instead of warning and producing a silent, non-speaking agent. New:OpenAIClient.electron()factory.smallestai.atoms.helpersnow imports cleanly on a fresh install (requestsis a declared dependency).- CLI:
agent-crew init --agent-id <id>(non-TTY safe),agent-crew chat --url <ws>,auth loginreadsSMALLEST_API_KEYfrom env (no prompt).
Construct with SmallestAI(api_key=...) or rely on the SMALLEST_API_KEY env var
(read automatically). No change from 4.4.x.