Agents

Pasture Protocol is a team of agents: named personas in one local runtime, each with its own identity, selected skills, routing, and context.

The big picture

ConceptIn plain terms
AgentA specialist persona (e.g. main, writer, backend-bot).
mainDefault coordinator. Always exists; root of the team tree.
SkillsMarkdown instructions plus JavaScript executors an agent may use, such as browse, memory, github, cron, or agent-send.
IdentityMarkdown files such as SOUL, WhoAmI, MyHuman, and group context that ground the agent.
Agent teamRoster, map, inbox/outbox, live context, missions, tasks, and activity in the dashboard.

Why multiple agents?

  • Separation of concerns: a coding agent with repo access, a writer without sensitive tools.
  • Clear personas: different tone, expertise, and memory per role.
  • Coordination: main orchestrates specialists via internal messaging.
  • Routing: WhatsApp/Telegram groups can be pinned to a specific agent.

What happens on each message

  1. A message arrives (dashboard, WhatsApp, or Telegram).
  2. Pasture Protocol picks the routed agent for that chat or group.
  3. Prompt classifiers choose intent, work mode, skill context, and possible delegation.
  4. The agent runs a turn: LLM plus optional tool calls through allowed skill executors.
  5. If needed, it delegates to another agent and synthesizes the reply.
  6. You see one coherent answer. Delegation stays internal.

Common agent setups

SetupWhy you would use it
main + writerMain coordinates your request while the writer keeps brand voice, drafts, summaries, and marketing memory separate.
main + backend-bot + reviewerBackend proposes implementation details, reviewer checks risk, and main combines both into one plan or PR response.
personal assistant agentA focused agent can own calendar, Gmail, reminders, and memory without also having code or server tools.
group-specific agentA WhatsApp or Telegram group can talk to a dedicated persona with a limited skill set and group-safe boundaries.

Agent workspace

Each agent has a dedicated workspace panel in the dashboard with four tabs:

TabWhat it shows
OverviewThe agent's name, avatar, role description, enabled skills, and last active time.
ContextCurrent identity files (SOUL, WhoAmI, MyHuman), active mission context, and project notes loaded for this agent.
InboxIncoming delegation messages this agent has received from other agents via agent-send.
OutboxDelegations this agent has sent to other agents, with their status and any returned results.

The workspace panel is accessible from the agent roster card. Use it to review what context an agent is working with, trace delegation chains, or confirm that the right identity and mission data is loaded before a session.

Agent avatars

Each agent automatically gets a unique AI-generated portrait. Avatars are generated in the background based on the agent's name and persona description. They appear on roster cards, workspace panels, and in the Reports view. Regeneration happens if the agent configuration changes.

Go deeper

← Back to introduction