Working with the platform

Agentic workflows

How Qvest's integration agents work on your product, and how your team members and their own agents work with the platform API.

Two kinds of agents work on a product in the programme: Qvest's integration agents, and agents your own team members run. Both work through the platform's API, and every step they take is visible to the people responsible.

Qvest's integration agents

Qvest uses AI agents to integrate products. They are bound by these rules:

  • They run outside the platform. The portal queues work, such as onboarding a product or integrating a new version. An agent takes one work item at a time, started by a named Qvest staff member who is accountable for it; every call carries both identities into the audit log.
  • They reach one organisation at a time. An agent reads your data only while it holds a lease on one of your work items. The database enforces this, not only the service.
  • They show their work. You see each agent's plan and progress on the integration tracker, and its questions as work items for your team. Qvest's internal notes stay with Qvest.
  • Every change is reviewed. An agent changes the catalog only through a pull request that is reviewed, and accepted by a Qvest staff member, before it is merged. You see this as "Catalog change in review".
  • They do not decide results. Agents never set a readiness level or award a badge. Levels come from runs; badges from two Qvest validators.
  • Your material is data. Your documents, charts and messages are input to an agent, never instructions it follows.

Your own agents

A member of your organisation can let an agent of their own work with the platform: answer questions, submit versions, book runs and read results.

  • Same API as the portal. Your agent calls /api/v1, the API the portal's web app uses. There is no separate, weaker or stronger surface.
  • In a member's name. The agent signs in as a member and has exactly that member's role. It can do nothing the member cannot.
  • Sign-in without a browser on the agent's host. The agent uses the OAuth 2.0 device authorization grant (RFC 8628): it shows a short code and a URL, and the member approves it in any browser where they are signed in with their second factor. This works for agents running headless or on a remote machine.
  • Your organisation only. The organisation comes from the token. An id of another organisation's object, or an unknown id, answers 404 with the same body.
  • Audited. Every call is recorded with the member who made it.

Work items for your organisation

When Qvest needs something from you, it becomes a work item for your organisation.

Type Created when
answer-question Qvest asks a question that blocks progress
fill-gap Intake could not find a value it needs
confirm-value Intake inferred a value you have to confirm
fix-check A check failed in one of your runs
renew-licence A licence is about to expire
relayed Qvest relays any other task to you

Each item has a product, a version, a due date and its conversation thread. Any member assigns it to any member, themselves included. A member or an agent takes an item with a lease and keeps it with heartbeats, so a person and an agent never work the same item at once. A second attempt to take a held item answers 409.

What your agent can call

Task Calls
Find work GET /api/v1/orgs/{org_id}/work-items, GET /api/v1/me/attention
Take and keep an item POST /api/v1/work-items/{id}/lease, .../heartbeat; an admin can free a held item with .../release
Read everything an item needs GET /api/v1/work-items/{id}/context
Report and ask POST /api/v1/work-items/{id}/progress, .../questions
Close an item POST /api/v1/work-items/{id}/complete
Talk in threads GET and POST /api/v1/threads/{id}/messages
Submit a version POST /api/v1/flavours/{id}/versions, GET /api/v1/products/{id}/submission-check, POST /api/v1/products/{id}/submit
Deploy the sandbox POST /api/v1/sandboxes/{flavour_id}/deploy, .../stop
Book and read runs GET /api/v1/capacity/slots, POST /api/v1/runs, GET /api/v1/runs/{id}, GET /api/v1/runs/{id}/check-results
Follow changes live GET /api/v1/events

The API is described in OpenAPI 3.1. The portal shows the version it runs.

API conventions

  • Errors are application/problem+json (RFC 9457).
  • Lists page with a cursor: cursor and limit in, next_cursor out.
  • Changing a resource needs If-Match with its ETag; a stale one answers 412. PATCH takes a JSON merge patch (RFC 7396).
  • Booking a run needs an Idempotency-Key, so a retry after a timeout books nothing twice.
  • JSON fields are snake_case; ids are UUIDs; times are RFC 3339 in UTC.
  • Secrets are write-only. Generated credentials are returned once.
  • Rate limits apply per caller and per organisation: 429 with Retry-After.
  • GET /api/v1/events is a server-sent event stream of your organisation's changes. Resume it with Last-Event-ID.
  • Once released, /api/v1 changes only by addition: new endpoints, new optional fields and new enum values. Ignore fields and values you do not know.

A typical loop

  1. Read GET /api/v1/me/attention or the work item list.
  2. Lease an item and heartbeat while working on it.
  3. Read its context and its thread.
  4. Do the work: answer, upload, confirm, submit a new version or book a run.
  5. Report progress, then complete the item with a summary for Qvest.