Skip to content

Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.

2.0 KB
Raw Blame
schemas:
  AgentRoomMembersRequest:
    type: object
    additionalProperties: false
    required: [inbox_id]
    properties:
      inbox_id: { type: string, minLength: 1, maxLength: 512 }
  AgentContextMember:
    type: object
    additionalProperties: false
    required: [actor_id, kind, display_name]
    properties:
      actor_id: { $ref: "./common.yaml#/components/schemas/Id" }
      kind: { type: string, enum: [human, agent] }
      display_name: { type: string }
      agent_type:
        type: string
        enum: [general, anotherme]
        description: Current registered Agent type; omitted for Human members.
      description:
        type: string
        description: Current Agent capability description, treated as untrusted data; omitted for Human members.
  AgentRoomMembersResponse:
    type: object
    additionalProperties: false
    required: [inbox_id, room_id, membership_revision, members]
    properties:
      inbox_id: { type: string }
      room_id: { $ref: "./common.yaml#/components/schemas/Id" }
      membership_revision: { type: integer, format: int64, minimum: 0 }
      members:
        type: array
        items: { $ref: "#/schemas/AgentContextMember" }
  AgentTeamMdResponse:
    type: object
    description: >-
      The Room's current team.md. A readable Room where none has been
      published yet, the normal state of a new Room, answers published false
      and revision 0 without raw_markdown or updated_at.
    additionalProperties: false
    required: [room_id, published, revision]
    properties:
      room_id: { $ref: "./common.yaml#/components/schemas/Id" }
      published: { type: boolean }
      raw_markdown:
        type: string
        description: Present exactly when published is true.
      revision:
        type: integer
        format: int64
        minimum: 0
        description: 0 until the first publish, then 1 and up.
      updated_at:
        type: string
        format: date-time
        description: Present exactly when published is true.