Usage
The AgentLogs CLI is the primary way to sync transcripts from AI coding assistants to your AgentLogs account. No installation required — just run it withnpx.
Requirements
- Node.js 18+ or Bun 1.3.10+
- macOS, Linux, or Windows
Authentication
Before syncing, you need to log in to your AgentLogs account:- The CLI displays a user code
- A browser window opens to the verification URL
- Enter the code and authorize the device
- The CLI receives an access token and stores it locally
Check Status
Verify you’re logged in:- Authentication status
- Logged-in user details
- Last login time
Logout
To log out and remove stored credentials:- With hostname: logs out from that host only
- Without hostname: logs out from all hosts