Skip to main content

Agents

An agent is an AI worker with a specific role, personality, and set of capabilities. Agents are the building blocks of every MeetLoyd team.


What Makes an Agent​

Every agent has four defining elements:

ElementWhat It IsExample
IdentityName, role, personality"Sarah — Senior Sales Analyst. Data-driven, concise, always includes metrics."
ToolsWhat the agent can doAccess CRM, send emails, search knowledge base, create documents
MemoryWhat the agent knowsPast conversations, customer preferences, team decisions
BoundariesWhat the agent cannot doCannot approve deals above $50K, cannot access financial data

Together, these elements define who the agent is within your organization.


The Three Layers of Agent Context​

Agents operate with three layers of instructions, each serving a different purpose:

Layer 1 — System Prompt (How You Work)​

The system prompt defines the agent's personality and methodology. This is the agent's DNA — it rarely changes.

"You are a Sales Development Representative. You're data-driven, concise, and always include relevant metrics in your responses. When qualifying leads, use the BANT framework."

Layer 2 — Charter (Who You Are in This Org)​

The charter defines the agent's organizational role — its mission, boundaries, and reporting structure. Generated when a team starts, approved by a human.

"Your mission is to increase qualified pipeline by 30%. You report to the Sales Lead. Escalate deals above $50K to the Account Executive. You cannot access Stripe."

Layer 3 — Intent State (What to Focus On Now)​

The intent state captures current priorities — what the team lead wants this week. It changes frequently.

"This week: EMEA enterprise leads only. Hard constraint: no cold outreach to existing customers."

Three layers of agent context: the system prompt (how you work) at the base, the charter (who you are in this org) above it, and the intent state (what to focus on now) on topThree layers of agent context: the system prompt (how you work) at the base, the charter (who you are in this org) above it, and the intent state (what to focus on now) on top
Why three layers?

This mirrors how real employees work. Your job description (system prompt) doesn't change when your manager tells you to focus on a different region this quarter (intent state). Separating these concerns means you can update priorities without rewriting the agent's core personality.


What Agents Can Do​

Agents interact with the world through tools — connections to external systems and internal capabilities.

💬
Communicate
Chat with users, send emails, post messages, notify team members.
🔍
Research
Search knowledge bases, query databases, browse the web, analyze documents.
📝
Create
Write reports, generate documents, draft proposals, build presentations.
🤝
Collaborate
Hand off tasks to other agents, ask questions, escalate to humans.
⚡
Automate
Run on schedules, respond to triggers, execute multi-step workflows.
💻
Code
Write and test code in sandboxed environments, submit pull requests, fix CI failures.

How Agents Collaborate​

Agents don't work in isolation. They have five ways to interact with each other and with humans:

ActionWhat HappensAgent Stops?
Ask a questionSends a message and waits for a replyNo
Send a messageOne-way notification ("FYI, the report is ready")No
Hand offTransfers ownership of the task to another agentYes
EscalateFlags the issue for a manager or humanYes
RecalibrateSignals that current priorities may be outdatedNo

Handoffs are the key collaboration mechanism. When an agent hands off work, it stops, and the target agent picks up with full context — the conversation history, relevant data, and the reason for the handoff.


Agent Lifecycle​

Agents go through a structured onboarding process when a team starts:

  1. Created — Agent is configured with its system prompt and tools
  2. Charter Generated — MeetLoyd generates an organizational charter based on the team's mission
  3. Human Approves — A human reviews and approves the charter before the agent can act
  4. Handshake — The agent is introduced to its teammates and learns about their capabilities
  5. Running — The agent is live and ready to work
No surprises

By default a person approves every charter before the agent goes live. Teams set to start fully autonomously approve charters automatically — use that only for fully automated deployments. Once running, how often an agent must ask before acting is earned from its behaviour — see Earned Autonomy.


Creating and Managing Agents​

Creating an Agent​

  1. Go to Agents → Create Agent
  2. Purpose — describe what the agent should do, who uses it and the result you expect, then click Draft my agent
  3. Review — check the drafted name, description and instructions (its system prompt)
  4. Skills & access — keep the skills and access the agent needs, nothing more
  5. Where it runs — pick the workspace, team and model
  6. Click Create

Or just ask Loyd: "Create an agent that qualifies inbound leads for the sales team."

Choosing a Model​

Best ForRecommended
Complex reasoning, strategy, writingA top reasoning model (for example Claude Opus)
General tasks, balanced speed/qualityA balanced model (for example Claude Sonnet) — a good default
Simple tasks, high volumeA fast, low-cost model (for example Claude Haiku)
Privacy-sensitive workYour own model endpoint, or MeetLoyd Sovereign open-source models

Models → Adequacy shows how well each model fits a kind of work. See Models & Providers.

Tips for Great System Prompts​

  • Be specific about personality — "concise and data-driven" is better than "helpful"
  • Define methodology — how should the agent approach problems?
  • Set output format — should responses include metrics? Bullet points? Summaries?
  • Include domain knowledge — what industry context does the agent need?

The Agent Page​

Every agent has a dedicated page (Agents → click an agent) that consolidates what it is and how it's wired. Chat opens a conversation with it; Edit opens its editor.

  • Identity — the agent's verifiable cryptographic identity (its SPIFFE ID), whether it holds an active signing key, and its capability badge. This is what lets the platform prove which agent did what.
  • What wakes me — the triggers, schedules, event subscriptions, handoffs, and inbound email that cause the agent to act, each clickable so you can open the exact schedule or trigger behind it.
  • Capabilities — the tools and skills the agent can actually use.
  • Coherence — gaps between the agent's role and what it's equipped or wired to do (for example, a sales agent with no CRM, or an agent that nothing wakes).
  • Owners — the agent's business owner (who answers for what it does) and technical owner (who answers for how it runs). Whoever creates an agent owns it until they name the right people; Control → Governance → Ownership shows agents missing an owner and sets owners for many at once.
  • Change history — every change to its prompt, model, tools, skills and limits, with a field-by-field diff. Restore any earlier version, or save a labelled snapshot (for example "before go-live"). Control → Evidence → Changes lists recent changes across all agents.
  • Recent activity — the agent's latest runs.

Next Steps​