A principal submits a program. Its run calls the tools of a provider, directly or through custom tools. Coral checks the policy of each tool. Then Coral adds the credentials of the account and calls the upstream service.
Organizations
Each Coral deployment contains exactly one organization. An organization is the top-level container for workspaces. Any organization member can create a workspace. Organizations have owners. They can:- Manage organization membership
- See every workspace and its owners
- Assign a workspace owner, including themselves
- Archive and restore workspaces
Workspaces
A workspace is a container for providers, the people and agents that use them, and everything they run. Workspaces have owners. They can: Workspace members share its providers and policy.Providers
A provider is a workspace-owned set of tools for an upstream service such as GitHub or Linear. Add one from Coral’s provider catalog, or from your own OpenAPI document or MCP server. Each provider you add carries:- an immutable namespace, unique in the workspace, that prefixes every call path
- an account setting
- per-tool policy
Built-in provider
Every workspace also has one built-in provider, Coral. Coral defines its tools and performs them itself, without an upstream service. On the Tools page, the Coral UI lists it first under Provider tools.- Its tools sit directly on
coral, as incoral.search, with no namespace. - Members and agents can find and call only
coral.listProviders,coral.getPolicy,coral.search,coral.addCustomTool,coral.updateCustomToolandcoral.removeCustomTool. Workspace owners can find and call all its tools. - Workspace owners can only disable it, enable it, and set its policy. Nobody can rename or remove it. It has no accounts.
Tools
A tool is a single action exposed by a provider. It has named inputs and returns one result. Programs call a tool by its call path, which begins withcoral.providers and the provider namespace:
coral instead, as in coral.search. Private tools sit under coral.private, and the workspace’s shared tools sit under coral.shared.
Account setting
An account holds the credentials that Coral sends to the upstream service. It belongs to one provider, and Coral never reuses it for another provider. An account setting decides whose account a provider uses.- No account: the service doesn’t require credentials.
- Individual accounts: each user connects their own account. For an agent, the workspace owner must connect an account.
- Choose this setting when you want each user to access the provider as themselves. For example, Gmail should use this setting, because each user should access only their own emails.
- One shared account: all principals (users and agents) use the provider’s single shared account.
- Choose this setting when everyone is allowed to access the provider. For example, with Datadog, everyone should see the same dashboards and alerts, and the team owns the account, not one person.
Tool policy
Workspace owners set policy on a provider. The policy of each tool is one of:- Allow: the tool runs.
- Ask: the call pauses until a person decides. A user approves their own calls. A workspace owner approves an agent’s calls.
- Block: nobody can call the tool, and Coral hides it from the agent.
coral.addCustomTool, coral.updateCustomTool and coral.removeCustomTool are Allow too, because they change only the caller’s own private tools. A private tool uses the policy its author chose, which is Allow by default. A shared tool uses the policy the workspace owner chose when publishing it. Every other tool’s policy is Ask. Set Ask on a tool that changes data through one of these methods.
With coral.getPolicy, a program reads the policy rules that a workspace owner set. The rules are keyed by each tool’s call path, such as coral.providers.github.repos.get. The program reads the rules for every provider’s tools, the built-in tools, the shared tools and its own private tools. The result leaves out a tool that has no rule, and that tool uses its default. Pass under, such as coral.providers.github, to read only part of the rules.
A workspace owner’s program can change a rule with coral.updatePolicy, which needs approval until you set another policy for it:
updatePolicy changes a provider’s tools, shared tools and the owner’s own private tools. It cannot change the policy of the built-in tools: set those in the Coral UI.
Principals
A principal is an authenticated actor that Coral attributes work to. It is a human user or an autonomous agent.- A user signs in through OAuth and can be part of many workspaces.
- An agent belongs to one workspace only, and uses its own API key.
Programs
A program is TypeScript that a principal submits for Coral to execute. A program reaches upstream services, such as GitHub or Linear, only through tools:coral.private.
It never sees your credentials.
Submitting a program creates a run.
Runs
A run is one execution of a program. A run executes on the Coral server, not in your agent. If your agent disconnects, the run continues, and its tool calls still take effect. Coral never retries a tool.Coral UI
The Coral UI is Coral’s web interface. The desktop app and a shared server both include it. Use the Coral UI to add providers, connect accounts, set policy, approve tool calls, and inspect runs. A workspace’s overview summarizes your recent activity over the last 24 hours, 7 days or 30 days. It shows how your calls ended, which tools were called or stopped, the approval decisions, and how many bytes your runs added to or saved from your context. In a workspace you own, it includes your agents’ runs. Your agents do not use the Coral UI. They reach a workspace through its MCP endpoint.Custom tools
A custom tool is a reusable tool that Coral performs from TypeScript that a principal wrote. A custom tool is private or shared. On the Tools page, the Coral UI lists both kinds under Custom tools.Private tools
A private tool is a custom tool that a principal saves at a path undercoral.private in one workspace.
Date, a Map, NaN or a function instead of converting it, and names where it is.
To save a private tool, a program declares a TypeScript function at its top level. The program calls the function first, then passes it as source to coral.addCustomTool. Coral saves the function with the top-level declarations it uses. coral.addCustomTool fails when the path is already taken. A program replaces a private tool with coral.updateCustomTool and removes one with coral.removeCustomTool. All three act only on the principal’s own private tools.
coral.private.triage.staleIssues. The program that saves it cannot call the new version by that path. A program that replaces a private tool calls the version that was current when it started.
A user’s private tools are private to that user. The Coral UI lists them in the Private group.
Shared tools
A shared tool is a custom tool that a workspace owner publishes from a private tool, in the Coral UI. It sits undercoral.shared, and every principal in the workspace can call it. The Coral UI lists shared tools in the Shared group.