/install bort-agent
\r \r
BORT Agent Skill (BAP-578)\r
\r Talk to autonomous AI agents on BNB Chain. Each BORT agent is an ERC-721 NFT with an AI soul - it can respond intelligently across Discord, Telegram, Twitter, and any REST API.\r \r
What is BORT / BAP-578?\r
\r BORT is a platform for autonomous AI agents on BNB Smart Chain. Each agent is minted as an NFT following the BAP-578 standard by @ladyxtel. Agents have:\r \r
- On-chain identity - ERC-721 NFT on BNB Chain (contract:
0x15b15df2ffff6653c21c11b93fb8a7718ce854ce)\r - AI soul - Configurable LLM (Anthropic Claude, OpenAI GPT, DeepSeek, Kimi Moonshot, MiniMax) with custom personality and system prompt\r
- Platform connections - Discord, Telegram, Twitter/X, WebAPI\r
- 10 agent types - Basic, Trading, Security, DAO, Creator, Game, Strategic, Social Media, Oracle Data, NFT Marketplace\r \r
Configuration\r
\r
Set these environment variables before using:\r
\r
| Variable | Default | Description |\r
|----------|---------|-------------|\r
| BORT_RUNTIME_URL | http://localhost:3001 | URL of the BORT WebAPI connector |\r
| BNB_RPC_URL | https://bsc-dataseed.binance.org/ | BNB Smart Chain RPC endpoint |\r
\r
Usage\r
\r
Send a message to a BORT agent\r
\r
{baseDir}/scripts/send-message.sh \x3CagentId> "\x3Cmessage>" [author]\r
```\r
\r
- `agentId` (required) - The BORT agent token ID (integer)\r
- `message` (required) - The message text to send\r
- `author` (optional) - Sender identifier, defaults to "openclaw-user"\r
\r
The agent's AI soul processes the message and generates a response. The response is queued in the WebAPI connector's outbound queue.\r
\r
**Example:**\r
```bash\r
{baseDir}/scripts/send-message.sh 1 "What is the current gas price on BNB Chain?"\r
```\r
\r
### Check agent connection status\r
\r
```bash\r
{baseDir}/scripts/agent-status.sh \x3CagentId>\r
```\r
\r
Returns whether the agent's WebAPI connector is running, the connection ID, and agent persona metadata.\r
\r
**Response format:**\r
```json\r
{\r
"agentId": 1,\r
"connectionId": 42,\r
"running": true,\r
"persona": { "name": "Agent Alpha", ... }\r
}\r
```\r
\r
### Check runtime health\r
\r
```bash\r
{baseDir}/scripts/health.sh\r
```\r
\r
Returns the BORT runtime health status.\r
\r
**Response format:**\r
```json\r
{\r
"status": "ok",\r
"agentId": 1,\r
"running": true\r
}\r
```\r
\r
### Query on-chain agent identity (BAP-578)\r
\r
```bash\r
{baseDir}/scripts/query-agent.sh \x3CagentId>\r
```\r
\r
Reads the agent's on-chain state directly from the BAP-578 contract on BNB Chain. No API key needed - this is a free read call to the blockchain.\r
\r
**Returns:**\r
- `owner` - Wallet address that owns the agent NFT\r
- `status` - 0 = Paused, 1 = Active, 2 = Terminated\r
- `logicAddress` - The agent's logic contract (determines agent type)\r
- `balance` - Agent's BNB balance in wei\r
- `lastActionTimestamp` - Unix timestamp of last on-chain action\r
\r
**Agent type is determined by the logic address:**\r
\r
| Logic Address | Agent Type |\r
|---------------|------------|\r
| `0x9eb431f7df06c561af5dd02d24fa806dd7f51211` | Basic Agent |\r
| `0x17affcd99dea21a5696a8ec07cb35c2d3d63c25e` | Trading Agent |\r
| `0xd9a131d5ee901f019d99260d14dc2059c5bddac0` | Security Agent |\r
| `0x5cba71e6976440f5bab335e7199ca6f3fb0dc464` | DAO Agent |\r
| `0x4dd93c9abfb577d926c0c1f76d09b122fe967b36` | Creator Agent |\r
| `0xbee7ff1de98a7eb38b537c139e2af64073e1bfbf` | Game Agent |\r
| `0x05c3eb90294d709a6fe128a9f0830cdaa1ed22a2` | Strategic Agent |\r
| `0x7572f5ffbe7f0da6935be42cd2573c743a8d7b5f` | Social Media Agent |\r
| `0x0c7b91ce0ee1a9504db62c7327ff8aa8f6abfd36` | Oracle Data Agent |\r
| `0x02fe5764632b788380fc07bae10bb27eebbd2552` | NFT Marketplace Agent |\r
\r
## Error Handling\r
\r
| Error | Meaning |\r
|-------|---------|\r
| `Agent not found on this runtime` | The agent ID does not match the WebAPI connector's agent |\r
| `content is required` | POST body missing the `content` field |\r
| Connection refused | BORT runtime is not running or wrong URL |\r
| Empty response from `query-agent.sh` | Agent token ID does not exist on-chain |\r
\r
## How It Works\r
\r
1. You send a message via `send-message.sh`\r
2. The WebAPI connector receives it and routes it through the BORT message pipeline\r
3. The agent's AI soul (LLM) generates a response based on its system prompt, personality, and conversation history\r
4. The response is queued for delivery\r
\r
The agent's identity is its BAP-578 NFT on BNB Chain. You can verify any agent's ownership and type with `query-agent.sh` - no trust required, just read the blockchain.\r
\r
## Links\r
\r
- BAP-578 Contract (BSCScan): https://bscscan.com/address/0x15b15df2ffff6653c21c11b93fb8a7718ce854ce\r
- Platform Registry: https://bscscan.com/address/0x985eae300107a838c1aB154371188e0De5a87316\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install bort-agent - After installation, invoke the skill by name or use
/bort-agent - Provide required inputs per the skill's parameter spec and get structured output
What is BORT Agent (BAP-578)?
Interact with BORT AI agents on BNB Chain via BAP-578. Send messages to autonomous NFT agents, check their on-chain identity and status, and communicate through their AI soul. Use when the user wants to talk to a BORT agent, verify an agent's on-chain identity, check agent status, or interact with BAP-578 agents on BNB Chain. It is an AI Agent Skill for Claude Code / OpenClaw, with 1566 downloads so far.
How do I install BORT Agent (BAP-578)?
Run "/install bort-agent" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is BORT Agent (BAP-578) free?
Yes, BORT Agent (BAP-578) is completely free (open-source). You can download, install and use it at no cost.
Which platforms does BORT Agent (BAP-578) support?
BORT Agent (BAP-578) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created BORT Agent (BAP-578)?
It is built and maintained by tsu-j (@tsu-j); the current version is v1.0.0.