Skip to content
中文

Agents

Use agents to answer product questions, retrieve business data, or carry out tool tasks. You configure the model, instructions, and tools. Praxis manages session execution and event history; your application decides who can use the agent and which business operations they may perform.

Create one in the Console

  1. Open Console → 通用智能体 (General agents) (/agents) and click “新建智能体” (New agent) at the top right.
  2. Fill in “名称” (Name); “描述” (Description) is optional; pick a default model if you need to, then click “创建” (Create). You land on the new agent.
  3. Write a few lines of instructions and click “新建会话” (New session) to start a conversation.

For an agent that follows a fixed procedure on every request (for example customer service), open Console → 服务智能体 (Service agents) (/service-agents), click “新建服务智能体” (New service agent), enter a name and click “创建”. Then write its instructions on its page, try it on the “使用” (Use) tab, and share or embed it from “接入” (Integrate).

Who this is for

Add a ready-made conversation interface to an existing product and pass in the signed-in user and current page. For custom interfaces, background tasks, or non-web clients, create sessions and read events through the API. Agents retrieve business data through authorized tools; your business server still enforces order ownership.

If you need a single model call or want to write the model and tool loop yourself, start with Models. Agents suit applications that need reusable configurations, ongoing conversations, and a record of task execution.

How the objects relate

ObjectResponsibilityRelationship
AgentName, instructions, model, and toolsSaving configuration creates a version; one agent can have many sessions
SessionA separate conversation and execution statePins an agent version at creation; later configuration edits do not replace that snapshot
EnvironmentMachine configuration for a sessionAPI sessions can omit environment_id to use the default environment node22; pass null for no machine
EventUser messages, agent replies, tool calls, and status changesBelongs to a session; accepting input is separate from producing a reply
End userA person using your productA customer access token binds session access to that customer and agent

Service agents serve your customers with a separate environment per session. General agents bind to a persistent computer. The integration guides focus on service agents. See Agents and sessions for details. Public agent IDs have the form agent_…; use the value returned by creation or retrieval.

Choose a delivery format

FormatYou provideStart here
APIServer authentication, message and event handling, your own UIRun your first agent
PraxisKitA component in your website, identity, and business interactionsEmbed in a web page
iframeA token endpoint and a loader for the hosted UIEmbed with a script
HostedUser authentication and a redirect to a short-lived linkOpen hosted chat

React is one way to use Kit. Public documentation Q&A can use anonymous visitors. For account data, your backend must verify the signed-in user before issuing a token. See Choose an integration for the full comparison.

Continue by task

See it in use

Next: API reference · Documentation Q&A recipe · Limits and errors