Osy#betaRun it on Osyrin: osyrin.com

Reference / Agent

Osysharp.Assignments.WorkQueues — what an assignment asks of people, in their inboxes and on the assignment

`Osysharp.Assignments.WorkQueues` is the bridge between assignments and requests: a request put for an assignment is a piece of the assignment's work and an item in the inbox of whoever it waits on.

previewagentsguidekit

Source on GitHub: Osysharp.Assignments.WorkQueues — github.com/osysharp/assignments/workqueues ↗

You are here: Building with agents › The kits › Assignments.WorkQueues

Summary#

Osysharp.Assignments.WorkQueues is the bridge between assignments and requests: a request put for an assignment is a piece of the assignment's work and an item in the inbox of whoever it waits on.

What an agent proposes or asks while it works for an assignment is attached by itself. An answer closes that piece of work; it completes nothing, because an assignment is done only when its criteria are met.

PackageOsysharp.Assignments.WorkQueues, version 1.1.0
You add it withNothing. It arrives by itself in an app that uses [[agent-kit-assignments|Assignments]] and [[agent-kit-human-requests|HumanRequests]]; osy lock says so. without Osysharp.Assignments.WorkQueues; in the manifest keeps it out.
It sits on[[agent-kit-assignments|Assignments]], [[agent-kit-human-requests|HumanRequests]], [[agent-kit-work-queues|WorkQueues]]
It also usesIdentity, Ui — parts of the platform's own library
Its own test appA workshop that services other people's machines — kits/assignments-work-queues/tests

Description#

What do you get without writing anything?#

  • "Waiting on people" on the assignment's page.
  • On the inbox item: which assignment it is part of, and how far that has come.

When do you need it?#

When an app has assignments and an inbox. It arrives by itself.

What does it expose?#

The tables below are generated from the kit itself, not written by hand: osy kits Osysharp.Assignments.WorkQueues --surface lists each of them with the code of the kit's own test app that uses it, and the tests that show it working.

Functions you call, those its own tests show most first.

FunctionWhat it doesTests that show it
AssignmentTagOf(Guid request)The assignment a request is part of, as whoever is looking may read it.3
AssignmentRequestIds(Guid assignment)The ids of an assignment's open requests, as whoever is looking may read its work.1

Screens and components you mount — each is one line in a page of yours.

ComponentWhat it draws
RequestsOnTheAssignment(assignment)Who an assignment is waiting on — drawn on every assignment's page (AssignmentView): each open request, of whom, since when, and whether it is late.
AssignmentOnARequest(item)Which assignment a request is part of — drawn above the request on its item in the inbox, for whoever may read the assignment: its title, the outcome wanted, and how far it is.

Go deeper#

Related

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…

What an assignment asks of people — requests as an assignment's work and as inbox items (Assignments.WorkQueues kit)

With the Assignments kit and the HumanRequests kit both in an app, a request put for an assignment is a piece of the…