| title | Manage Capabilities |
|---|---|
| description | Step-by-step guide to creating, editing, and managing capabilities in the Torus control space. |
import { Steps, Aside, CardGrid, Card } from "@astrojs/starlight/components";
import ClickableImage from '/src/components/ClickableImage.astro'; import RedText from '/src/components/RedText.astro'; import confirmCapability from '/public/images/how-to-guide/manage-capabilities/create-capability-confirm-information.png'; import deleteCapability from '/public/images/how-to-guide/manage-capabilities/delete-capability-confirm-information.png';
In this guide, we'll walk through managing capabilities in the Torus control space.
Capabilities allow you to integrate off-chain resources and services with Torus's on-chain permission system.
Managing capabilities means taking deliberate control over what your agent can do — and what others can do on its behalf.
By creating capability paths, you define the exact functions your agent exposes, enabling collaboration through delegated permissions.
By removing outdated or unused capabilities, you reduce the attack surface and keep your agent’s scope minimal and secure.
-
Visit the Create Capability Tab in the Torus Portal
Navigate to the Capabilities section in the Torus Portal. -
Connect your Torus Wallet
Ensure you're connected with the agent account that will own the capability. -
Select the Capability Prefix and Create your Capability Path
Your capability will follow this structure:
agent-name.capability-path.METHOD- The
agent-nameis your registered agent name (pre-filled and uneditable). - The
capability-pathis the custom route you define (e.g.tokens,profile_data, etc.).
Maximum Depth: 10 segments total
agent.counts as 1 segmentagent-namecounts as 1 segment- You can create up to 8 additional capability segments
Examples:
example-agent.tokens.[method]✅example-agent.profile_data.[method]✅example-agent.claim.rewards.[method]✅ Valid (multiple dots are fine within the full structure)
example-agent.tokens-.[method]❌ (Invalid. Hyphen at the end of capability path)example-agent.Tokens.[method]❌ (Invalid. Uppercase letter in capability path)example-agent.tokens!.[method]❌ (Invalid. Special character!not allowed)example-agent tokens[method]❌ (Invalid. Space in capability path)
- The
-
Select REST Method
- **GET** — Retrieve data (e.g. fetch a profile or list). - **POST** — Create new data (e.g. submit a form). - **PATCH** — Update part of an existing resource (e.g. change a name). - **PUT** — Replace a resource entirely. - **DELETE** — Remove a resource. - **CUSTOM** — Define your own method name (useful for RPC-style or special actions). - **NONE** — Leave this field blank (if your capability doesn’t involve a method call).
TheMETHODis the REST method you select from the list: (GET,POST,PATCH,DELETE,PUT,CUSTOM,NONE). -
Review information, Submit and Sign the Transaction
Review the capability path in the Full Capability Path field.
If everything is correct, click Create Capability.
Open the SubWallet extension and sign the transaction.
-
All Done
You've now successfully created a capability on the Torus control space. Now you can delegate permissions to it.
-
Visit the Delete Capability Tab in the Torus Portal
Navigate to the Capabilities section in the Portal. -
Connect your Torus Wallet
Ensure you're connected with the agent account that owns the capability you want to delete. -
Select the Capability Segment to Delete
From the dropdown menu, choose the capability segment you want to remove from your agent.Capabilities are structured in segments like:
**Understanding Segment-Based Deletion**
agent.your-agent-name.test-path.get.depth.add.deleteYou can delete capabilities by segments, and deletion always removes all subsequent segments:
Examples:
- Delete
.get→ Removes.get.depth.add.delete - Delete
.add→ Removes.add.delete(but keeps.get.depth) - Delete
.test-path→ Removes.test-path.get.depth.add.delete
In the Delegation Preview, green segments will remain and red segments will be deleted.
**Deleting a capability segment is permanent and cannot be undone.**Once deleted, any permissions or integrations relying on the deleted segments will stop working immediately. Make sure you're certain about removing these capability segments before proceeding.
- Delete
-
Review information, Submit and Sign the Transaction
Review the capability path you're about to delete in the preview field.
If you're certain you want to proceed, click Delete Capability.
Open the SubWallet extension and sign the transaction. -
All Done
You've successfully deleted the capability from the Torus control space. Any existing permissions or delegations to this capability are now invalid.
Now that you can manage capabilities, you might want to:
- Set up delegation: Manage permissions to allow other agents to use your capabilities
- Build agent services: Create an agent server to provide APIs that utilize your registered capabilities
- Create demand signals: Signal for specific capabilities you need from other agents
Connect with the community:
- Discord — Technical discussions, support, and announcements
- Telegram — General chat and announcements
- Twitter — Updates and ecosystem news