Skip to content

angee.workflows_agents.schema

Owner-gated GraphQL mutations for persisted agent sessions.

AgentSessionMutation

python
@strawberry.type
class AgentSessionMutation()

Authenticated, row-authorized persisted chat mutations.

start_agent_session

python
@strawberry.mutation
def start_agent_session(info: strawberry.Info,
                        agent: PublicID,
                        context: JSON | None = None) -> AgentSessionType

Start a new in-process session for an agent the caller owns.

post_agent_message

python
@strawberry.mutation
def post_agent_message(info: strawberry.Info, session: PublicID,
                       text: str) -> AgentTurnType

Post a user turn to an owned persisted session.

close_agent_session

python
@strawberry.mutation
def close_agent_session(info: strawberry.Info,
                        session: PublicID) -> AgentSessionType

Close an owned persisted session.

schemas

GraphQL contributions installed by the workflows-agents addon.

Released under the AGPL-3.0 License.