ShingleAI has two kinds of AI worker: agents and automations. They look similar from a distance — both use LLMs, both can call tools, both can read your data and act on it — but they answer different questions, and using them interchangeably is the most common source of confusion for new users. Read this page, then read Automations. Together they give you a clear sense of which one to reach for.Documentation Index
Fetch the complete documentation index at: https://docs.shingleai.com/llms.txt
Use this file to discover all available pages before exploring further.
Agents vs. Automations at a Glance
| Agent | Automation | |
|---|---|---|
| Triggered by | A person chatting with it (or another workflow invoking it) | A platform event — new message, new contact, schedule, etc. |
| Shape | A conversational LLM loop that calls tools to get things done | A rule that says “when X happens, do Y” |
| Has memory of? | Yes — every turn of the conversation | No — each execution is fresh |
| Best for | Open-ended help, research, multi-turn judgement | Routine, event-driven work that should just happen |
What is an Agent?
An agent is a configured persona that runs an LLM loop. When you create an agent you decide:- Name and system prompt — who the agent is and how it should behave.
- Model — which LLM powers it.
- Tools it has access to — and at what permission level.
- Step budget —
maxStepscaps how many tool calls a single response can make. The default is 5. - LLM parameters — temperature, top-p, frequency/presence penalties, and so on, for power users.
Tool Permissions
Tools are the only way an agent affects the world — read your contacts, send an email, create a task, search files. ShingleAI gives you granular control over each tool, with three levels:| Level | Behaviour |
|---|---|
allow | Agent calls the tool automatically, no prompt |
ask | Agent must request approval before each call; you see what it wants to do and can approve or reject |
deny | Tool is hidden from the agent entirely |
allow (an agent should be able to look things up without asking permission), write- and delete-style tools default to ask (anything that mutates state should pause for a human). You can override any of these per agent.
Conversations
Every chat with an agent is recorded as an agent conversation — a thread you can revisit, share, or audit later. Each conversation has:- A status:
active,completed,timeout, orerror. - A source:
web(the dashboard chat UI),api, ormcp(a Model Context Protocol client like Claude Desktop or Cursor). - The full transcript, including tool calls, tool results, and any approval decisions.
How an Agent Runs
The loop is bounded —maxSteps is a hard cap on tool calls per turn — and is interruptible. If a permission prompt comes back denied, or if you pause the conversation, the agent stops cleanly.
When to Use Which
Reach for an agent when:- You want to ask follow-up questions in a conversation.
- The work needs judgement, not just rules — “summarise this account’s recent activity,” “draft a polite refund refusal.”
- You want a human in the loop on writes.
- The trigger is an event you can describe — “a new email arrives,” “a customer signs up.”
- You want it to run forever, untouched, until you tell it to stop.
- The behaviour is predictable enough that you don’t need to chat about it.
Related Topics
Automations
The other half of this story
Create an Agent
Build your first agent in the web app
Tool Permissions
Configure allow / ask / deny for each tool
Agent Conversations
Browse and audit past chats