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
- Open Console → 通用智能体 (General agents) (
/agents) and click “新建智能体” (New agent) at the top right. - Fill in “名称” (Name); “描述” (Description) is optional; pick a default model if you need to, then click “创建” (Create). You land on the new agent.
- 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
| Object | Responsibility | Relationship |
|---|---|---|
| Agent | Name, instructions, model, and tools | Saving configuration creates a version; one agent can have many sessions |
| Session | A separate conversation and execution state | Pins an agent version at creation; later configuration edits do not replace that snapshot |
| Environment | Machine configuration for a session | API sessions can omit environment_id to use the default environment node22; pass null for no machine |
| Event | User messages, agent replies, tool calls, and status changes | Belongs to a session; accepting input is separate from producing a reply |
| End user | A person using your product | A 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
| Format | You provide | Start here |
|---|---|---|
| API | Server authentication, message and event handling, your own UI | Run your first agent |
| PraxisKit | A component in your website, identity, and business interactions | Embed in a web page |
| iframe | A token endpoint and a loader for the hosted UI | Embed with a script |
| Hosted | User authentication and a redirect to a short-lived link | Open 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
- Change instructions, models, or versions: Configure an agent.
- Supply page information and business capabilities: Pass context and Configure tool authorization.
- Investigate customer issues: Inspect sessions and usage and Manage customers.
- Prepare to launch: Test your integration and Go-live checklist.
- Let a general agent remember your conversations and hand work to worker sessions: Main session and memory.
- Hand the reports and spreadsheets an agent produces to your users: Deliver session files.
- Already on Anthropic Managed Agents: Migrate from Anthropic.
See it in use
- Solutions: Product help center, Online store support, Online course assistant and Business operations hub show which capabilities an agent works with in each scenario.
- Recipes: Embed an assistant for signed-in users, Build an AI twin for a teacher and Build an operations analyst that writes a daily report run as written.
Next: API reference · Documentation Q&A recipe · Limits and errors