To build a useful AI agent, define a task, give it the information and tools it needs, specify when it should ask for help, and test its output. Choose a managed platform such as cto.new when you want to configure a business team through chat, or a development framework when you need to implement the runtime yourself.
Define the job before choosing the framework
Use a concrete first task: turn a new customer enquiry into a draft reply and a follow-up task. The agent needs the original message, approved service information, and a way to record its result. It should ask for missing facts rather than invent a quote or appointment.
Write the expected output before giving it access to a live inbox. For this example, success means a reply containing the correct service, a relevant next question, and no unsupported price or booking confirmation.
Choose how much infrastructure to own
| Approach | What you configure | What you operate |
|---|---|---|
| Managed team in cto.new | Business goal, employee roles, tool connections, and permissions | The business workflow and review process |
| Code-based agent | Model calls, instructions, tools, state, and error handling | Runtime, credentials, deployment, monitoring, and evaluation |
| Existing workflow with an AI step | Trigger, fixed steps, and the model's input/output | The workflow and its integration failures |
LangGraph provides stateful orchestration. CrewAI documents collaborating agents and workflows. These are options for building software, not guarantees that a particular business task will succeed.
Build the managed version in cto.new
Start from the homepage with a brief explaining the customer enquiry workflow. Ask the lead to outline the work and required connections before adding employees or external actions.
- Provide approved service details and example enquiries.
- Ask for a proposed role split and the output of each role.
- Connect only the tools the workflow needs.
- Review the account's permissions and feature availability.
- Run sample enquiries and inspect the replies and task outputs.
The cto.new Inbox supports email. A workflow involving telephone calls needs a separately configured voice service and integration. Naming a role “receptionist” does not create a phone system.
Test more than the happy path
| Input | Expected behavior |
|---|---|
| A clear request for a service | Relevant draft and next step |
| Missing address or date | Ask for the missing detail |
| A request outside the service area | Explain the boundary using approved information |
| A failed connected service | Report the failure without claiming completion |
| Conflicting instructions inside a customer message | Follow your business rules and escalate uncertainty |
Keep the examples and reviewed outputs. When you change instructions, model settings, or tools, rerun the examples that exercise those changes.
Decide whether the agent is useful
Measure accepted drafts, corrections, completed actions, time spent reviewing, and actual usage cost. For a business workflow, also measure whether the customer received the intended result. Do not infer customer satisfaction from the number of tasks marked complete.
Questions before launch
Do I need to code?
A cto.new team can be configured through chat and the product interface. A custom runtime or unsupported integration can still require development.
Which model should I choose?
Use the models currently available to your account and compare them on your own examples. Keep complex or consequential decisions subject to review.
What should I read next?
See agent teams explained and the business-building guide. Plan and feature details are on the pricing page.
