Your data, your terminal.
Export concepts, business plans, advisor chats, and pitch decks straight from the command line.
Back Up Your Data
Export all your concepts, plans, and chats to local files for safekeeping.
Integrate with Tools
Pipe JSON or CSV exports into spreadsheets, databases, or automation workflows.
Generate Documents
Create polished PDF or Markdown business plans ready for investors.
Get started in 3 steps
From install to first export in under a minute.
Install
Install the CLI globally via npm.
npm install -g agent-startupAuthenticate
Generate a token in Settings → API Tokens, then log in.
agent-startup login <your-token>Export
Start exporting your startup data.
agent-startup concepts export -f csvCommands
Everything you can do from the terminal.
agent-startup concepts listagent-startup concepts list --favoritesagent-startup concepts exportagent-startup concepts export -f csvagent-startup concepts export --id <id>agent-startup concepts export -o my-ideas.jsonagent-startup plans listagent-startup plans export --concept-id <id>agent-startup plans export --concept-id <id> -f markdownagent-startup plans export --concept-id <id> -f pdfagent-startup advisors listagent-startup advisors list --type vcagent-startup advisors exportagent-startup advisors export --type ctoagent-startup advisors export --concept-id <id>agent-startup pitch listagent-startup pitch export --concept-id <id>agent-startup login <your-token>agent-startup whoamiagent-startup logoutAuthentication
Secure, revocable token-based access separate from your web session.
How It Works
- 1Generate a CLI token from the web UI via Settings → API Tokens
- 2Token is hashed (SHA-256) and stored securely in the database
- 3CLI sends the token as a Bearer header with each request
- 4Backend validates the hash and authorizes via user_id foreign key
Security Features
- Isolated from web sessions
CLI tokens are independent of browser cookies
- Instant revocation
Disable any token from Settings at any time
- Expiration policies
Tokens auto-expire based on your settings
- Audit trail
Track usage with last_used_at timestamps
- Self-hosted ready
Works with custom API base URLs
API Reference
All endpoints available for programmatic access.
Token Management
/api/cli/tokenGenerate a new CLI API token/api/cli/tokenList your CLI tokens/api/cli/tokenRevoke a CLI tokenData Export
/api/cli/conceptsFetch your startup concepts/api/cli/business-plansFetch business plans/api/cli/business-plans/convertConvert plans to PDF/Markdown/api/cli/advisorsFetch advisor chat history/api/cli/pitch-decksFetch pitch decksAccount
/api/cli/meGet current user infoAll endpoints require authentication via Bearer <token> header.
Self-Hosted Deployments
Running your own instance? Point the CLI to your custom API base URL during login.
agent-startup login <token> --api-base http://localhost:3000Frequently Asked Questions
Common questions about the CLI tool.
Log in to startupquestion.com, go to Settings → API Tokens, and click "Generate CLI Token". Copy the token and run agent-startup login <token> in your terminal.
The CLI requires internet access to communicate with the StartupQuestion API. However, once you export your data locally (JSON, CSV, PDF), those files are available offline.
You'll receive an authentication error. Simply generate a new token from Settings → API Tokens and run agent-startup login <new-token> again.
Yes. You can generate multiple named tokens — useful for different machines or CI/CD pipelines. Revoke any token individually from Settings.
Yes. Pass your custom API URL during login: agent-startup login <token> --api-base https://your-instance.com
Concepts support JSON and CSV. Business plans support JSON, Markdown, and PDF. Advisor chats and pitch decks export as JSON.
Ready to try the CLI?
Install the package, generate a token, and start exporting your startup data in seconds.