-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Context
Sol should be an agent CLI - optimized for AI agents to consume and orchestrate. Humans can use the existing upsun CLI which is already optimized for human interaction.
Philosophy Shift
Instead of replicating the Upsun CLI, Sol should:
- Prioritize machine-readable output - JSON by default, no interactive prompts
- Keep commands minimal and composable - agents orchestrate multiple calls
- Optimize for speed - only fetch data the command directly needs
- Return IDs, not names - agents can resolve names via separate commands if needed
- No "convenience" flags - avoid
--with-Xpatterns that fetch extra data
Review Checklist
Review existing commands against these principles:
-
auth:login- Is browser flow appropriate for agents? Consider API token as primary -
auth:info- Good, returns structured data -
project:list- Good after HAL link changes -
project:info- Good -
environment:list- Review if fetching extra data -
environment:info- Review -
ssh- Is this needed for agents? Or should agents use API endpoints?
Questions to Consider
- Should Sol support interactive browser login at all, or only API tokens?
- Should Sol implement commands that require user interaction (confirmations, prompts)?
- What commands do agents actually need vs what humans need?
- Should we remove/simplify commands that don't fit the agent-first model?
Related
- Design philosophy documented in CLAUDE.md
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels