Extra Build Configurations¶
Section: [build]
Tells OpenSage how to compile and run a target program as the external artifact the agent is meant to analyze, patch, or exploit. Mostly used by benchmark agents (CTF, debugging, patching) that repeatedly rebuild and execute user-supplied code. You do not need this section for conversational or tool-use agents.
Example¶
config.toml
[build]
poc_dir = "/tmp/poc"
compile_command = "gcc -o target target.c"
run_command = "./target"
target_type = "binary"
target_binary = "/tmp/poc/target"
compile_commandandrun_commandare shell strings; they execute inside the main sandbox.poc_diris where the agent writes candidate proof-of-concept inputs that it wantsrun_commandto consume.target_type/target_binarylet tools that inspect the built artifact know what to look at.
See the [build] field reference for all fields.