Software Engineer, Agent Platform
Software engineeringPosted 4 weeks agofrom OpenAI's own hiring page
- Work type
- RemoteIn the US
- Experience
- Not stated
- Pay
- $230k–385k a year
- Posted
- 4 weeks ago
From the ad
Relocation help
We use a hybrid work model of 3 days in the office per week and offer relocation assistance to new employees
Skills it mentions
Add your skills to see which ones you have.
About the job
About the Team
The Agent Platform team at OpenAI builds the production systems that bring useful AI agents to users around the world. We provide the platform that enables agents to execute code, use tools, and interact with software reliably and securely at scale.
We work closely with product, research, and infrastructure teams to turn new agent capabilities into dependable product experiences. Our work spans the execution environments, APIs, and integrations that support agentic products such as Codex and tool use in ChatGPT.
We focus on how agents run in production: making it easy to launch new capabilities, supporting growing demand, and improving the performance and reliability of the systems behind user experiences.
Some of the hardest problems in making agents useful emerge when they meet real-world workloads. We build the platform that helps agents handle those workloads safely, recover when things go wrong, and deliver consistent results.
About the Role
As a Software Engineer on the Agent Platform team, you will build and scale the services that power agentic products at OpenAI. You’ll work closely with product engineers, researchers, and infrastructure engineers to bring new capabilities from early prototypes to production.
Your work will include designing APIs and services, improving agent execution and orchestration, and building the integrations needed to support increasingly capable agents. You’ll help launch new experiences while strengthening the reliability, observability, and efficiency of the platform underneath them.
We’re looking for engineers with experience building large-scale backend systems or infrastructure who enjoy working close to products and users. You should be comfortable moving quickly through ambiguous problems while making thoughtful decisions about security, performance, and long-term maintainability.
This role is based in San Francisco, CA. We use a hybrid work model of 3 days in the office per week and offer relocation assistance to new employees.
In this role, you will:
Build and operate production services that enable agents to execute code, use tools, and interact with external systems.
Design APIs and platform abstractions that make it easier for product teams to build and launch agentic experiences.
Develop orchestration systems that manage agent execution, state, resource allocation, retries, and recovery.
Improve platform reliability, latency, and efficiency through performance optimization, observability, and capacity planning.
Partner with product, research, security, and infrastructure teams to bring new agent capabilities into production.
Own systems through their full lifecycle, from design and implementation to rollout, monitoring, and ongoing operation.
You might thrive in this role if you:
Have experience building and operating large-scale backend services, distributed systems, or cloud infrastructure.
Enjoy building shared platforms and APIs that help other engineers move faster.
Can take an early prototype, turn it into a reliable service, and evolve it as usage grows.
Have a strong understanding of system performance, concurrency, failure modes, and resource management.
Care about how infrastructure decisions affect the user experience, including responsiveness, reliability, and predictable behavior.
Are comfortable working across service boundaries and collaborating with teams to solve problems from end to end.
Have experience with cloud platforms, containers, orchestration systems, or infrastructure-as-code tools such as Terraform.
Are interested in secure execution environments, sandboxing, and the challenges of running agent workloads in production.
About OpenAI
OpenAI is an AI research and deployment company dedicated to ensuring that general-purpose artificial intelligence benefits all of humanity. We push the boundaries of the capabilities of AI systems and seek to safely deploy them to the world through our products. AI is an extremely powerful tool that must be created with safety and human needs at its core, and to achieve our mission, we must encompass and value the many different perspectives, voices, and experiences that form the full spectrum of humanity.
We are an equal opportunity employer, and we do not discriminate on the basis of race, religion, color, national origin, sex, sexual orientation, age, veteran status, disability, genetic information, or other applicable legally protected characteristic.
For additional information, please see OpenAI’s Affirmative Action and Equal Employment Opportunity Policy Statement.
Background checks for applicants will be administered in accordance with applicable law, and qualified applicants with arrest or conviction records will be considered for employment consistent with those laws, including the San Francisco Fair Chance Ordinance, the Los Angeles County Fair Chance Ordinance for Employers, and the California Fair Chance Act, for US-based candidates. For unincorporated Los Angeles County workers: we reasonably believe that criminal history may have a direct, adverse and negative relationship with the following job duties, potentially resulting in the withdrawal of a conditional offer of employment: protect computer hardware entrusted to you from theft, loss or damage; return all computer hardware in your possession (including the data contained therein) upon termination of employment or end of assignment; and maintain the confidentiality of proprietary, confidential, and non-public information. In addition, job duties require access to secure and protected information technology systems and related data security obligations.
To notify OpenAI that you believe this job posting is non-compliant, please submit a report through this form. No response will be provided to inquiries unrelated to job posting compliance.
We are committed to providing reasonable accommodations to applicants with disabilities, and requests can be made via this link.
OpenAI Global Applicant Privacy Policy
At OpenAI, we believe artificial intelligence has the potential to help people solve immense global challenges, and we want the upside of AI to be widely shared. Join us in shaping the future of technology.
Interested?Software Engineer, Agent Platform at OpenAI
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Docker and Terraform
Interview questions for this job
For the skills the ad mentions: Docker and Terraform.
How can I stop and remove a container?Docker
A running container can be stopped using the docker stop command, which safely shuts it down. Once stopped, the container can be removed with the docker rm command. This cleans up the container while leaving the original image unchanged.
From Tech Vault (Apache 2.0)
Should I commit .tfstate files to Git?Terraform
TL;DR:
Important! Storing in source control could expose potentially sensitive data and risks running Terraform against an old version of state. Don't do it.
Terraform no longer recommends storing state in source control. Your 'good' options are remote or local.
Remote state grants significant benefits vs both local and storing in source control. Details of these are below.
Original answer:
Yevgeniy's answer is a good one. The issue is somewhat less controversial now as Terraform have updated their docs to state:
Terraform also puts some state into the terraform.tfstate file by default. This state file is extremely important; it maps various resource metadata to actual resource IDs so that Terraform knows what it is managing. This file must be saved and distributed to anyone who might run Terraform. It is generally recommended to setup remote state when working with Terraform. This will mean that any potential secrets stored in the state file, will not be checked into version control
So there is no longer a disagreement between established best practice and official recommendations.
Update 2019-05-17
In the most recent version of the docs this has been changed to say:
... This state is stored by default in a local file named "terraform.tfstate", but it can also be stored remotely, which works better in a team environment. ...
I don't expect the advice will ever revert to source control being the preferred method of storing state.
Despite the docs quote above remote state is still beneficial as a solo developer
Remote state allows the solo developer to:
- Work on/run their Terraform code from several devices
- Easily backup and protect against losing the state file, depending on backend chosen
- Segregate sections of their architecture via outputs
- Automatically encrypt state file at rest, depending on backend chosen
From Stack Overflow: asked by Golo Roden, answered by Tom Manterfield (CC BY-SA 4.0)
Healthcheck: CMD vs CMD-SHELLDocker
Docker can either run the command using
CMDwhich is the equivalent of the OS exec syscall directly in the kernel, or it can run usingCMD-SHELLwhich runs a shell to call your command (typically/bin/sh.)A shell provides functionality you are accustomed to from the command line, including:
- I/O redirection and pipes (
>,>>,<, etc) - Command chaining (
&&and||) - Variable expansion (
$var)
However, a shell may also intercept signals, particularly when running as pid 1, which can prevent a graceful shutdown of a container (not much of an issue for a
healthcheck).In addition, to run a the shell syntax, your container's image must include a shell, which means that won't work for images based on
scratchthat do not include a/bin/sh.From DevOps Stack Exchange: asked by Zulhilmi Zainudin, answered by BMitch (CC BY-SA 4.0)
- I/O redirection and pipes (
Terraform apply output onlyTerraform
Running
terraform apply -refresh-onlyshould take care of any new outputs. It will read the latest data from each resource and then update all of the outputs in terms of those updates, which includes re-evaluating your output expressions to incorporate any changes.From DevOps Stack Exchange: asked by Turkdogan Tasdelen, answered by Joan Serra (CC BY-SA 4.0)
Understanding Docker layersDocker
A docker image is actually a linked list of filesystem layers. Each instruction in a Dockerfile creates a filesystem layer that describes the differences in the filesystem before and after execution of the corresponding instruction. The
docker inspectsubcommand can be used on a docker image to reveal its nature of being a linked list of filesystem layers.The number of layers used in an image is important
- when pushing or pulling images, as it affects the number of concurrent uploads or downloads occuring.
- when starting a container, as the layers are combined together to produce the filesystem used in the container; the more layers are involved, the worse the performance is, but the different filesystem backends are affected differently by this.
This has several consequences for how images should be built. The first and most important advice I can give is:
Advice #1 Make sure that the build steps where your source code is involved comes as late as possible in the Dockerfile and are not tied to previous commands using a
&&or a;.The reason for this, is that all the previous steps will be cached and the corresponding layers will not need to be downloaded over and over again. This means faster builds and faster releases, which is probably what you want. Interestingly enough, it is surprisingly hard to make optimal use of the docker cache.
My second advice is less important but I find it very useful from a maintenance view point:
Advice #2 Do not write complex commands in the Dockerfile but rather use scripts that are to be copied and executed.
A Dockerfile following this advice would look like
COPY apt_setup.sh /root/ RUN sh -x /root/apt_setup.sh COPY install_pacakges.sh /root/ RUN sh -x /root/install_packages.shand so on. The advice of binding several commands with
&&has only a limited scope. It is much easier to write with scripts, where you can use functions, etc. to avoid redundancy or for documentation purposes.People interested by pre-processors and willing to avoid the small overhead caused by the
COPYsteps and are actually generating on-the-fly a Dockerfile where theCOPY apt_setup.sh /root/ RUN sh -x /root/apt_setup.shsequences are replaced by
RUN base64 --decode … | sh -xwhere the
…is the base64-encoded version ofapt_setup.sh.My third advice is for people who wants to limit the size and the number of layers at the possible cost of longer builds.
Advice #3 Use the
with-idiom to avoid files present in intermediary layers but not in the resulting filesystem.A file added by some docker instruction and removed by some later instruction is not present in the resulting filesystem but it is mentioned two times in the docker layers constituting the docker image in construction. Once, with name and full content in the layer resulting from the instruction adding it, and once as a deletion notice in the layer resulting from the instruction removing it.
For instance, assume we temporarily need a C compiler and some image and consider the
# !!! THIS DISPLAYS SOME PROBLEM --- DO NOT USE !!! RUN apt-get install -y gcc RUN gcc --version RUN apt-get --purge autoremove -y gcc(A more realistic example would build some software with the compiler instead of merely asserting its presence with the
--versionflag.)The Dockerfile snippet creates three layers, the first one contains the full gcc suite so that even if it is not present in the final filesystem the corresponding data is still part of the image in same manner and need to be downloaded, uploaded and unpacked whenever the final image is.
The
with-idiom is a common form in functional programming to isolate resource ownership and resource releasing from the logic using it. It is easy to transpose this idiom to shell-scripting, and we can rephrase the previous commands as the following script, to be used withCOPY & RUNas in Advice #2.Read the rest at the sourceFrom DevOps Stack Exchange: asked by alecxe, answered by Michaël Le Barbier (CC BY-SA 4.0)
When have you faced a challenging situation?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Member of Technical StaffClera, San Francisco Bay Area, on-siteToday
- Senior Staff Software EngineerFivetran, San Francisco Bay Area, hybridYesterday
- Senior Enterprise Applications EngineerMixpanel, San Francisco Bay Area, hybridYesterday
- Remote Part-Time PowerBuilder DeveloperTEKsystems, Pierre, on-siteToday
More like this: Software engineer jobs in San Francisco Bay Area (707), Jobs in San Francisco Bay Area (9,193), Software engineer jobs in the USA (1,765) and Remote Software engineer jobs in the USA (709)



