Summary
Create a Docker container image for use with ObjectiveAI laboratory executions. The builder agent runs inside this container and experiments with different ObjectiveAI functions and profiles to find the optimal scoring configuration for a given dataset of tweets.
Background
ObjectiveAI laboratory executions spawn a builder agent inside a Docker container with an MCP server injected. The builder agent uses MCP tools to interact with its container environment — reading files, running commands, writing output. Our container image provides the environment the builder agent needs to experiment.
What the Builder Agent Does
The builder agent is the experimenter. Inside the container, it:
- Reads the tweet dataset (scraped posts from
posts_queue)
- Creates an ObjectiveAI function definition
- Creates an ObjectiveAI profile definition
- Runs a function execution against the tweet dataset using the
objectiveai CLI
- Examines the resulting scores
- Decides whether the scores match the user's intent
- If not, modifies the function and/or profile and tries again
- Outputs its best function + profile pair when satisfied
The evaluation agent then validates the builder's output against the expected schema and scores it.
Container Image Contents
objectiveai CLI — for running function executions against the dataset
- Tweet dataset — scraped tweets serialized as JSON, available as a file in the container
- User's criteria — the psyop spec/description so the builder agent understands what "good scoring" means
Integration
A new CLI command in psychological-operations-cli:
psychological-operations lab <psyop-name>
This triggers a laboratory execution using the container image, passing the tweet dataset and psyop criteria to the builder agent. The winning function/profile pair from the lab gets saved into the psyop's stage configuration.
Acceptance Criteria
Summary
Create a Docker container image for use with ObjectiveAI laboratory executions. The builder agent runs inside this container and experiments with different ObjectiveAI functions and profiles to find the optimal scoring configuration for a given dataset of tweets.
Background
ObjectiveAI laboratory executions spawn a builder agent inside a Docker container with an MCP server injected. The builder agent uses MCP tools to interact with its container environment — reading files, running commands, writing output. Our container image provides the environment the builder agent needs to experiment.
What the Builder Agent Does
The builder agent is the experimenter. Inside the container, it:
posts_queue)objectiveaiCLIThe evaluation agent then validates the builder's output against the expected schema and scores it.
Container Image Contents
objectiveaiCLI — for running function executions against the datasetIntegration
A new CLI command in
psychological-operations-cli:This triggers a laboratory execution using the container image, passing the tweet dataset and psyop criteria to the builder agent. The winning function/profile pair from the lab gets saved into the psyop's stage configuration.
Acceptance Criteria
objectiveaiCLI binarypsychological-operations labCLI command triggers the lab execution