stagent 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -0
- package/docs/.last-generated +1 -0
- package/docs/features/agent-intelligence.md +60 -0
- package/docs/features/chat.md +119 -0
- package/docs/features/cost-usage.md +61 -0
- package/docs/features/dashboard-kanban.md +73 -0
- package/docs/features/design-system.md +73 -0
- package/docs/features/documents.md +76 -0
- package/docs/features/home-workspace.md +66 -0
- package/docs/features/inbox-notifications.md +67 -0
- package/docs/features/keyboard-navigation.md +62 -0
- package/docs/features/monitoring.md +59 -0
- package/docs/features/playbook.md +57 -0
- package/docs/features/profiles.md +57 -0
- package/docs/features/projects.md +67 -0
- package/docs/features/provider-runtimes.md +49 -0
- package/docs/features/schedules.md +68 -0
- package/docs/features/settings.md +85 -0
- package/docs/features/shared-components.md +78 -0
- package/docs/features/tool-permissions.md +57 -0
- package/docs/features/workflows.md +81 -0
- package/docs/getting-started.md +141 -0
- package/docs/index.md +50 -0
- package/docs/journeys/developer.md +303 -0
- package/docs/journeys/personal-use.md +209 -0
- package/docs/journeys/power-user.md +248 -0
- package/docs/journeys/work-use.md +226 -0
- package/docs/manifest.json +240 -0
- package/package.json +2 -1
- package/src/app/api/environment/checkpoints/[id]/route.ts +3 -2
- package/src/app/api/environment/checkpoints/route.ts +2 -1
- package/src/app/api/environment/scan/route.ts +2 -1
- package/src/lib/agents/claude-agent.ts +3 -2
- package/src/lib/agents/runtime/claude.ts +4 -3
- package/src/lib/agents/runtime/openai-codex.ts +4 -3
- package/src/lib/chat/engine.ts +2 -1
- package/src/lib/chat/model-discovery.ts +2 -1
- package/src/lib/docs/reader.ts +11 -1
- package/src/lib/environment/scanner.ts +2 -1
- package/src/lib/environment/sync/mcp-sync.ts +2 -1
- package/src/lib/environment/sync-engine.ts +2 -1
- package/src/lib/environment/workspace-context.ts +6 -1
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Personal Use Guide"
|
|
3
|
+
category: "user-journey"
|
|
4
|
+
persona: "personal"
|
|
5
|
+
difficulty: "beginner"
|
|
6
|
+
estimatedTime: "28 minutes"
|
|
7
|
+
sections: ["home-workspace", "dashboard-kanban", "projects", "chat", "playbook"]
|
|
8
|
+
tags: ["beginner", "solo", "tasks", "kanban", "chat", "playbook"]
|
|
9
|
+
lastUpdated: "2026-03-22"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Personal Use Guide
|
|
13
|
+
|
|
14
|
+
Meet Alex, a solo developer who just discovered Stagent. Alex has a side project -- a personal portfolio website -- that needs planning and execution help, but has never used an AI agent workspace before. Over the next 28 minutes, Alex will explore the workspace, chat with AI, create a project, manage tasks on a kanban board, and discover the built-in documentation hub. By the end, Alex will have a fully organized project ready for AI-assisted execution.
|
|
15
|
+
|
|
16
|
+
## Prerequisites
|
|
17
|
+
|
|
18
|
+
- Stagent installed and running locally (`npm run dev`)
|
|
19
|
+
- A browser pointed at `http://localhost:3000`
|
|
20
|
+
- A project idea in mind (we will use a "Portfolio Website" as our example)
|
|
21
|
+
|
|
22
|
+
## Journey Steps
|
|
23
|
+
|
|
24
|
+
### Step 1: Explore the Home Page
|
|
25
|
+
|
|
26
|
+
Alex opens Stagent for the first time. The home page greets with a sidebar on the left showing every section of the workspace -- Work, Manage, and Configure groups -- and the main content area displays an activity overview with navigation cards for quick access to key features.
|
|
27
|
+
|
|
28
|
+

|
|
29
|
+
|
|
30
|
+
1. Open Stagent at `http://localhost:3000` to land on the home page
|
|
31
|
+
2. Scan the **sidebar** on the left -- notice the three groups: Work (Dashboard, Projects, Chat), Manage (Workflows, Documents, Schedules), and Configure (Settings, Environment)
|
|
32
|
+
3. Review the **navigation cards** in the main area that provide shortcuts to frequently used sections
|
|
33
|
+
4. Note the **activity feed** showing recent workspace events -- it will be sparse on a fresh install, but will fill up as you work
|
|
34
|
+
|
|
35
|
+
> **Tip:** The sidebar stays visible across every page. It is your primary way to move between sections. You can collapse it for more screen space by clicking the toggle at the top.
|
|
36
|
+
|
|
37
|
+
### Step 2: Discover Below-the-Fold Content
|
|
38
|
+
|
|
39
|
+
Alex scrolls down the home page and discovers additional context -- workspace statistics, recent task activity, and summary metrics. This below-the-fold section gives a quick health check of the entire workspace without navigating away.
|
|
40
|
+
|
|
41
|
+

|
|
42
|
+
|
|
43
|
+
1. Scroll down past the navigation cards on the home page
|
|
44
|
+
2. Review the **workspace statistics** section showing task counts, project summaries, and completion rates
|
|
45
|
+
3. Check the **recent activity** timeline for the latest actions across all projects
|
|
46
|
+
4. Use these metrics as a daily check-in point to understand what needs attention
|
|
47
|
+
|
|
48
|
+
> **Tip:** The home page is designed as a morning dashboard. Start each session here to get an instant summary of your workspace before diving into specific tasks.
|
|
49
|
+
|
|
50
|
+
### Step 3: Navigate with the Command Palette
|
|
51
|
+
|
|
52
|
+
Before diving deeper, Alex learns the fastest way to get around Stagent -- the Command Palette. One keyboard shortcut opens a search overlay that can jump to any page, project, or task in the workspace.
|
|
53
|
+
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
1. Press **Cmd+K** (Mac) or **Ctrl+K** (Windows/Linux) to open the Command Palette
|
|
57
|
+
2. Start typing a keyword like "dashboard" or "projects" to filter results
|
|
58
|
+
3. Use **arrow keys** to highlight a result, then press **Enter** to navigate there
|
|
59
|
+
4. Press **Escape** to dismiss the palette without selecting anything
|
|
60
|
+
|
|
61
|
+
> **Tip:** The Command Palette searches across pages, projects, tasks, and workflows. As your workspace grows with more content, this becomes the fastest way to find anything. Memorize Cmd+K -- you will use it constantly.
|
|
62
|
+
|
|
63
|
+
### Step 4: Ask AI a Quick Question via Chat
|
|
64
|
+
|
|
65
|
+
Before setting up a formal project, Alex tries the Chat feature to brainstorm ideas. Chat provides a conversational interface with AI -- no tasks or projects required. It is a great starting point for exploring ideas before committing to structured work.
|
|
66
|
+
|
|
67
|
+

|
|
68
|
+
|
|
69
|
+
1. Click **Chat** in the sidebar under the **Work** group
|
|
70
|
+
2. Notice the **empty state** with a welcoming hero heading and suggested prompt categories
|
|
71
|
+
3. Browse the **suggested prompt tabs** -- they offer pre-built conversation starters organized by topic (Explore, Create, Analyze, etc.)
|
|
72
|
+
4. Type a question like "What pages should a developer portfolio website include?" and press Enter
|
|
73
|
+
5. Review the AI response and notice any **Quick Access pills** that link to related entities
|
|
74
|
+
|
|
75
|
+
> **Tip:** Chat is perfect for quick brainstorming sessions. You do not need to create a project first -- just ask a question. The conversation history stays in the sidebar so you can return to it later.
|
|
76
|
+
|
|
77
|
+
### Step 5: Create a New Project
|
|
78
|
+
|
|
79
|
+
Inspired by the chat brainstorm, Alex decides to formalize the portfolio idea into a project. Projects in Stagent are containers that group related tasks, documents, and agent activity together.
|
|
80
|
+
|
|
81
|
+

|
|
82
|
+
|
|
83
|
+
1. Click **Projects** in the sidebar under the **Work** group
|
|
84
|
+
2. Review the projects list -- it may show existing projects or an empty state on a fresh install
|
|
85
|
+
3. Click the **Create Project** button in the top-right corner
|
|
86
|
+
4. Enter a **Project Name** such as "Portfolio Website"
|
|
87
|
+
5. Add a **Description**: "Personal developer portfolio with project showcase, blog, and contact form"
|
|
88
|
+
6. Click **Create** to save the project
|
|
89
|
+
|
|
90
|
+
> **Tip:** You can also reach the Projects page instantly by pressing Cmd+K and typing "projects." Give your project a clear, descriptive name -- it will appear throughout the workspace whenever you filter tasks or assign work.
|
|
91
|
+
|
|
92
|
+
### Step 6: Open the Dashboard Kanban Board
|
|
93
|
+
|
|
94
|
+
With a project created, Alex heads to the Dashboard to start organizing work. The Dashboard is the central task management hub, and it defaults to a kanban board view with columns for each task status.
|
|
95
|
+
|
|
96
|
+

|
|
97
|
+
|
|
98
|
+
1. Click **Dashboard** in the sidebar under the **Work** group
|
|
99
|
+
2. Review the kanban board layout with columns like **Planned**, **In Progress**, **Completed**, and others
|
|
100
|
+
3. Notice the **view controls** in the header area -- the board view is selected by default
|
|
101
|
+
4. If you have existing tasks, observe how they are sorted into columns by their current status
|
|
102
|
+
|
|
103
|
+
> **Tip:** The kanban board gives you a visual pipeline of your work. Each column represents a stage in the task lifecycle. At a glance, you can see what is planned, what is active, and what is done.
|
|
104
|
+
|
|
105
|
+
### Step 7: Switch to Table View
|
|
106
|
+
|
|
107
|
+
Alex discovers that the Dashboard supports multiple view modes. The table view offers a denser, spreadsheet-like layout that is useful when you want to scan many tasks at once or sort by specific columns.
|
|
108
|
+
|
|
109
|
+

|
|
110
|
+
|
|
111
|
+
1. Click the **Table** view toggle in the Dashboard header to switch from kanban to table layout
|
|
112
|
+
2. Review the columns: title, status, priority, project, and other metadata
|
|
113
|
+
3. Click any **column header** to sort tasks by that field
|
|
114
|
+
4. Experiment with the **density controls** if available -- compact mode fits more rows on screen
|
|
115
|
+
|
|
116
|
+
> **Tip:** Table view shines when you have many tasks and need to quickly sort, scan, or compare them. Switch back to the board view anytime for the visual kanban layout. Both views show the same data -- pick whichever fits your current workflow.
|
|
117
|
+
|
|
118
|
+
### Step 8: Create a New Task
|
|
119
|
+
|
|
120
|
+
Alex switches back to the kanban board and creates the first task for the portfolio project. Tasks are the atomic units of work in Stagent -- each one represents a specific deliverable that can be tracked and, optionally, executed by an AI agent.
|
|
121
|
+
|
|
122
|
+

|
|
123
|
+
|
|
124
|
+
1. Click the **Create Task** button in the Dashboard header
|
|
125
|
+
2. Enter a **Title**: "Design hero section with intro and call-to-action"
|
|
126
|
+
3. Write a **Description** with enough detail to be useful: "Create a responsive hero section for the portfolio home page. Include a headline, short bio paragraph, a professional photo placeholder, and a primary CTA button linking to the projects section."
|
|
127
|
+
4. Assign the task to the **Portfolio Website** project using the project dropdown
|
|
128
|
+
5. Set **Priority** to High and leave **Status** as Planned
|
|
129
|
+
6. Click **Create** to add the task to the board
|
|
130
|
+
|
|
131
|
+
> **Tip:** Write task descriptions as if you are briefing a colleague. The more specific you are about requirements and expected outcomes, the more useful the task becomes -- both for your own reference and for AI agent execution later.
|
|
132
|
+
|
|
133
|
+
### Step 9: Quick-Edit a Task from the Kanban Board
|
|
134
|
+
|
|
135
|
+
After creating a few tasks, Alex realizes one needs a priority change. Instead of opening the full detail view, Alex uses the quick-edit dialog available directly from the kanban card. This saves time for small adjustments.
|
|
136
|
+
|
|
137
|
+

|
|
138
|
+
|
|
139
|
+
1. Hover over a task card on the kanban board
|
|
140
|
+
2. Click the **edit icon** (pencil) that appears on the card
|
|
141
|
+
3. The **edit dialog** opens with the task fields pre-filled
|
|
142
|
+
4. Change the **Priority** from Medium to High, or update the title and description
|
|
143
|
+
5. Click **Save** to apply the changes -- the card updates immediately on the board
|
|
144
|
+
|
|
145
|
+
> **Tip:** Quick-edit is designed for fast adjustments without losing your place on the board. For deeper changes -- like reviewing agent logs or adding documents -- use the full detail view instead (see next step).
|
|
146
|
+
|
|
147
|
+
### Step 10: View Task Details
|
|
148
|
+
|
|
149
|
+
Alex clicks on a task card to open the full detail sheet. This sliding panel shows everything about a task: description, metadata, status history, and links to related items. It opens without leaving the Dashboard.
|
|
150
|
+
|
|
151
|
+

|
|
152
|
+
|
|
153
|
+
1. Click on any **task card** in the kanban board (not the edit icon -- the card itself)
|
|
154
|
+
2. The **detail sheet** slides in from the right side of the screen
|
|
155
|
+
3. Review the full **Description**, **Priority**, **Status**, **Project** assignment, and timestamps
|
|
156
|
+
4. Check the **Agent Profile** field -- this determines which AI behavior profile handles the task when executed
|
|
157
|
+
5. Press **Escape** or click outside the sheet to close it and return to the board
|
|
158
|
+
|
|
159
|
+
> **Tip:** The detail sheet is your go-to view for reviewing task context before execution. It keeps the board visible in the background, so you can quickly close the sheet and move to another card without any page navigation.
|
|
160
|
+
|
|
161
|
+
### Step 11: Track Progress on the Dashboard
|
|
162
|
+
|
|
163
|
+
With several tasks created and organized, Alex returns to the kanban board to see the big picture. The board now reflects actual project progress -- tasks spread across columns show what is planned, in flight, and completed.
|
|
164
|
+
|
|
165
|
+

|
|
166
|
+
|
|
167
|
+
1. Return to the **Dashboard** kanban board view if not already there
|
|
168
|
+
2. Review tasks across the status columns -- **Planned**, **In Progress**, **Completed**
|
|
169
|
+
3. Drag a task card from **Planned** to **In Progress** to simulate starting work on it
|
|
170
|
+
4. Use the **filter controls** in the header to narrow the view to just the Portfolio Website project
|
|
171
|
+
5. Notice how the column counts update as tasks move through the pipeline
|
|
172
|
+
|
|
173
|
+
> **Tip:** Make the kanban board your daily work surface. A quick scan of the columns tells you exactly where your project stands. Move cards between columns as you make progress -- this keeps your workspace honest and up to date.
|
|
174
|
+
|
|
175
|
+
### Step 12: Browse the Playbook
|
|
176
|
+
|
|
177
|
+
Alex discovers the Playbook section -- a built-in documentation hub that ships with Stagent. It contains guides, reference articles, and best practices for getting the most out of the workspace.
|
|
178
|
+
|
|
179
|
+

|
|
180
|
+
|
|
181
|
+
1. Click **Playbook** in the sidebar under the **Manage** group
|
|
182
|
+
2. Browse the **article cards** -- each one covers a specific topic like task management, agent profiles, or workflow creation
|
|
183
|
+
3. Click any article card to read the full content
|
|
184
|
+
4. Use the Playbook as a reference whenever you encounter an unfamiliar feature or want to learn a new workflow
|
|
185
|
+
|
|
186
|
+
> **Tip:** The Playbook is especially useful when you are getting started. Before diving into advanced features like workflows or agent execution, skim the relevant Playbook articles. They are written in plain language and include practical examples.
|
|
187
|
+
|
|
188
|
+
### Step 13: Check the Home Dashboard
|
|
189
|
+
|
|
190
|
+
After a productive session, Alex returns to the home page to see how the workspace summary has changed. The home dashboard now reflects the project, tasks, and activity created during this journey.
|
|
191
|
+
|
|
192
|
+

|
|
193
|
+
|
|
194
|
+
1. Click **Home** in the sidebar or press **Cmd+K** and type "home"
|
|
195
|
+
2. Review the **activity feed** -- it now shows the project creation and task activity from this session
|
|
196
|
+
3. Check the **workspace statistics** for updated task counts and project status
|
|
197
|
+
4. Use this view as a daily starting point to decide what to work on next
|
|
198
|
+
|
|
199
|
+
> **Tip:** Bookmarking the home page as your browser start page for Stagent is a good habit. It gives you an instant summary every time you open the app, so you always know where you left off.
|
|
200
|
+
|
|
201
|
+
### Step 14: What's Next
|
|
202
|
+
|
|
203
|
+
Alex now has a solid foundation: a project, organized tasks on a kanban board, and familiarity with the core workspace features. Here is where to go from here:
|
|
204
|
+
|
|
205
|
+
- **[Work Use Guide](./work-use.md)** -- Scale up to team projects with documents, workflows, and scheduled tasks
|
|
206
|
+
- **[Power User Guide](./power-user.md)** -- Unlock advanced features like autonomous agent loops, multi-agent swarms, and workflow blueprints
|
|
207
|
+
- **[Developer Guide](./developer.md)** -- Configure settings, authentication, environment, and CLI tooling
|
|
208
|
+
|
|
209
|
+
The Work Use Guide is the natural next step. It builds on everything covered here and introduces collaboration-oriented features like document management, workflow automation, and cost tracking -- all the tools Alex will need as the portfolio project grows beyond a solo effort.
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Power User Guide"
|
|
3
|
+
category: "user-journey"
|
|
4
|
+
persona: "power-user"
|
|
5
|
+
difficulty: "advanced"
|
|
6
|
+
estimatedTime: "30 minutes"
|
|
7
|
+
sections: ["dashboard-kanban", "profiles", "chat", "workflows", "schedules", "monitoring"]
|
|
8
|
+
tags: ["advanced", "automation", "workflows", "profiles", "schedules", "monitoring", "bulk-operations"]
|
|
9
|
+
lastUpdated: "2026-03-22"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Power User Guide
|
|
13
|
+
|
|
14
|
+
Meet Sam, a DevOps engineer who automates everything that can be automated -- and most things that people assume cannot. Sam has already completed the Personal Use Guide and runs Stagent daily for task management. Now Sam is ready to go deeper: specialized agent profiles, multi-step workflow pipelines, scheduled autonomous loops, bulk operations, and real-time monitoring. This guide covers the advanced automation layer that transforms Stagent from a task manager into a hands-off operations engine.
|
|
15
|
+
|
|
16
|
+
## Prerequisites
|
|
17
|
+
|
|
18
|
+
- Stagent installed and running locally (`npm run dev`)
|
|
19
|
+
- An Anthropic API key configured in `.env.local`
|
|
20
|
+
- Familiarity with basic Stagent concepts (projects, tasks, inbox) -- see [Personal Use Guide](./personal-use.md)
|
|
21
|
+
- At least one project with several completed tasks (agents learn from past context)
|
|
22
|
+
|
|
23
|
+
## Journey Steps
|
|
24
|
+
|
|
25
|
+
### Step 1: Master Keyboard Navigation
|
|
26
|
+
|
|
27
|
+
Sam refuses to reach for the mouse when a keystroke will do. The Command Palette is the nerve center of keyboard-driven navigation -- it searches across every entity in the workspace and launches actions instantly.
|
|
28
|
+
|
|
29
|
+

|
|
30
|
+
|
|
31
|
+
1. Press **Cmd+K** (Mac) or **Ctrl+K** (Windows/Linux) to open the Command Palette
|
|
32
|
+
2. Without typing anything, scan the **recent items** and **suggested actions** that appear by default
|
|
33
|
+
3. Type a partial name -- "deploy," "nightly," "code review" -- to filter across projects, tasks, workflows, schedules, and pages
|
|
34
|
+
4. Use **arrow keys** to highlight an item and press **Enter** to navigate or execute immediately
|
|
35
|
+
5. Press **Escape** to dismiss the palette and return focus to the current page
|
|
36
|
+
|
|
37
|
+
> **Tip:** The Command Palette is contextual. It surfaces results from every section of Stagent, so you never need to remember which sidebar group a feature lives under. Power users open the palette dozens of times per session -- muscle memory for Cmd+K pays for itself on day one.
|
|
38
|
+
|
|
39
|
+
### Step 2: Explore Agent Profiles
|
|
40
|
+
|
|
41
|
+
Before building any automation, Sam reviews the available agent profiles. Each profile shapes an agent's personality, system prompt, and tool permissions for a specific role -- assigning the right profile to the right task is the single biggest lever for output quality.
|
|
42
|
+
|
|
43
|
+

|
|
44
|
+
|
|
45
|
+
1. Open the Command Palette and type **"Profiles"**, or click **Profiles** in the sidebar under the **Manage** group
|
|
46
|
+
2. Browse the **profile cards** in the grid -- each displays the profile name, a short description, and a capability summary
|
|
47
|
+
3. Switch between the **Work** and **Personal** tabs to see profiles organized by context
|
|
48
|
+
4. Note the built-in profiles:
|
|
49
|
+
- **General** -- balanced, all-purpose agent behavior
|
|
50
|
+
- **Code Reviewer** -- focused on code quality, security, and best practices
|
|
51
|
+
- **Researcher** -- optimized for information gathering and synthesis
|
|
52
|
+
- **Document Writer** -- tuned for long-form content generation
|
|
53
|
+
5. Click any profile card to open its full detail page
|
|
54
|
+
|
|
55
|
+
> **Tip:** Think of profiles the way you think of IAM roles -- least privilege, purpose-fit. A task assigned to the Code Reviewer profile will produce actionable review comments with line references. The same task on the General profile will produce a softer, less specific summary.
|
|
56
|
+
|
|
57
|
+
### Step 3: Deep-Dive into Profile Configuration
|
|
58
|
+
|
|
59
|
+
Sam opens a profile detail page to understand exactly what an agent will do when assigned this profile. The detail view exposes the system prompt, tool permissions, and capability badges that govern agent behavior.
|
|
60
|
+
|
|
61
|
+

|
|
62
|
+
|
|
63
|
+
1. From the profiles grid, click a profile card (e.g., **Code Reviewer**) to open the detail page
|
|
64
|
+
2. Read the **system prompt** section -- this is the instruction set the agent receives before every task
|
|
65
|
+
3. Review the **capabilities** list to see which tools and actions the profile permits
|
|
66
|
+
4. Check the **tool permissions** section for any tools that are explicitly allowed or denied
|
|
67
|
+
5. Use the back button or Command Palette to return to the profiles grid
|
|
68
|
+
|
|
69
|
+
> **Tip:** When a workflow step produces unexpected output, the profile detail page is the first place to investigate. Nine times out of ten, the system prompt or tool permissions explain the behavior. Small prompt refinements compound across every execution.
|
|
70
|
+
|
|
71
|
+
### Step 4: Optimize Chat with Model Selection
|
|
72
|
+
|
|
73
|
+
Sam uses Chat strategically, switching between models based on query complexity. Model selection is the primary cost optimization lever -- the right model for the right question can cut chat costs dramatically.
|
|
74
|
+
|
|
75
|
+

|
|
76
|
+
|
|
77
|
+
1. Navigate to **Chat** in the sidebar under the **Work** group
|
|
78
|
+
2. Click the **model selector** in the input composer area to reveal the dropdown
|
|
79
|
+
3. Review the available models -- each displays a **cost tier indicator** ($ to $$$) alongside the model name
|
|
80
|
+
4. Select **Haiku ($)** for quick factual queries like "list my active schedules" or "how many tasks failed this week"
|
|
81
|
+
5. Switch to **Opus ($$$)** for multi-step reasoning like "analyze the error patterns across my last 10 workflow runs and suggest architectural fixes"
|
|
82
|
+
6. Notice the cost tier badge update as you switch between models
|
|
83
|
+
|
|
84
|
+
> **Tip:** Haiku is 10-20x cheaper per token than Opus. Sam's rule of thumb: if the answer requires recalling a fact, use Haiku. If the answer requires *thinking*, use Opus. This habit alone can reduce monthly chat spend by 80% without sacrificing quality where it matters.
|
|
85
|
+
|
|
86
|
+
### Step 5: Use Chat for Complex Queries
|
|
87
|
+
|
|
88
|
+
Sam sends a query and discovers that Chat responses include Quick Access pills -- interactive links that connect chat answers directly to the entities they reference. No more copy-pasting IDs to look up a task.
|
|
89
|
+
|
|
90
|
+

|
|
91
|
+
|
|
92
|
+
1. Type a complex query such as **"Which tasks in the Infrastructure project are blocked, and what's blocking them?"**
|
|
93
|
+
2. Read the agent's response -- it synthesizes information from across your workspace
|
|
94
|
+
3. Notice the **Quick Access pills** embedded in the response -- colored badges that link to specific tasks, projects, or workflows
|
|
95
|
+
4. Click a Quick Access pill to navigate directly to that entity's detail page
|
|
96
|
+
5. Use the browser back button or Command Palette to return to the chat conversation
|
|
97
|
+
|
|
98
|
+
> **Tip:** Quick Access pills turn Chat into a navigation hub. Instead of manually browsing the sidebar to find a specific task the agent mentioned, click the pill. Sam often starts a session by asking Chat "what needs my attention today?" and then clicking through the linked entities.
|
|
99
|
+
|
|
100
|
+
### Step 6: Browse Workflow Blueprints
|
|
101
|
+
|
|
102
|
+
Sam wants to build a multi-step automation pipeline but does not want to start from scratch. The Blueprint Gallery offers pre-built workflow templates designed for common DevOps patterns.
|
|
103
|
+
|
|
104
|
+

|
|
105
|
+
|
|
106
|
+
1. Navigate to **Workflows** in the sidebar under the **Work** group
|
|
107
|
+
2. Click the **Blueprints** tab (or navigate directly to the blueprint gallery)
|
|
108
|
+
3. Browse the available templates -- each blueprint includes a name, description, step count, and recommended profile assignments
|
|
109
|
+
4. Look for templates that match your use case: deploy pipelines, code review chains, research synthesis, documentation generation
|
|
110
|
+
5. Click a blueprint to preview its step configuration before creating a workflow from it
|
|
111
|
+
6. Click **Use Blueprint** to create a new workflow pre-populated with the template's steps
|
|
112
|
+
|
|
113
|
+
> **Tip:** Blueprints encode best practices. Even if you plan to customize heavily, starting from a blueprint ensures you get the step ordering, dependency chains, and profile assignments right. Sam always starts from a blueprint and then adjusts -- it is faster than building from zero.
|
|
114
|
+
|
|
115
|
+
### Step 7: Build a Multi-Step Workflow
|
|
116
|
+
|
|
117
|
+
Sam customizes a workflow for a "Deploy & Verify" pipeline -- three steps, each depending on the previous one succeeding, each assigned to the right agent profile.
|
|
118
|
+
|
|
119
|
+

|
|
120
|
+
|
|
121
|
+
1. From the Workflows page, click **Create Workflow** (or customize a blueprint from Step 6)
|
|
122
|
+
2. Enter a **Workflow Name** such as "Nightly Deploy & Verify"
|
|
123
|
+
3. Add a description explaining the pipeline's purpose
|
|
124
|
+
4. Configure **Step 1 -- Run Tests**: assign the **Code Reviewer** profile, set the prompt to "Run the full test suite and report failures with root cause analysis"
|
|
125
|
+
5. Configure **Step 2 -- Deploy to Staging**: assign the **General** profile, set dependency on Step 1
|
|
126
|
+
6. Configure **Step 3 -- Verify Deployment**: assign the **Researcher** profile, set dependency on Step 2, prompt it to "Check all critical endpoints and report status"
|
|
127
|
+
7. Save the workflow
|
|
128
|
+
|
|
129
|
+
> **Tip:** Each step in a workflow can use a different agent profile. This is the key insight: match the profile to the step's purpose. Code Reviewer for testing, General for execution, Researcher for verification. Profile specialization across steps is what makes workflows more reliable than running a single general-purpose agent.
|
|
130
|
+
|
|
131
|
+
### Step 8: Inspect Workflow Execution
|
|
132
|
+
|
|
133
|
+
After triggering a run, Sam opens the workflow detail view to track step-by-step progress, inspect outputs, and diagnose any failures in the pipeline.
|
|
134
|
+
|
|
135
|
+

|
|
136
|
+
|
|
137
|
+
1. Click on a workflow (e.g., "Nightly Deploy & Verify") to open the detail view
|
|
138
|
+
2. Review the **step sequence** and dependency chain displayed visually
|
|
139
|
+
3. Check each step's **status indicator** -- queued, running, completed, or failed
|
|
140
|
+
4. Click on a completed step to read its full output and see which tools the agent used
|
|
141
|
+
5. If a step failed, expand its error output to diagnose the issue
|
|
142
|
+
6. Use the **Run Workflow** button to trigger a new execution
|
|
143
|
+
|
|
144
|
+
> **Tip:** Independent steps (those without dependencies between them) execute concurrently. Sam designs workflows to maximize parallelism -- if two verification checks do not depend on each other, they run simultaneously and the pipeline finishes faster.
|
|
145
|
+
|
|
146
|
+
### Step 9: Batch-Manage Tasks on the Kanban
|
|
147
|
+
|
|
148
|
+
Sam switches to the Dashboard to clean up the task board. Bulk select mode lets you queue, reassign, or delete multiple tasks in a single action -- essential when autonomous workflows generate dozens of tasks overnight.
|
|
149
|
+
|
|
150
|
+

|
|
151
|
+
|
|
152
|
+
1. Navigate to the **Dashboard** (kanban board view)
|
|
153
|
+
2. Click the **Select** button in the toolbar to enter bulk select mode
|
|
154
|
+
3. Check the boxes on multiple task cards across any status column
|
|
155
|
+
4. Use the **bulk action toolbar** that appears at the top to:
|
|
156
|
+
- **Queue** selected tasks for agent execution
|
|
157
|
+
- **Move** selected tasks to a different status column
|
|
158
|
+
- **Delete** selected tasks that are no longer needed
|
|
159
|
+
5. Confirm the bulk action and exit select mode
|
|
160
|
+
|
|
161
|
+
> **Tip:** After a weekend of autonomous loop runs, Sam's first Monday task is always a bulk cleanup. Enter select mode, check all the "completed" tasks that need archiving, and clear the board in one action. Keeping the kanban clean prevents cognitive overload as automation scales.
|
|
162
|
+
|
|
163
|
+
### Step 10: Schedule Automated Prompt Loops
|
|
164
|
+
|
|
165
|
+
Sam sets up a recurring schedule so the Deploy & Verify workflow runs every evening without manual intervention. Combining workflows with schedules creates fully autonomous operation loops.
|
|
166
|
+
|
|
167
|
+

|
|
168
|
+
|
|
169
|
+
1. Navigate to **Schedules** in the sidebar under the **Manage** group
|
|
170
|
+
2. Click **Create Schedule**
|
|
171
|
+
3. Enter a **Name** such as "Nightly Deploy Pipeline"
|
|
172
|
+
4. Set the **Interval** using natural language: "every day at 10pm" or "every 6 hours"
|
|
173
|
+
5. Link the schedule to the **Nightly Deploy & Verify** workflow
|
|
174
|
+
6. Configure **stop conditions** to prevent runaway execution:
|
|
175
|
+
- **Max iterations**: 1 per trigger (each night = one full pipeline run)
|
|
176
|
+
- **Timeout**: 30 minutes per iteration
|
|
177
|
+
- **Failure threshold**: 1 (pause after first failure for investigation)
|
|
178
|
+
7. Enable the schedule and click **Create**
|
|
179
|
+
|
|
180
|
+
> **Tip:** Always set at least one stop condition. Sam's rule: max iterations prevents infinite loops, timeout prevents hung agents, and failure threshold prevents burning tokens on a broken pipeline. All three together form a safety net for unattended operation.
|
|
181
|
+
|
|
182
|
+
### Step 11: Monitor Schedule Execution
|
|
183
|
+
|
|
184
|
+
Sam checks in on the nightly schedule to verify it fired correctly, review its execution history, and confirm the next scheduled run.
|
|
185
|
+
|
|
186
|
+

|
|
187
|
+
|
|
188
|
+
1. From the Schedules list, click on **Nightly Deploy Pipeline** to open the detail sheet
|
|
189
|
+
2. Review the **firing history** -- a list of past executions with timestamps and outcomes
|
|
190
|
+
3. Check the **next firing time** to confirm the schedule is correctly queued
|
|
191
|
+
4. Verify the **stop conditions** are configured as intended
|
|
192
|
+
5. Toggle **Pause/Resume** if you need to temporarily disable the schedule (e.g., during a maintenance window)
|
|
193
|
+
6. Close the detail sheet to return to the schedules list
|
|
194
|
+
|
|
195
|
+
> **Tip:** Iteration context is a powerful feature for improvement loops. When enabled, each run can reference the previous run's output. For deploy pipelines, this means a failed verification can inform the next deployment attempt -- agents learn from their own history.
|
|
196
|
+
|
|
197
|
+
### Step 12: Watch Agent Execution in Real-Time
|
|
198
|
+
|
|
199
|
+
Sam opens the Monitor section for a unified view of all agent activity across the workspace -- every task execution, workflow step, and scheduled run appears here with full trace logs.
|
|
200
|
+
|
|
201
|
+

|
|
202
|
+
|
|
203
|
+
1. Click **Monitor** in the sidebar under the **Manage** group
|
|
204
|
+
2. Review the **execution log** showing all recent agent activity in reverse chronological order
|
|
205
|
+
3. Filter by **project**, **workflow**, or **agent profile** to focus on specific activity streams
|
|
206
|
+
4. Click on any log entry to expand the full execution trace -- tool calls, outputs, token counts, and timing
|
|
207
|
+
5. Watch for **error patterns** such as repeated failures on the same tool or profile
|
|
208
|
+
6. Use the monitor to verify that scheduled runs are completing within expected time bounds
|
|
209
|
+
|
|
210
|
+
> **Tip:** The Monitor is Sam's operational dashboard. When something goes wrong in an autonomous loop at 3am, the monitor's execution traces are the fastest path to diagnosis. Sam bookmarks this page and checks it first thing every morning.
|
|
211
|
+
|
|
212
|
+
### Step 13: Use Chat Suggested Prompts
|
|
213
|
+
|
|
214
|
+
Sam returns to Chat and discovers the suggested prompts feature -- tabbed categories of pre-written prompts that cover common operations. Instead of typing from scratch, Sam picks a prompt and edits it.
|
|
215
|
+
|
|
216
|
+

|
|
217
|
+
|
|
218
|
+
1. Navigate to **Chat** (or open a new conversation)
|
|
219
|
+
2. Below the input composer, notice the **suggested prompt tabs** -- categories like Create, Analyze, Manage, and more
|
|
220
|
+
3. Click the **Create** tab to see prompts related to creating new entities (tasks, workflows, schedules)
|
|
221
|
+
4. Click a suggested prompt to populate the input composer with pre-written text
|
|
222
|
+
5. Edit the prompt to match your specific needs, then send it
|
|
223
|
+
6. Try other tabs to discover prompts for analysis, troubleshooting, and status checks
|
|
224
|
+
|
|
225
|
+
> **Tip:** Suggested prompts are not just shortcuts -- they are examples of how to phrase requests for the best agent response. Sam reads through them to learn the phrasing patterns that produce the most useful output, then adapts those patterns for custom queries.
|
|
226
|
+
|
|
227
|
+
### Step 14: Chain Workflows and Schedules
|
|
228
|
+
|
|
229
|
+
Sam connects the dots: workflows define *what* to automate, schedules define *when* to automate, and profiles define *how* each step behaves. Chaining all three creates autonomous loops that run, learn, and improve without human intervention.
|
|
230
|
+
|
|
231
|
+

|
|
232
|
+
|
|
233
|
+
1. Review your existing workflows and identify which ones should run on a schedule
|
|
234
|
+
2. For each workflow, create a corresponding schedule with appropriate intervals and stop conditions
|
|
235
|
+
3. Assign specialized profiles to each workflow step for maximum output quality
|
|
236
|
+
4. Enable **iteration context** on schedules where the agent should learn from previous runs
|
|
237
|
+
5. Set up the Monitor as your oversight layer -- check it daily to catch issues early
|
|
238
|
+
6. Gradually increase automation scope: start with one nightly workflow, then add weekly research sweeps, then continuous monitoring loops
|
|
239
|
+
|
|
240
|
+
> **Tip:** Sam's automation philosophy: start small, observe, then expand. Run a workflow manually three times before scheduling it. Confirm the schedule fires correctly for a week before enabling iteration context. Trust builds incrementally -- and so should autonomy.
|
|
241
|
+
|
|
242
|
+
### Step 15: What's Next
|
|
243
|
+
|
|
244
|
+
Sam's Stagent workspace is now a fully autonomous operations engine -- specialized agent profiles handling different task types, multi-step workflows executing complex pipelines, schedules firing on cadence, and the Monitor providing real-time oversight. The next step is going deeper into the platform layer.
|
|
245
|
+
|
|
246
|
+
- [Developer Guide](./developer.md) -- Configure authentication methods, runtime settings, CLI tooling, and permission presets
|
|
247
|
+
- [Work Use Guide](./work-use.md) -- Explore team collaboration features, document management, and cost governance
|
|
248
|
+
- [Personal Use Guide](./personal-use.md) -- Review the basics if you need a refresher on projects, tasks, and the inbox
|