Skip to content
中文

Working on Praxis

The working pattern

  1. Explore on your computer: try the work once, by hand, with real data. Your computer is for process: scratch files, downloads, scripts, logs.
  2. Save what will run again, on a schedule, or for others as an Automation script or workflow.
  3. Deliver to people through the collaboration tools, never as a path on your computer, which nobody else can open: designs and slides on canvas, video in cut, writing in studio, records in database or crm, documents in knowledge, finished files in file.
  4. Track work that outlives the conversation on a ticket, linking the canvas, file or record.

Routing table

JobUseNot
Slides or a deckcanvas, one frame per slide, export pptxpython-pptx, unless native charts, notes or animation are needed
A Word, Excel or PDF filepython-docx, openpyxl, pandas or reportlab on your computer, then filestudio, which is for texts people return to
Something that runs againautomationa codemode program, which is not saved
The same judgment over many itemspraxis.model.systemoneone chat call per item
A page that needs login or clicksbrowsersearch extract, which only reads text
Answers from the user’s documentsknowledge plus filereading every file each time
Code for a product to run in throwaway machinessandboxyour own computer
A live websiteapplicationcanvas, which only shows mock-ups

Unknown calls

Call codemode.describe on the domain before guessing a method name or its fields. A failed call means you have not learned the method yet: describe it, do not guess again.

account

Members, balance, usage and API keys.

Use it when

  • Asked what was spent: organization.usage.list, costs.list.

Not for, use instead

  • End users → customer
  • Third-party secrets → vault

How it behaves

  • Invites, top-ups and keys are Console-only, by a person; agents never top up.

Combines with

  • Per-call cost is in usage.cost.

Entry: praxis.organization.* · docs developers/account/usage

agent

Saved, versioned agent configs that work in sessions.

Use it when

  • Open-ended work with no fixed steps.

Not for, use instead

  • One model call → model
  • Fixed steps → automation
  • A fixed process served to others → service-agent

How it behaves

  • A session pins its version; read agent.message then session.status_idle; default budget USD 20.

Combines with

  • Automation calls agents only where judgment is needed.

Entry: praxis.agent.* · docs developers/agent/concepts/index

application

Publishes a website with its backend as a live app.

Use it when

  • A working site: pages, login, data, a shop, an internal tool.

Not for, use instead

  • A mock-up → canvas
  • Orchestration → automation

How it behaves

  • Next.js on Workers; praxis.application.publish({ name, dir }), never wrangler.

Combines with

  • Customer signs its visitors in.

Entry: praxis.application.* · docs developers/application/index

automation

Saves work as a versioned script or workflow that reruns on triggers, with a record of every run.

Use it when

  • Work that repeats, runs on a schedule or webhook, or outlasts a codemode program.

Not for, use instead

  • A one-off task: use your computer → agent
  • Keeping a run’s results → file

How it behaves

  • Scripts call the SDK; workflows reach the platform only through Actions; HTTP success is not run success.

Combines with

  • Explore on the computer first, then save.

Entry: praxis.automation.* · docs developers/automation/concepts · recipes cookbook/ops-hub/daily-report

browser

Cloud Chrome you script; people watch and take over in Console.

Use it when

  • A page must be rendered, clicked, filled or used logged in; handoff.create asks a person.

Not for, use instead

  • Text of a public page → search
  • Passwords → vault

How it behaves

  • Use praxis.browser.connect(), never a local install; reuse one named session per task.

Combines with

  • Login state lives in a browser context.

Entry: praxis.browser.* · docs developers/browser/index

canvas

Designs drawn by script on a live canvas, exported as files.

Use it when

  • Screens, diagrams, posters, and slides: one 1920×1080 frame each, export pptx.

Not for, use instead

  • A working site → application
  • Video → cut

How it behaves

  • Each execute is versioned; one section per call; never edit one canvas in parallel.

Combines with

  • Share the viewer_url.

Entry: praxis.canvas.* · docs developers/canvas/index

content

Library videos published for signed-in viewers only.

Use it when

  • Course videos for enrolled viewers.

Not for, use instead

  • Storing video → media
  • Who viewers are → customer

How it behaves

  • Publish waits for readiness ready; no public mode.

Combines with

  • The source stays in media.

Entry: praxis.content.* · docs developers/content/index

crm

Contacts, leads, deals and orders shaped like HubSpot.

Use it when

  • A sales pipeline, lead qualification, orders and payments.

Not for, use instead

  • End users who sign in → customer
  • Generic data → database

How it behaves

  • Use the stage ids the service returns; crm.leads.qualify turns a lead into a deal.

Combines with

  • Records link from tickets.

Entry: praxis.crm.* · docs developers/crm/index

customer

Your end users, one identity across agents, content and apps.

Use it when

  • End users must sign in, or be banned.

Not for, use instead

  • Colleagues → account
  • Sales leads → crm

How it behaves

  • Your backend issues one-time grant codes scoped <type>:<id>:<action>.

Combines with

  • Gates content, service agents and apps.

Entry: praxis.customer.* · docs developers/customer/index

cut

Video editing by script, watched live, exported to the library.

Use it when

  • Trim, caption, add music, reframe, export.

Not for, use instead

  • Finding footage → media
  • Stills and slides → canvas

How it behaves

  • One execute is a transaction; describe methods first, never guess twice; share console_url.

Combines with

  • Finished cuts go to content.

Entry: praxis.cut.* · docs developers/cut/index · recipes cookbook/video/course-talking-head, cookbook/video/long-to-shorts

database

Tables and key-value stores: the shared record of business data.

Use it when

  • Products, orders, customers: structured records.

Not for, use instead

  • Documents → file
  • App sessions and caches → application

How it behaves

  • /database/v1/table or /kv is fixed at creation; requests stop at 8 s.

Combines with

  • Sites rebuild to show new rows.

Entry: praxis.database.* · docs developers/database/concepts · recipes cookbook/scenarios/product-catalogue

file

Upload once, pass the file id everywhere; the home of finished files.

Use it when

  • A finished file must reach a person: files.contentUrl.create signs a link.

Not for, use instead

  • Search inside documents → knowledge
  • Images and video → media
  • Records → database

How it behaves

  • A file id is not a URL; big or local files go through uploads.createSigned.

Combines with

  • People preview Office files read-only in Console, or download them.

Entry: praxis.file.* · docs developers/file/concepts · recipes cookbook/scenarios/cloud-files

knowledge

A searchable projection of files; answers cite file and page.

Use it when

  • Answer from the user’s documents, now or later.

Not for, use instead

  • One file you can read now → file
  • Exact queries → database

How it behaves

  • Searchable only when each file’s status is completed; check every file.

Combines with

  • The original stays in file.

Entry: praxis.knowledge.* · docs developers/knowledge/concepts · recipes cookbook/scenarios/docs-qa-assistant

media

A library agents understand: store, find, generate and edit images, video, audio.

Use it when

  • Generate or edit visuals, find assets by meaning, follow a live stream.

Not for, use instead

  • An original file only → file
  • Editing video → cut
  • Video for signed-in viewers → content

How it behaves

  • Generation is a job; poll about every 10 s; keep asset_id, not signed URLs.

Combines with

  • Fills canvas frames and cut tracks.

Entry: praxis.media.* · docs developers/media/concepts · recipes cookbook/scenarios/works-series

model

All vendors’ models behind one key; OpenAI and Anthropic compatible.

Use it when

  • A direct model call; for one typed judgment over many items, praxis.model.systemone.

Not for, use instead

  • Conversation with tools → agent
  • Web facts → search

How it behaves

  • Use the catalogue id; cost is in usage.cost; 402 means no balance.

Combines with

  • Workflows branch with the decide action.

Entry: praxis.model.* · docs developers/model/concepts/index

registry

Private packages: skills and plugins, versioned, installed on agents or computers.

Use it when

  • An integration skill several agents should share.

Not for, use instead

  • How to use Praxis itself → automation
  • Instructions for one agent → agent

How it behaves

  • Versions are immutable; skills pin a version.

Combines with

  • At most 20 skills per agent.

Entry: praxis.registry.* · docs developers/registry/index

sandbox

Throwaway machines your product creates through the API; not your own computer.

Use it when

  • An app must run code in isolation, or needs a template, fixed IP or cloud phone.

Not for, use instead

  • Your own scratch work: use your computer → agent
  • Work that runs again → automation

How it behaves

  • Ephemeral or persistent is chosen at creation; default life 5 minutes.

Combines with

  • Keep results in file via outputs.

Entry: praxis.sandbox.* · docs developers/sandbox/concepts/index

Web search with sources; extract, crawl and map a site.

Use it when

  • Current facts, prices, docs; the text of a known URL.

Not for, use instead

  • The organization’s documents → knowledge
  • Pages needing login or clicks → browser

How it behaves

  • Billed per call; max_results 10 by default, 20 at most.

Combines with

  • Cite the pages you opened.

Entry: praxis.search.* · docs developers/search/concepts/index

service-agent

An agent published for customers or colleagues to chat with.

Use it when

  • Each request follows one process: support, triage, a course assistant.

Not for, use instead

  • Open-ended work → agent
  • Steps that never vary → automation

How it behaves

  • Fresh machine per session; host-scoped secrets are not injected; the UI is the Kit <praxis-agent>.

Combines with

  • Customer decides who may chat.

Entry: praxis.agent.* · docs developers/agent/end-users · recipes cookbook/scenarios/ai-twin

studio

Writing from plan to finished piece, exported per platform.

Use it when

  • A text people return to, edit or publish.

Not for, use instead

  • Quick ideas or edits: answer in chat → agent
  • Contracts and reports: python-docx → file

How it behaves

  • Writes return checks and next; send expected_revision.

Combines with

  • Images come from media.

Entry: praxis.studio.* · docs developers/studio/index

ticket

Work that outlives the conversation, like GitHub Issues.

Use it when

  • Someone picks it up later, or the user asks.

Not for, use instead

  • The design itself → canvas
  • A file → file

How it behaves

  • Search first; one problem per ticket; close with state_reason.

Combines with

  • Links to canvases render as live cards.

Entry: praxis.ticket.* · docs developers/ticket/index

vault

Third-party credentials, released only to allowed hosts.

Use it when

  • An external API key, token or site password is needed.

Not for, use instead

  • Website login state → browser
  • Praxis API keys → account

How it behaves

  • Never handle values: people type them in Console; never ask for, accept or write one.

Combines with

  • Tag secrets owner, purpose, ticket, rotate_by.

Entry: praxis.vault.* · docs developers/vault/concepts

workforce

The org chart: departments, positions held by people or agents, and objectives.

Use it when

  • Open positions, hire an agent, set objectives.

Not for, use instead

  • Task tracking → ticket
  • Inviting colleagues → account

How it behaves

  • One holder per position; objective periods move by date.

Combines with

  • Agents learn their post from it.

Entry: praxis.workforce.* · docs developers/workforce/index

Next