Cortex Natural Language Interface¶
Natural Language Control for Traylinx
Cortex provides a natural language interface for the Traylinx CLI (tx), allowing you to control agents, manage networks, and execute workflows using plain English instead of memorizing command syntax.
Quick Start¶
# Start an interactive chat session
tx cortex chat
# Or run a single command
tx cortex chat "start my agent"
Features¶
💬 Natural Language Commands¶
Instead of memorizing CLI syntax, just say what you want:
| What you type | What happens |
|---|---|
| "start my agent" | tx run --detach |
| "show me the logs" | tx logs |
| "find agents that can translate" | tx discover translate |
| "stop it" | tx stop <last agent> |
🔄 Multi-Turn Conversations¶
Cortex remembers context from previous turns:
You: find agents that can search
Cortex: Found 3 agents with 'search' capability...
You: call the first one
Cortex: Calling agent-1/search-service...
🧠 Smart Suggestions¶
After each command, Cortex suggests logical next actions based on the result:
⛓️ Command Chaining¶
Execute multiple commands at once using "and", "then", etc.:
Available Commands¶
Agent Lifecycle¶
- start/run - Start your agent
- stop/kill - Stop running agent
- logs/tail - View agent logs
- status - Check agent status
Discovery & Networking¶
- find/discover - Find agents on the network
- call - Call another agent
Authentication¶
- whoami - Show current identity
- login - Sign in to Sentinel
- logout - Sign out
Build & Publish¶
- build - Build your agent
- validate - Validate config
- publish - Publish to registry
Interactive Mode¶
Special Commands¶
| Command | Description |
|---|---|
/help |
Show help |
/history |
Show command history |
/clear |
Clear screen |
/exit |
Exit chat |
Options¶
Configuration¶
Cortex stores configuration in ~/.traylinx/cortex/:
PERSONA.md- Customize Cortex's personalityUSER.md- Your preferencesTOOLS.md- Tool usage notes