Administer
Organizations
On this page
What an organization owns
An organization is your team's shared account on Valet. It owns every skill, artifact, app and agent published to it, along with their connectors, resources, channels and env vars.
When someone leaves, what they built keeps running. The dashboard lists each artifact, app and agent with the person who published it, but that person doesn't own it.
Names and addresses
The organization's name is part of every address it serves:
https://<name>.<org>.valet.runA name is 3 to 63 lowercase letters, digits and hyphens, and starts and
ends with a letter or digit. Some names, such as admin, api and
www, are reserved. An organization can't be renamed. A deleted
organization's name is never used again.
More than one organization
A person can belong to several organizations. Create one in the dashboard or
with valet orgs create <name>. list_orgs, or valet orgs, lists
yours. list_orgs gives each one's member and invitation counts; pass
include with members or invitations to list them.
MCP tools act on the organization named by org_name, or else the
organization you joined first. CLI commands act on the organization
named by --org, then the organization linked to the current folder,
then your default organization. Set the default with
valet orgs set-default <org>.
Members and invitations
Membership gives access to the organization's services. Someone who isn't a member can't open what the organization keeps private.
Invite and join
Invite people from the dashboard's Team page, or:
No MCP tool does this. Use the CLI.
Valet emails the person a link and a code. An invitation lasts 7 days and works once. The Team page's Invitations tab shows each pending invitation's link, to send another way if the email doesn't arrive. Only people who can invite see the links and codes.
Pass --role to choose the person's role:
No MCP tool does this. Use the CLI.
The code isn't tied to the address it was sent to: whoever holds it can join. Revoke an invitation you no longer want:
No MCP tool does this. Use the CLI.
To join, open the link or run valet orgs join <code>. Someone who
signs up with the invited address also sees the invitation during
onboarding. valet orgs members acme lists members and pending
invitations.
Leave or remove
No MCP tool does this. Use the CLI.
You can't remove yourself; leave instead. The last member can't leave until they add another member or delete the organization. The last Admin can't leave, be removed or become a Developer.
Removing a member, or a member leaving, cancels every pending invitation in the organization. Invite those people again.
Valet checks membership on every request. Removing a member ends their access to the organization, including its private artifacts and apps, at their next request. What they published stays.
Roles
Every member is an Admin or a Developer.
- A Developer builds and runs artifacts, apps, agents and skills: publishes them, scales them, sets their env vars and access, and adds the connectors, resources and channels they use.
- An Admin can also manage members and roles, billing, organization settings and access rules, organization env vars and drains, release policies and checkers, governance standards and the design system, mailboxes, and the Slack workspace connection. Only an Admin can reveal a secret's value or read the audit log.
Change a member's role with:
No MCP tool does this. Use the CLI.
Only an Admin can change a role or invite an Admin. An organization always keeps at least one Admin. An agent always acts as a Developer, whoever created it.
Valet enforces roles one organization at a time. In an organization that doesn't enforce them, a Developer can still do what an Admin can, except change roles, read the audit log and set access rules. In the cloud, new members join as Admins. Contact support to have your organization enforce roles.
Sign-in
People sign in to Valet with an email and password or a Google account.
One sign-in covers the dashboard, the CLI (valet auth login), MCP
clients such as claude.ai, and every private artifact and app in their
organizations.
Signing in doesn't add anyone to an organization. Membership comes only from an invitation, or from creating the organization.
Valet can connect your organization to your company's identity provider for single sign-on: Okta, Entra ID, Google Workspace, or any OIDC or SAML provider. Contact support to set it up.
Who can reach what's published
Artifact
- Who can reach it
- Private, password or public, plus named people by email
- Details
- Artifacts
App
- Who can reach it
- Private, password or public
- Details
- Apps
Agent
- Who can reach it
- Members at its address, plus whoever its channels admit
- Details
- Agents
- Private admits organization members. Password adds anyone with the password. Public admits anyone.
- New artifacts and apps start private.
- Valet checks access before an artifact or app sees the request. An app learns nothing about who the visitor is.
- An agent serves a chat page at
https://<agent>.<org>.valet.run, which members open after they sign in. Its channels decide who else reaches it. On Slack, anyone who can message the agent there reaches it. An MCP channel with sign-in admits organization members. A webhook, or an MCP channel's token, admits whoever holds the secret.
Access rules
An Admin can forbid public access, password access or both for the
whole organization. Set them on the Team page's Settings tab,
under Access rules, with a reason. Valet then refuses to give any
artifact, app, agent or skill a forbidden mode, with
access.mode_forbidden. Private is always allowed.
A rule doesn't change what's already published. The Access rules section lists the services that still use a forbidden mode, and each keeps it until someone changes it.
Logs and visibility
The dashboard lists every artifact, app and agent in the organization, with who
published each. The MCP tool list_services returns the same list, skills
included, with each one's access mode and author. The organization's skills are
under Skills, and list_skills returns them. Valet records who created a
skill and who published its latest release, and each release is a Git commit
with the time it was saved.
get_logs returns an app's or agent's recent log lines, and
valet logs -f follows them. Valet keeps only recent lines, 72 hours
by default.
A drain sends telemetry to your own system over OTLP HTTP. It can carry
logs, traces and metrics. Give a base URL, and the drain stores an
endpoint for each signal it carries. A new drain carries logs and traces
unless you pass --signals to choose among logs, traces and
metrics. A URL that ends in /v1/logs stores a logs endpoint alone.
--logs-endpoint and --traces-endpoint replace one derived URL. The
metrics endpoint always comes from the base URL, since no
--metrics-endpoint flag exists yet. Valet sends no platform metrics.
No MCP tool does this. Use the CLI.
Change a drain in place with valet drains update. It changes only what
you pass: --name, --url, --signals, --logs-endpoint,
--traces-endpoint, --header NAME=VALUE to add or replace a header,
and --remove-header NAME to remove one. Repeat --header and
--remove-header for more than one header.
No MCP tool does this. Use the CLI.
- A drain belongs to one artifact, app or agent, or to the
organization. An organization drain receives every artifact, app,
agent and skill in the organization. Create it with
--organd no--agent:valet drains create https://otlp.example.com --org acme. - In an organization that enforces roles, only an Admin can create, update or destroy an organization drain. A service can't change or destroy one.
- Each drain has a name. Without
--name, the name is the endpoint's host. Names are unique, ignoring case, among the organization's drains or among one service's drains. valet drains infoandvalet drains destroytake the drain's name, one of its endpoints, or the base URL.valet drainson a service lists its own drains and its organization's, with each drain's name, endpoint, signals and status. With--orgalone, it lists the organization's drains.- An organization drain's endpoints and header names are visible only to Admins. In an organization that enforces roles, a Developer sees an organization drain's name and signals, and the CLI shows its endpoint as "(hidden)". A service's own drains are visible to anyone who can read its logs.
- The endpoint must be an https URL.
- Valet stores header values encrypted. A header value is write-only: the CLI and dashboard show header names, never values.
- For an artifact or app, the drain also receives one access event per request: method, path, host, status, duration, response size, and a failure code when Valet hit an error. Access events don't record who made the request.
- Every log record, access event, span and metric carries these
resource attributes:
service.name(the name of the artifact, app or agent),service.namespace(your organization's name),service.instance.id(the process, such asweb.1),valet.org.id,valet.service.id,valet.service.kind(site,app,agentorskill),valet.agent.idandvalet.process.name. A log record also carriesvalet.log.source; spans, metrics and access events do not. A log line over 1 MiB is cut short and also carriesvalet.log.truncated=true.service.nameused to be the constantvalet, so a query that filters on that value needs the artifact's name instead. - Traces follow one request through Valet. See Traces below.
- An app's metrics reach drains that accept metrics. See Apps for the OpenTelemetry setup.
- Two drains with the same endpoint and the same headers receive each batch once.
- Delivery is best effort: Valet drops a batch an endpoint keeps refusing.
Manage drains in the dashboard
The dashboard's Audit page, under Observability, lists the organization's drains. An Admin adds a drain with Add drain, and can rename it, change its OTLP endpoint, signals and headers, or remove it. Anyone else sees each drain's name, its signals, what it applies to, and when it was set up.
Traces
A drain with a traces endpoint receives these spans. Valet sets the
resource attributes above on each one and removes any valet.* resource
attribute your own code sent, so those keys always describe the service
that produced the span. Other resource, span and scope attributes pass
through unchanged.
<method> <route>, such as GET /{path...}
- Scope
valet.gateway- What it covers
- A request to a site or app.
invoke_agent <agent>
- Scope
valet.agent- What it covers
- One turn of an agent.
chat <model>
- Scope
valet.agent- What it covers
- One call to the model in a turn.
execute_tool <tool>
- Scope
valet.agent- What it covers
- One tool call.
mcp.call <connector>
- Scope
valet.gateway- What it covers
- A call a site's page makes through a connector.
Treat the span names and scopes as a stable contract. A request that
arrives with a traceparent header joins the caller's trace. A request
to a site or app that arrives without one starts a new trace at the
gateway, and an agent turn with no trace starts its own. The route in a
span name is a template, not the request path: a site or app request is
GET /{path...}, so one name covers every path. A request span carries
the method, route, path, host, status, response size and failure code. The agent spans follow
the OpenTelemetry GenAI conventions: the operation, provider, model and
token counts for a model call, and the tool name for a tool call. No span
carries a query string, header, prompt, reply, tool argument or tool
result. A failed span has an error status with a fixed message, not the
error text.
Valet drops a span batch that an endpoint keeps refusing, as it does a log batch.
The dashboard's Audit page manages drains. The audit log is on the Team page.
Audit log
Valet records every change made in your organization: who made it, what it was, what it changed, and whether Valet allowed it. That covers changing an access mode, publishing a skill, inviting or removing a member, and revealing a secret. Sign-ins are recorded too. Reading something isn't.
Admins read the log on the Team page's Audit log tab, newest first, and can filter it. Recording can't be turned off. It is best effort: a crash can lose the last few seconds of events.
Delete an organization
The dashboard has no delete button; use the CLI to delete an organization. Destroy what the organization owns first: its agents, apps and artifacts, then the connectors and resources they held. Then run:
No MCP tool does this. Use the CLI.
The CLI asks you to confirm. In a script, which has no terminal to
answer the prompt, pass --yes to skip it. The organization, its
members and its invitations are gone, with no undo.
Next steps
- Connectors: set up the services your team can use.
- Governance: publish your engineering standards.
- Release policies: enforce checks on releases.