Skip to content

Everruns SDKs add AgentClient to call one agent with a key

AgentClient in the Python, TypeScript and Rust SDKs calls one agent through the Agent Execution API with an agent key (evr_ak_...). It reads EVERRUNS_AGENT_URL and EVERRUNS_AGENT_KEY and covers run(), sessions, messages, events with SSE streaming, cancel, questions, tool approvals, runtime tokens, for_end_user and idempotency keys.

from everruns_sdk import AgentClient
agent = AgentClient()
print(await agent.run("What is the status of order 42?"))

Calling an agent through the management client’s sessions.create and messages.create still works but is deprecated: Python warns once, and TypeScript marks the methods @deprecated.

See Call your agent from code, SDKs and #116.