Claude Code
Claude Code is Anthropic's AI coding agent, and it's the default agent in T-Ex LLM.
Getting Started
Installation
Claude Code is the default agent, so it works immediately after installing T-Ex LLM:
# Install T-Ex LLM CLI
npm i -g @vicoa/cli
# Start Claude Code (default behavior)
T-Ex LLMNo additional configuration needed.
Basic Usage
Simply run T-Ex LLM to start a Claude Code session:
T-Ex LLMClaude Code will start in your terminal, and the session will be accessible from the T-Ex LLM mobile app and web dashboard.
Configuration Options
Resume Previous Session
Continue from where you left off:
T-Ex LLM --resume SESSION_IDFind session IDs in the T-Ex LLM web app.
Custom Session Name
Give your session a descriptive name:
T-Ex LLM --name "Refactor Landing Page"This makes it easier to identify sessions in the T-Ex LLM web and mobile.
Making Claude Code Your Default
Claude Code is already the default agent, but if you've changed it and want to restore:
T-Ex LLM --set-default claudeAfter this command, T-Ex LLM will always launch Claude Code unless you override with --agent.
Using Claude Code Temporarily
If you have a different default agent but want to use Claude Code for one session:
T-Ex LLM --agent claudeYour default agent remains unchanged for future sessions.
Mobile and Web Workflow
Typical Development Flow
-
Start Claude Code on your terminal
T-Ex LLM -
Monitor progress on your phone
- Open the T-Ex LLM mobile app
- View real-time output
- Receive push notifications
-
Respond from anywhere
- Approve permissions on the go
- Send follow-up instructions
- Review completed work
Slash Commands
Claude Code supports custom slash commands from your ~/.claude/commands directory. These commands automatically sync to T-Ex LLM, making them available in the mobile and web UI.
Create custom commands by adding .md files to ~/.claude/commands/:
# Create a custom command
echo "# Review Command\nReview code for security issues" > ~/.claude/commands/review.mdThe command becomes available as /review in Claude Code and in the T-Ex LLM mobile UI.
Frequently Asked Questions
Is Claude Code free to use?
Claude Code requires an Anthropic API key. T-Ex LLM comes with free usage for pairing with Claude Code.
How is this different from using Claude Code directly?
When you use T-Ex LLM to launch Claude Code, you get:
- Mobile app access
- Web dashboard
- Push notifications
- Remote permission approval
- Session persistence and resumption
- Multi-device access
Using Claude Code directly (claude command) provides only the terminal interface.
Can I switch between Claude Code and other agents?
Yes! T-Ex LLM supports multiple agents:
# Use Claude Code
T-Ex LLM --agent claude
# Use Codex
T-Ex LLM --agent codex
# Use OpenCode
T-Ex LLM --agent opencodeSee the Agent Guide for details on each agent.
Advanced Usage
Pre-existing Agent Instance
Use a specific agent instance ID:
T-Ex LLM --agent-instance-id abc123Useful for integrating with external tools or automation scripts.