Osy#betaRun it on Osyrin: osyrin.com

Reference / Agent

Deciding what to build — four shapes of app with agents in it

Start from what the app is for, not from the kits. There are four shapes: an assistant for one person, work done for people with approvals, agents inside a business process, and a team of agents with a coordinator. Each takes the one before it and adds a kit and a decision or two. Pick the smallest shape that fits; an app can grow from one to the next without being rewritten.

previewagentsguide

You are here: Building with agents › Deciding what to build

Summary#

Ask one question first: who is the agent's work for, and who has to agree to it? The answer is one of four shapes. Each has a page with the smallest working app for it, and each app is the one before it, grown.

ShapeIn one sentenceIt takes
[[agent-guide-assistant|1. An assistant for one person]]Somebody asks; the agent does a typed job with the app's own functions; the answer comes straight back.[[agent-kit-llm|Llm]], [[agent-kit-agents|Agents]]
[[agent-guide-approvals|2. Work for people, with approvals]]The agent does part of the job alone and proposes the rest; a person approves in their inbox.+ [[agent-kit-human-requests|HumanRequests]], [[agent-kit-work-queues|WorkQueues]]
[[agent-guide-process|3. Agents inside a business process]]A process with fixed steps runs for days; some steps are an agent's, some a person's.+ a workflow, [[agent-kit-processes|Processes]]
[[agent-guide-team|4. A team with a coordinator]]One agent is in charge and hands typed pieces to specialists, side by side.nothing new

Description#

How do I tell which shape I have?#

Three questions, in this order:

  1. Does anything the agent does need a person's yes first? No: shape 1. Yes: at least shape 2.
  2. Is the agent's work one step of something longer, with fixed steps and other people in it? Yes: shape 3.
  3. Is one job really several jobs, for different specialists, that can be done at the same time? Yes: add shape 4. It combines with any of the others: a process step can be a coordinator.

There is a fifth thing that is not a shape but a container: when nobody can write the steps down in advance, and somebody simply owns an outcome until it holds, use an [[agent-guide-glossary#assignment|assignment]]. See [[agent-guide-choosing#assignment-or-process]] and the delivery story.

What stays the same in every shape?#

What do I decide, whatever the shape?#

Six things, in this order. Each has a default, so the smallest app decides very little. The six decisions takes them one at a time.

  1. Who the agent acts as, and for whom.
  2. What it may do alone, what it proposes, what it never does.
  3. What it costs, and who pays.
  4. Who answers its questions, and where.
  5. Who supervises, who teaches, who audits.
  6. What is kept, and what is erased.

Can I grow from one shape to the next?#

Yes, and the four example pages do exactly that with one app, a small translation bureau:

PageWhat the bureau's app gainsLines marked NEW
Shape 1 — an assistant for one personan agent that prepares a commissionthe whole app
Shape 2 — work done for people, with approvalsit proposes a fee; the manager approves in his inboxthree kits, one tool, one line on the agent
Shape 3 — agents inside a business processpreparing becomes a step of a process; a person takes over when it failsa workflow, a process class
Shape 4 — a team of agents with a coordinatora coordinator hands terms and pricing to two specialiststwo agents, one Delegates

Nothing written for an earlier shape is thrown away by a later one.

Go deeper#

Related

Building with agents — the developer's guide

Where a developer starts with agents in an Osy# app. Decide what you are building, read the smallest working app for…

The six decisions — what you say about an agent, and what holds if you say nothing

Every app with an agent in it decides six things: who the agent acts as and for whom; what it may do alone, proposes…

Shape 1 — an assistant for one person

The smallest app with an agent in it: one agent, one typed job, two tools, working for whoever is signed in. It takes…

Shape 2 — work done for people, with approvals

The agent may do some things alone and must propose the rest. A proposal lands in a person's inbox as an approval…

Shape 3 — agents inside a business process

A business process is a workflow, and an agent's work is one of its steps: an ordinary awaited call that answers the…

Shape 4 — a team of agents with a coordinator

One agent is in charge of a job and hands typed pieces of it to specialists, several at once. Each piece is a piece of…

Choosing — I want X, so use Y, not Z, because

Seven tables for the choices that come up in every app with agents in it: an agent or a plain model call or a workflow…

The map of the kits — which sits on which, and what each one is for

The agents family is 29 kits. Two are under everything: `Osysharp.Llm` for every model call and `Osysharp.Agents` for…