---
title: "Can I use my agents from the terminal? — AgentX Teams FAQ"
description: "AgentX Teams FAQ — how your AI team works: Xavier, specialists, tasks, routines, approvals, the team computer, desktop apps and the agentx CLI."
url: https://www.serviceagentx.com/faq/agentx-cli-terminal
markdown: https://www.serviceagentx.com/faq/agentx-cli-terminal.md
---

# Can I use my agents from the terminal?

ServiceAgentX Help Center · Updated December 2026

---

**Yes, with `agentx`, your AI team in any terminal**: on your laptop, on a server, or over SSH. It works on Linux and macOS, starts in a blink, and talks to the same team, chats and tasks you see on the web.

agentx — ~/projects/bakery

> @Dexter why is the contact form failing?● Bash(tail -n 20 logs/error.log) ⎿ SMTP auth failed: 535 bad credentials● Read(src/contact.ts) ⎿ Read 84 lines● Update(src/contact.ts) +3 −1● Dexter › The mail password expired. I switched the form to the app password in .env. Want me to send a test message? Cooking… (12s · ↓ 1.2k tokens)

Tool steps, diffs and replies right in your shell. **Esc** really stops a turn.

### Get it running

$ curl -fsSL https://www.serviceagentx.com/cli/install.sh \| sh$ agentx auth login \# approve the code in your browser$ agentx \# picks up your last chat

### Favourite commands

- `agentx -p "…"` answers once and exits, which makes it great for scripts
- `/tasks` shows the live task list, and `/task ` plans new work
- `/needs` or `agentx needs` lists approvals waiting for you, across all chats
- Ctrl+T opens side-thread rooms, `/projects` lists projects, `/attach` or a dropped screenshot shares files
- `agentx connect` lets your agent work in the folder you're in, and nothing outside it

[Install agentx →](https://www.serviceagentx.com/agents/linux-app)
