- Home
- CLI for Agents
RESOURCES / CLI
CLI for AgentsYour agent operates THE TIKET for you.
The CLI is how your AI agent operates THE TIKET for you. It works with Claude Code, Codex, Cursor or any agent that can run commands on your computer.
SAFE BY DESIGN
Your agent operates, you decide.
You sign in in your browser
Your password never goes in the chat: sign-in, with MFA when required, happens in the browser on your computer.
You confirm before anything is created
Your agent shows you what it will change and applies it only when you approve.
It only creates, never deletes
The CLI creates new resources. It does not modify or delete what already exists, and it does not duplicate what is already there.
It acts with your account
It works as your user on your company, and it never shows your token or your passwords.
It runs on your computer
It runs on your machine and keeps your session there, readable only by your user.
WHAT YOU ASK FOR
What you ask your agent
You talk to your agent as usual. It takes care of the rest.
- You:
Create a fire extinguisher inspection form with a photo and the client’s signature.
Your agent:Done, I’ve prepared it. This is what I’m about to create. Shall I apply it?
- You:
Yes, apply it.
Your agent:Done. I created the form and didn’t change anything that already existed.
- You:
Invite these 5 technicians to my company.
Your agent:Each one will get an invitation by email. Do you confirm?
- You:
Show me the forms and technicians I already have.
Your agent:Here is your company’s list.
START HERE
Copy this into your agent
Your agent installs the CLI, opens the sign-in in your browser and checks that everything works.
You need a desktop app of your agent that can run commands, and a THE TIKET account.
There is also a skill for your agent: a short SKILL.md that sends it to read the CLI guide. Install it with thetiket skill install. View the skill on GitHub
@thetiket/cli on npmI want to operate THE TIKET through you. Do the whole setup yourself and only tell me when you need something from me.
1. Check whether I have Node.js 20 or later with: node --version
If it is missing or older, install it.
2. Install the THE TIKET CLI: npm install -g @thetiket/cli
3. Run: thetiket login
A browser window will open. Tell me to finish the login there and wait until I do.
4. Verify with: thetiket doctor
and with: thetiket status
Tell me the result.
5. Run thetiket guide and read it before continuing.
Do not ask me for passwords in the chat. Do not create or change anything without first showing me the plan and waiting for my confirmation.FREQUENTLY ASKED QUESTIONS
The basics, in a few words.
Which agents work?
Claude Code, Codex, Cursor and any other agent that can run commands on your computer. A chat in a browser tab, without a local agent, cannot use the CLI.
Is it safe?
You sign in yourself in the browser, your agent shows you the changes and applies them only with your confirmation, and the CLI only creates: it never modifies or deletes. It does not print your token or your passwords.
Do I need to know how to code?
No. You ask your agent for what you need in your own words, and it handles the setup and the commands.
What can it do today?
Create forms and lists, invite technicians and managers, and query your company’s forms, technicians and managers. There are no commands for tickets, evidence or reports yet.
See your agent operate THE TIKET.
Book a demo and we’ll walk through the flow with your operation’s forms, technicians and managers.