Skip to content

add Simulation scenarios#1417

Open
theomonnom wants to merge 8 commits intotheo/agent-simulations-servicefrom
theo/scenario
Open

add Simulation scenarios#1417
theomonnom wants to merge 8 commits intotheo/agent-simulations-servicefrom
theo/scenario

Conversation

@theomonnom
Copy link
Member

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Feb 15, 2026

⚠️ No Changeset found

Latest commit: 9c0241e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "github.com/livekit/protocol" specified in the `fixed` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

@theomonnom theomonnom changed the base branch from main to theo/agent-simulations-service February 15, 2026 05:59
string source_room_id = 6;
int64 created_at = 7;
Status status = 8;
string error = 9;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might be good to have a collection_id here. in DB modeling, we'd want the Scenario table to reference collection_id, versus updating the collection row each time we add a scenario

repeated Job jobs = 7;
}

message Scenario {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we include attributes that the participant should have in here? thinking how they would simulate a sip call or otherwise, where we'd typically use participant attributes and metadata to carry through user-identity information

message CreateScenarioFromSessionRequest {
string project_id = 1;
string room_id = 2;
string scenario_collection_id = 3;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume scenario_collection_id is putting it directly into a collection.. maybe that should be a UpdateScenario API to move it into a collection?

string project_id = 1;
string room_id = 2;
string scenario_collection_id = 3;
string label = 4;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are label and region used for?

}

message AddScenarioToCollectionRequest {
string project_id = 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think instead of the add/remove from collection APIs, updating the collection_id on a Scenario would be simpler, and less API footprint

rpc GetSimulationRun(GetSimulationRunRequest) returns (GetSimulationRunResponse);
rpc ListSimulationRuns(ListSimulationRunsRequest) returns (ListSimulationRunsResponse);

rpc CreateScenario(CreateScenarioRequest) returns (CreateScenarioResponse);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

having an UpdateScenario API would be very helpful.. especially if user is updating this from the web app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants