AgentWorks documentation
Build Your First Workflow
The first workflow should be small enough to review but real enough to produce evidence. A recurring research brief, support summary, lead review, or finance check is a better first test than a large autonomous process.
1. Create the Automation
- Open Automation mode.
- Open Select Automation and choose + Add Automation.
- Enter an Automation Name.
- Select an automation provider under Agent LLM Configuration.
- Set the required Workflow Folder.
- Choose Save Automation.
The workflow folder becomes the durable home for the workflow definition, run artifacts, reports, learnings, and knowledge used in later runs.
2. Define the Operating Contract
In Chat, describe:
- the business outcome to achieve;
- the inputs and systems the workflow may use;
- the expected output and evidence;
- the run cadence;
- decisions that require human approval;
- the metric or review standard that determines success.
Keep the first contract explicit. For example: "Every weekday, review open support conversations, group them by urgency, cite the source messages, draft responses, and ask for approval before sending anything."
3. Review the Plan and Access
Open Plan before the first run. Confirm that each step has the right worker and only the access it needs:
- coding CLI or model provider;
- MCP servers and tools;
- browser mode;
- global or workflow-scoped secrets;
- human approval boundaries.
See Workflow Builder Commands and Tools, MCP Bridge Layer, Browser, and Secrets for detailed configuration.
4. Run and Observe
Start the workflow and use Tree for step progress or Terminal for the live agent session. A useful first run should leave an inspectable record rather than only a chat response.
After the run, inspect:
- the generated report and files;
- logs and per-step execution status;
- model and token cost;
- any requested human input;
- Pulse findings about reliability or missing evidence.
See Workflow Monitoring, Cost and Log Measurement, and Human Feedback.
5. Improve the Next Run
Fix correctness and access problems first. Then review proposed changes to instructions, scripts, evaluation criteria, or reusable skills. Approve only changes supported by run evidence and keep a human review step around consequential actions.
Use Self-Improvement and Reporting, Auto Improvement Framework, Evaluation System, and Learning Architecture to extend the loop.
First-Run Completion Check
The workflow is ready to schedule when:
- the result matches the stated output contract;
- source evidence is available for review;
- retries and approval boundaries are clear;
- cost is acceptable for the planned cadence;
- the next run can reuse saved workflow context instead of starting from zero.