STAN Settings
STAN personality, context, conversations, and the unified message endpoint.
Access it as client.stan_settings on a Strongly client, or the same path on AsyncStrongly with await. All methods exist on both with identical signatures.
Methods
All methods
compact
compact() -> dict[str, Any]
Compact STAN's context window (summarize older turns).
context
context() -> dict[str, Any]
Get STAN's current working context.
list_conversations
list_conversations(*, limit: int | None = None) -> SyncPaginator[StanConversation]
List your past STAN conversations, most recent first, a page at a time as you iterate.
list_skills
list_skills() -> dict[str, Any]
List the skills available to STAN.
message
message(*, message: str, source: str | None = None) -> dict[str, Any]
Universal STAN message endpoint (supports slash commands).
Parameters
message(str): The user message to send (required).source(str | None, optional): Origin tag for the message (server defaultchat).
personality
personality() -> dict[str, Any]
Get STAN's current personality configuration.
resume_conversation
resume_conversation(conversation_id: str) -> StanConversation
Resume a previous STAN conversation (it becomes your active session); returns it.
retrieve_conversation
retrieve_conversation(conversation_id: str) -> dict[str, Any]
Retrieve a single STAN conversation.
update_personality
update_personality(*, personality: str) -> dict[str, Any]
Update STAN's personality preset.
Parameters
personality(str):professional|friendly|concise.