Applied AI Engineer
$159k - $263k • Arlington, VA • Full-time
Posted 23d ago
Job Location
Arlington, VA
Tech Stack
Remote Work Policy
On-site
Employment Type
Full-time
Visa Sponsorship
The posting says they won't sponsor visas
Categories
AI Agent Engineer
About the job
Twenty was founded to change the landscape of cyber security by making adversaries think twice before attacking. Our vision is American and allied primacy in cyberspace, ensuring deterrence and security. We are industrializing offensive cyber operations for the U.S. and its allies. This role will build an agent environment with an interaction model similar to Claude Code and Codex, allowing users to give tasks, supply context, and review the agent's work. The focus will be on the agent harness, which assembles context, executes tool calls, tracks progress, and coordinates delegated work. You will be responsible for how information flows, how the agent checks its results, and how it recovers from failures. The work involves writing and maintaining production software in Python, TypeScript, or Rust, investigating failures, testing changes, and collaborating with users to improve the system.
Responsibilities
- Build agent harnesses, including the execution loop for model calls, tool execution, result recording, and determining the next step.
- Set time and cost limits, define stopping conditions, and detect repetitive work without progress.
- Manage context by selecting information for the model at each step, including instructions, retrieved records, and tool results.
- Build retrieval and summarization into the workflow, ensuring summaries preserve task requirements and source references.
- Investigate failures caused by missing information or conflicting instructions.
- Orchestrate workflows by combining model calls with application code and human review, implementing branching, parallel execution, and checkpoints.
- Store task state to allow work resumption after interruptions.
- Define inputs, outputs, and error responses for tool interfaces, and validate arguments before execution.
- Handle retries to prevent duplicate writes or messages due to lost responses.
- Build user controls for inspecting progress, tool calls, and results, allowing users to correct instructions, approve actions, and stop or resume runs.
- Handle failures such as invalid tool calls or mismatched success reports, and implement retry limits, cancellation, and escalation.
- Enforce permissions and require approval for actions needing review.
- Build test cases from representative tasks and production failures to evaluate changes.
- Measure completion rate, failure severity, human intervention, latency, and cost.
- Run regression tests when changing models, prompts, tools, retrieval, or orchestration.
- Operate the system by maintaining traces of model interactions and task state changes.
- Redact secrets and restrict access to sensitive traces.
- Version prompts and workflow code, test releases, and support rollback.
Requirements
- At least four years of production software experience, including hands-on work on an LLM application that calls tools or performs multi-step tasks.
- Strong production experience in at least one of Python, TypeScript, or Rust, with the ability to work in others.
- Experience building services, working with asynchronous execution and external APIs, managing persistent storage, and writing automated tests.
- Experience writing or substantially changing an agent's execution loop.
- Ability to explain model controls, application enforcement, and user decision points in agent workflows.
- Experience investigating failures involving tool use, lost context, or incomplete tasks.
- Experience with retrieval, context assembly, summarization, or memory for LLM applications.
- Ability to explain choices for model context, work within token limits, and test information preservation across steps.
- Understanding of timeouts, retries, concurrency, and idempotency.
- Ability to design recovery for partially failed workflows and verify action completion.
