Applied AI Engineer
Twenty Technologies industrializes offensive cyber operations for the U.S. and its allies. Headquartered in Arlington, Virginia, the company has raised $168M from Khosla Ventures, Accel, Caffeinated Capital, Friends & Family Capital, Point72 Ventures, General Catalyst, and In-Q-Tel. This role is on-site, full-time, and requires U.S. citizenship (no active clearance required).
About the role
You’ll build an agent environment at Twenty with an interaction model similar to Claude Code and Codex. Users give tasks, supply context, and review work; they need visibility into what the agent is doing and the ability to intervene when it goes wrong. Your work centers on the agent harness: the code that assembles context, executes tool calls, tracks progress, and coordinates delegated work. You’ll decide how information carries across a session, how the agent checks its results, and how it recovers when a step fails. You’ll write production software in Python, TypeScript, or Rust and maintain it after launch, spending time investigating failed runs, testing harness changes, and working with users to understand where the system needs improvement.
Responsibilities
- Build agent harnesses: write the execution loop that calls the model, runs tools, records results, and determines the next step; set time and cost limits; define stopping conditions and detect runs that repeat work without progress.
- Manage context: choose what the model sees at each step (instructions, retrieved records, previous actions, tool results); build retrieval and summarization into the workflow; verify summaries preserve task requirements, source references, and unfinished work; investigate failures caused by missing information or conflicting instructions.
- Orchestrate workflows: combine model calls with application code and human review; implement branching, parallel execution, and checkpoints; store task state for resumption after interruption; define what each delegated agent receives, returns, and how shared state is updated.
- Build tool interfaces: define inputs, outputs, and error responses; validate arguments before execution and check results before passing them on; handle retries so a lost response doesn’t cause duplicate writes or messages.
- Build controls for human–agent collaboration: show progress and make tool calls and results inspectable; let users correct instructions, approve actions, stop a run, and resume unfinished work; make clear what has completed, what failed, and what still needs review.
- Handle failures and control access: detect invalid tool calls, dropped requirements, and reports of success that don’t match actual results; implement retry limits, cancellation, and escalation to a person; enforce permissions in application code and require approval for actions such as deleting records, exporting data, or sending messages.
- Evaluate changes: build test cases from representative tasks and production failures; check results against task requirements; measure completion rate, failure severity, human intervention, latency, and cost; run regression tests when changing models, prompts, tools, retrieval, or orchestration.
- Operate the system: keep traces showing what the model saw, which tools ran, and how task state changed; redact secrets and restrict access to sensitive traces; version prompts and workflow code, test releases on limited traffic, and support rollback.
Requirements
- Production software experience: at least four years building and maintaining production software, including hands-on work on an LLM application that calls tools or performs multi-step tasks; be prepared to discuss post-launch failures and how you addressed them.
- Programming and backend engineering skills: strong production experience in at least one of Python, TypeScript, or Rust, with ability to work in the others as needed; can build services, work with asynchronous execution and external APIs, manage persistent storage, and write automated tests.
- Harness and orchestration experience: have written or substantially changed an agent’s execution loop; can explain what the model controls, what the application enforces, and when the user must decide; have investigated failures involving tool use, lost context, or work that stopped before task completion.
- Context engineering experience: have worked on retrieval, context assembly, summarization, or memory for an LLM application; can explain how you chose information supplied to the model, worked within token limits, and tested whether the right information survived across steps.
- Experience handling partial failure: understand timeouts, retries, concurrency, and idempotency; can design recovery for a workflow that fails halfway through and verify whether an action completed before reattempting.
- Evaluation and debugging experience: have built tests for model-driven workflows and used execution traces to investigate failures; can choose checks suited to the task, account for variation between runs, and compare automated grading with human assessments.
- Security knowledge: understand prompt injection and risks of instructions embedded in retrieved documents or tool output; can restrict tool access, protect credentials, and implement validation and approval steps for sensitive actions (deleting records, exporting data, sending messages).
Qualifications
- Experience with long-running or multi-agent workflows, including checkpoint recovery, task delegation, and shared state.
- Experience building retrieval or memory systems with source tracking, freshness checks, and access controls that follow the requesting user’s permissions.
- Experience running controlled comparisons or ablation studies to measure how individual components affect results.
- Experience with self-hosted inference, inference optimization, or task-specific fine-tuning, including measuring their effect on task performance and operating cost.
Skills
Python, TypeScript, Rust, model APIs and SDKs, relational databases, object storage, search systems, asynchronous workers, workflow engines, containers, and tracing and evaluation tools. The implementation may include an orchestration framework or a custom harness; be prepared to read and debug the execution code, including framework code the application depends on.
Benefits
- Health: medical, dental, and vision plan options; life/AD&D and disability coverage options.
- Family: paid parental leave for eligible full-time employees — 12 weeks for birthing parents, 4 weeks for non-birthing parents, 6 weeks for adoptive, foster, or intended parents through surrogacy.
- Vacation: paid holidays and flexible PTO (take what you need).
- Retirement: 401(k) with pre-tax and Roth options; HSA/FSA options, dependent care FSA.
Benefits vary by location, role, and eligibility; full plan details provided during the interview and offer process.