Agent

Agents

Configure responsibilities and tools, run sessions, and serve users through an API or a web interface.

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.

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 the environment for a light machine, or select a sandbox environment
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 productAn embed token binds session access to that user and agent

Service agents serve your customers with a separate environment per session. Personal 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

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

Export

On this page