Amodal Configuration
Amodal has two configuration scopes:
- Agent workspace pages live under
/agents/:agentId/*and configure one agent. - Organization workspace pages live under
/org/:orgId/*and configure members, billing, model provider credentials, and automation tokens.
Permissions decide what each member can see and edit. Viewers see read-only versions of pages that admins and developers can edit.
Agent Workspace
The sidebar lists Overview at the top, groups agent pages into Agent, Deploy, and Operate, and places Settings at the bottom.
| Page | Path | What it shows |
|---|---|---|
| Overview | /agents/:id | Health summary, recent sessions, billable spend, model status, connection gaps, and suggested actions. |
| Models | /agents/:id/models | Model selection, billing-period usage, provider key status, and model comparison. See Models. |
| Connections | /agents/:id/connections | Connection inventory, credential status, runtime health, and live connection tests. |
| Guardrails | /agents/:id/guardrails | Hook inventory, available hook packages, and fixture test runner against the selected deployment. |
| Automations | /agents/:id/automations | Scheduled (cron with time zone, every, or one-shot at) and event-driven background bindings and their runs. |
| Stores | /agents/:id/stores | Store schemas and documents. |
| Memory | /agents/:id/memory | Company memory entries when memory is enabled. |
| Prompt | /agents/:id/prompt | Compiled system prompt, token budget, and the largest prompt contributors. |
| Knowledge | /agents/:id/knowledge | Markdown knowledge documents, searchable corpora, and runtime libraries with their filed documents. |
| Source | /agents/:id/files | Source browser and editor for Amodal-hosted versions or a connected Git repository. |
| Proposals | /agents/:id/proposals | Source changes proposed from agent chat, the builder chat, or issue fixes. See Proposals. |
| Deploys | /agents/:id/deploys | Deploys, build logs, deploy settings, and promote, start, stop, redeploy, and delete actions. |
| Evals | /agents/:id/evals | Eval cases and runs, including multi-model comparison. See Evals. |
| Embed | /agents/:id/embed | See Embed. |
| Sessions | /agents/:id/sessions | Saved conversations with scopes, token usage, messages, tool calls, and online evaluator review pass rates. |
| Traces | /agents/:id/traces | Recorded runs with labeled spans and waterfall detail, trace sessions, monitoring, and online evaluators. |
| Issues | /agents/:id/issues | Recurring failures that triage found in flagged production runs. See Issues. |
| Feedback | /agents/:id/feedback | End-user thumbs-up and thumbs-down ratings and comments linked to sessions and runs. |
| Logs | /agents/:id/logs | Full-width logs explorer with a Runtime / Audit toggle, volume histogram, live tail, and facets. |
| Activity | /agents/:id/activity | The Audit view of Logs: deploys, source commits, proposal decisions, auth changes, and secret edits. |
| Cost | /agents/:id/cost | Estimated model spend by scope, model, deploy, and day. |
| Settings | /agents/:id/settings/general | See Settings. |
The Sources switcher in the sidebar footer selects which commit or branch Studio views (viewing, live, latest, and deployed badges) so you can inspect or roll back earlier agent definitions. Selecting a deploy switches the viewed source to the commit that deploy was built from. On Guardrails, running a hook fixture targets the selected deploy's runtime and is disabled with a warning when that deploy was not built from the viewed commit.
On Sessions, each conversation shows its aggregated pass rate from online trace evaluators. Opening a session shows a Session review card where Run review (Review N unjudged runs) grades past turns in that session that have not yet been evaluated.
Traces > Sessions can list sessions that have no saved conversation. These rows show Conversation unavailable, and their runs remain available.
Under Traces > Evaluators, online evaluators grade recorded runs. Choose an LLM judge with a rubric, or TypeSafe Jev with a statement or scoring rubric. TypeSafe Jev can escalate uncertain results to an LLM judge. Set a sampling percentage and filter eligible runs by source, status, model, or tool. Evaluators committed in the repository under evals/traces/*.md sync on deploy and appear with a repo badge; see Online trace evaluators.
Logs opens a full-width explorer shared by Runtime (/agents/:id/logs) and Audit (/agents/:id/activity). Runtime draws a stacked volume histogram by level, supports 5-second Live polling on page 1, and filters by time range (24h, 7d, 30d, 90d, all), search (/, including key:value attribute queries), multi-select level (with a Problems shortcut for fatal, error, and warn), context (Sessions & scopes, Runtime only, or All events), and scope. Audit filters by severity, source, and deploy. Clicking any row opens a detail drawer with one-click filter chips, flattened attributes, raw JSON, and j/k keyboard navigation.
Cost estimates model spend from trace spans. It excludes platform fees and reports runs with missing pricing. The Billable spend chart on Overview and Organization > Usage show billing ledger charges, including platform fees and provider pass-through.
Settings
| Tab | Path | Purpose |
|---|---|---|
| General | /agents/:id/settings/general | Agent name, agent ID, app URL, and creation date. |
| Source | /agents/:id/settings/source | Source provider, current ref, and GitHub export or connection. |
| Secrets | /agents/:id/secrets | Agent environment variables and connection secrets. |
| API Keys | /agents/:id/settings/api-keys | ak_ runtime keys. |
| Auth | /agents/:id/auth | Hosted app access and end-user identity. |
| Runtime | /agents/:id/runtime | Runtime machine memory. |
| Domains | /agents/:id/settings/domains | Approved embed origins and custom app hostnames. |
The General display name is platform metadata. It is separate from amodal.json#name.
Source
An agent's source is either Amodal-hosted versions or a connected GitHub or GitLab repository. For a GitHub source, this tab can connect, reconnect, disconnect, or choose from the repositories granted to the Amodal GitHub App.
Export to GitHub moves Amodal-hosted source to GitHub. It requires an empty repository that the Amodal GitHub App can access. Export commits every saved version to that repository and switches the agent's source to GitHub.
Push deployment rules and deployment evals live in amodal.json, not in this tab. See CI Rules.
Secrets
Secrets are agent environment variables. Source files reference them with env:NAME. Some platform-managed secrets cannot be edited or deleted.
An admin automation token can list secret names and create, update, or delete secrets. No automation token can read a secret value.
API Keys
Agent API keys are persistent ak_ credentials for calling the deployed runtime from a server. The raw key is shown once at creation. See Authentication.
Auth
See Authentication for app access modes, runtime credentials, and identity settings.
Runtime
| Memory | Use |
|---|---|
| 512 MB | Default. Fits most agents. |
| 1 GB | Larger bundles and several connection drivers. |
| 2 GB | Heavy in-process workloads. |
| 4 GB | Maximum. Use when smaller sizes run out of memory. |
A change applies on the next deploy or runtime rollout.
Domains
| Section | Purpose |
|---|---|
| Approved Domains | Hostnames, localhost, or wildcards such as *.example.com. They do not route app traffic. |
| Custom Domains | Concrete hostnames that serve the hosted agent app. localhost and wildcards are not accepted. |
The edge does not restrict runtime calls to approved domains. It accepts cross-origin requests from any site and authenticates them by bearer token.
Custom domain status is pending, verifying, active, or error.
Embed
The Embed page configures the preview and the generated @amodalai/react/widget snippet.
| Field | Options or meaning |
|---|---|
| Enabled | Turns the widget on or off in the saved config. |
| Position | floating, right, bottom, or inline. |
| Scope | optional or required. required makes scopeId a required prop of the generated component. |
| Open by default | Opens the widget panel on load. |
| Session history | Shows previous sessions. |
| Feedback buttons | Shows thumbs up and down controls. |
| Verbose tools | Shows expanded tool details. |
| Header | Widget title text. |
| Placeholder | Input placeholder. |
| Empty state | Text shown before the first message. |
| Primary color | Accent color. |
| Mode | auto, light, or dark. |
| Allowed domains | One origin per line, saved with the config. The runtime does not enforce this list. |
A mounted widget uses its own props. Saving Embed settings does not change widgets already installed in another app. See Chat for the widget props.
Models
A selection on the Models page overrides the corresponding version 2 amodal.json model. While a main model chosen on the page is in effect, the Default model card names the model the agent runs without that choice, and Clear choice removes the page's choice so the agent returns to that model. See Model selection. Model source chooses where it runs: Amodal-managed offers the catalog models, served through Amodal's provider accounts and billed per token, and Self-hosted offers the models of the agent's own endpoint. The page also sets an effort level for models that support one, a thinking budget, an output-token limit, and bindings for named model categories, including simple and advanced. A tier can use a model from either source. An unbound tier uses the agent's model. See Agents.
Choosing Self-hosted with no endpoint offers Connect endpoint, which connects a model you host, on a Google Vertex AI endpoint or an OpenAI-compatible server. Once connected, the Self-hosted endpoint card shows its configuration and lets you test, edit, or remove it. See Self-hosted Models.
The page also shows the agent's billing-period usage (cost, tokens, and sessions), Provider keys verification status (Verified, Key issue, or Missing), and a searchable, sortable Compare models table (input and output price per 1M tokens, context window, current billing-period usage, and availability status).
Organization-level provider credentials, custom base URLs for private or on-prem LLMs, and model allowlists live in Organization > Model Providers. See Providers.
Organization Workspace
| Page | Path | Purpose |
|---|---|---|
| Agents | /org/:orgId | List and create agents. |
| Alerts | /org/:orgId/alerts | Failure alerts across agents, such as failed runs, model and tool errors, and failed deploys. |
| Users | /org/:orgId/members | Invite users, manage roles, revoke invites, and remove members. |
| Usage | /org/:orgId/usage | Usage charges by organization and agent. |
| Billing | /org/:orgId/billing | Plan, credits, spend limit, payment methods, and subscription actions. |
| Model Providers | /org/:orgId/model-providers | Provider enablement, Amodal-managed or your own API key, base URL, verification, and allowed models. |
| Marketplace | /org/:orgId/marketplace | Publish, edit, and archive your template and plugin listings. |
| Settings | /org/:orgId/settings | Organization name, ID, plan, and creation date. |
| GitHub Access | /org/:orgId/github-access | Install the GitHub App and manage its installations. Shown to admins of company organizations. |
| Automation Tokens | /org/:orgId/automation-tokens | pk_ tokens for coding agents and CI. |
Roles are assigned per organization. Admins and developers are billable seats; viewers are free. A viewer's Studio chat runs in the agent-level scope and ignores a scope_id in the request, so it cannot act in an end user's scope. A pending invite is billed only after acceptance. You cannot remove yourself, and the last admin cannot be demoted or removed.
Automation Tokens
Automation tokens are pk_ credentials for the Platform API. They cannot call runtime chat; exchange one for a runtime token first. See Authentication.
| Kind | Access |
|---|---|
observer | Read-only status, deploys, sessions, usage, and evals. |
operator | Observer access plus redeploy, deployment, eval, and short-lived runtime token minting (POST /api/agents/:id/tokens). No secrets, billing, or members. |
admin | Administration, including creating agents, connecting GitHub source, and managing secrets. |
A token is bound to one agent or to every agent in the organization. The UI offers 7, 30, or 90 days of validity; the API accepts expires_in_days from 1 to 365. Admin tokens default to 7 days and other kinds to 30. The raw token is shown once at creation and once after each rotation.
Every token operation requires a signed-in user session, so automation tokens cannot create, rotate, or revoke tokens. Listing, rotation, revocation, org-wide tokens, and admin tokens require organization admin permissions. An agent-bound observer or operator token requires permission to edit that agent plus the organization permissions its kind grants.
Use an org-wide admin token only for setup that creates agents or connects source. Use agent-bound operator tokens for CI deploys and observer tokens for monitoring.