Quick Start
SWUST Code is a terminal-native AI coding agent with persistent memory and self-improvement capabilities.
Install
bash
npm install -g swust-codeFirst Run
bash
swust-codeThe first launch guides you through configuration automatically.
Configure API Key
bash
export ANTHROPIC_API_KEY="your-key"
# or
export OPENAI_API_KEY="your-key"Basic Usage
bash
# Interactive mode
swust-code
# Single run
swust-code run "explain this project"
# Autonomous mode
swust-code run --goal "fix all TypeScript errors" "start working"
# Knowledge consolidation
swust-code dream
# Skill discovery
swust-code distilldream and distill are currently CLI entry commands. The codebase contains automatic trigger checks and dedicated agent prompts, but the automatic scheduler still returns false until it is wired into the session lifecycle.
Next Steps
- Installation — Detailed installation methods
- Configuration — Configuration file reference
- LLM Providers — Supported models
- Persistent Memory — Memory system deep dive