forked from smallcloudai/refact
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Agent Getting Started
refact-planner edited this page Jun 7, 2026
·
1 revision
Start an agent workflow in your IDE.
Refact Agent is the chat workflow for tasks that require multiple steps, tools, and code changes.
- Open Refact chat in your IDE.
- Choose an agent-capable mode, such as Agent, Quick Agent, Review, Debug, Plan, or a project-specific mode.
- Describe the goal and include constraints, files, commands, or acceptance criteria.
- Let the agent gather context. It may read files, search symbols, inspect history, or ask a clarifying question.
- Review tool confirmations and patch previews before applying sensitive changes.
- Ask the agent to run the project's normal verification command before you finish.
Be specific about the outcome you want:
- "Find why this test fails, fix it, and run the test again."
- "Refactor this component without changing behavior; update tests if needed."
- "Review the current diff for correctness and security issues."
- "Plan the migration first, then wait before editing files."
- Start with Explore or Plan if the task is broad or risky.
- Attach the current file or selected snippet when the problem is local.
- Keep generated files, migrations, and credentials out of scope unless the agent specifically needs them.
- Use checkpoints or rollback when experimenting with large edits.
Refact on GitHub: https://github.com/JegernOUTT/refact
- Agent Modes
- Agent Tools
- Task Planner & Cards
- Worktrees
- Subagents
- Memory & Knowledge
- Hidden Roles & Plans
- Context Compression
- Scheduler & Cron
- Processes & PTY
- Buddy
- MCP
- Skills, Commands & Hooks
- Marketplace
- Chat System
- Providers
- Caps & Models
- Code Completion (FIM)
- AST
- VecDB
- Exec Runtime
- HTTP API
- Checkpoints & Git
- Voice