# Principal Software Engineer, AI
**Company:** [PermitFlow](https://scaleengineer.com/companies/permitflow)
Principal Software Engineer, AI at PermitFlow is a high-impact staff/principal-level role leading the design and development of agentic AI infrastructure for a construction permitting platform serving the nation's builders. You will own the core AI assistant architecture, context layer, evaluation frameworks, and SDK standards while working directly with the VP of Engineering at a Series B company that has already delivered AI solutions across $20B in development projects. The role requires 10+ years of software engineering expertise with demonstrated experience shipping LLM-powered agentic products at scale, strong production systems thinking, and the ability to balance rapid iteration with rigorous evaluation and user-centered design.
**Role:** Principal Engineer
**Seniority:** Principal
**Locations:** New York City, NY
**Salary:** 250000–300000 USD
[Apply](https://jobs.ashbyhq.com/permitflow/e6382eec-5b9b-4b06-8ea1-f6a173173207)
Canonical: https://scaleengineer.com/jobs/permitflow/principal-software-engineer-ai
---
## Responsibilities

- Design and Own Agent Architecture: Architect the reasoning loop, planning and decomposition strategy, state and session model, and recovery behavior for long-running agentic tasks. Make critical decisions on how the AI assistant navigates complex construction workflows, handles task interruptions, and maintains consistency across multi-step permit submission processes.
- Build the Context and Retrieval Layer: Engineer retrieval augmented generation (RAG), memory management, and context-window optimization systems that enable the assistant to effectively work with construction documents, jurisdictional requirements, prior submissions, and customer-specific conventions. Design systems that maximize relevant information availability while minimizing token waste and latency.
- Design the Action Surface and Tool Framework: Define the tool interface layer that the assistant can call, implement granular permission models around actions, and establish human-in-the-loop checkpoints for expensive or irreversible operations. Create abstractions that balance autonomy with safety and auditability in a highly regulated domain.
- Establish Evaluation-Driven Iteration: Build comprehensive offline and online evaluation harnesses that measure task completion rates, identify failure modes, and track quality regressions. Create feedback loops that enable the entire engineering team to make data-driven decisions on agent improvements and prioritize impactful optimizations.
- Set Organization-Wide AI Engineering Standards: Establish foundational abstractions, SDKs, and code review standards that enable other engineers to build agentic features consistently. Serve as the technical authority on agentic patterns, best practices, and architectural decisions across the product organization.
- Drive User-Centric Product Development: Engage directly with permit coordinators and builders to understand real-world usage patterns, observe failure scenarios in production, and translate user insights into system improvements. Champion the voice of the end user in technical architecture decisions.
- Lead Technical Mentorship and Code Quality: Write production-grade code that establishes quality benchmarks for the team to follow. Mentor senior engineers on agentic infrastructure patterns and help scale the team's capability in building reliable AI systems.

## Requirements

### education

- {"name":"Computer Science or Related Field","description":"Bachelor's degree in Computer Science, Software Engineering, or equivalent field preferred. Advanced degree (Master's/PhD) in ML, AI, or related discipline a plus but not required if compensated by exceptional industry experience."}

### technical

- {"name":"Large Language Model Infrastructure","description":"Deep expertise in building production systems with LLMs, including model selection, prompt engineering, fine-tuning strategies, and handling model outputs reliably in agentic contexts. Experience managing costs, latency, and quality tradeoffs in LLM-powered applications."}
- {"name":"Agentic Architecture and Orchestration","description":"Hands-on experience designing and implementing agent reasoning loops, planning algorithms, tool use patterns, and state management. Familiarity with orchestration frameworks like LangChain, CrewAI, or custom implementations. Understanding of ReAct, chain-of-thought, and other reasoning approaches."}
- {"name":"Retrieval Augmented Generation (RAG)","description":"Demonstrated ability to design and optimize RAG systems including vector databases, embedding strategies, retrieval ranking, context truncation, and integration with language models. Experience evaluating and improving RAG quality and relevance."}
- {"name":"Evaluation Frameworks and Metrics","description":"Experience building evaluation harnesses for AI systems including defining meaningful metrics, automating testing pipelines, and setting up feedback loops. Understanding of eval-driven development, red teaming, and identifying AI system failure modes."}
- {"name":"Production System Design","description":"Strong software engineering fundamentals including distributed systems thinking, API design, database architecture, monitoring, observability, and graceful degradation. Proven ability to move from prototype to production-grade systems that scale reliably."}
- {"name":"Document Processing and Understanding","description":"Experience working with document understanding, PDF extraction, form filling, and structured data extraction from unstructured content. Knowledge of document processing pipelines relevant to complex domain-specific workflows."}

### experience

- {"name":"10+ Years Software Engineering","description":"Minimum 10 years of professional software engineering experience with a track record of shipping production systems. Demonstrated progression in complexity and impact of projects owned."}
- {"name":"AI Product Delivery at Scale","description":"Recent, substantial experience (3+ years) shipping and iterating on LLM-powered or agentic products used by real customers. Proven ability to go beyond prototypes and deliver robust, user-facing AI systems."}
- {"name":"Assistant or Agent Product Ownership","description":"Hands-on experience building assistant or agentic products at meaningful scale, with direct responsibility for the core logic, quality, and reliability of the system. Exposure to real-world complexities, edge cases, and production issues in agentic systems."}
- {"name":"Evaluation System Design","description":"Track record of designing and implementing evaluation harnesses that materially changed team priorities and informed product decisions. Demonstrated ability to articulate what makes evaluations trustworthy and actionable."}
- {"name":"Cross-Functional Leadership","description":"Experience influencing product direction and technical decisions through demonstrated judgment, working code, and clear communication. History of earning authority through impact rather than title."}

## Skills

### required

- {"name":"LLM Product Development","description":"Proven experience building customer-facing products powered by LLMs with focus on reliability, cost management, and user experience."}
- {"name":"Agentic System Design","description":"Deep expertise in designing agent architectures, tool use, planning strategies, and orchestration patterns for multi-step complex workflows."}
- {"name":"Evaluation and Observability","description":"Strong ability to design metrics, build evaluation pipelines, instrument systems comprehensively, and use data to drive prioritization."}
- {"name":"Production-Grade Code","description":"Ability to write clean, maintainable, well-tested code that scales. Strong software engineering discipline with attention to reliability and user impact."}
- {"name":"System Architecture","description":"Capability to design systems end-to-end including API contracts, data models, persistence layers, and operational concerns."}
- {"name":"Technical Communication","description":"Excellent written and verbal communication skills to articulate complex technical decisions, document architecture, and influence through clarity."}

### preferred

- {"name":"RAG and Vector Database Experience","description":"Hands-on work with retrieval-augmented generation systems, vector embeddings, and semantic search in production environments."}
- {"name":"Domain-Specific AI Applications","description":"Experience building AI systems for highly specialized domains like legal, financial, regulatory, or construction tech where accuracy and liability are critical."}
- {"name":"Multi-Agent Systems","description":"Familiarity with designing systems where multiple agents coordinate, decompose tasks, or operate in a specialized domain."}
- {"name":"Construction or Regulatory Domain Knowledge","description":"Background in construction, permitting, compliance, or regulatory technology that brings domain context to technical decisions."}
- {"name":"ML Infrastructure and Ops","description":"Experience with ML infrastructure, prompt management systems, model versioning, experiment tracking, or ML ops tooling."}
- {"name":"Founding or Early-Stage Experience","description":"Track record of building systems from scratch at startups or early-stage companies, comfortable with ambiguity and rapid iteration."}

## Tech stack

### tools

- {"name":"LLM Observability and Evaluation","description":"Tools like LangSmith, Arize, or custom evaluation platforms for monitoring agent performance and building quality metrics."}
- {"name":"Document Processing","description":"Tools and libraries for PDF parsing, document understanding, and structured data extraction (e.g., PyPDF, pydantic, layout parsers)."}
- {"name":"Prompt Management","description":"Version control and experimentation frameworks for managing prompts, templates, and LLM configurations at scale."}

### others

- {"name":"Retrieval Augmented Generation (RAG)","description":"Architectural pattern combining external knowledge retrieval with language model generation for improved accuracy and grounding."}
- {"name":"Tool Calling and Function Calling","description":"Patterns enabling models to invoke functions and tools reliably, including structured output formats and error handling."}
- {"name":"Agent Reasoning Patterns","description":"Approaches like ReAct, chain-of-thought, planning algorithms, and task decomposition for complex problem-solving workflows."}
- {"name":"Context Engineering","description":"Strategies for managing context windows, prompt optimization, and maximizing model performance with bounded token budgets."}

### databases

- {"name":"Vector Databases (Pinecone, Weaviate, pgvector)","description":"Storage and retrieval of embeddings for semantic search and RAG applications fundamental to modern agentic systems."}
- {"name":"PostgreSQL","description":"Robust relational database for persisting agent state, execution history, and production application data."}

### languages

- {"name":"Python","description":"Primary language for AI/ML systems, LLM frameworks, and backend services in modern agentic applications."}
- {"name":"TypeScript/JavaScript","description":"Common for full-stack development, API integration, and orchestration layers in modern AI platforms."}

### frameworks

- {"name":"LangChain","description":"Leading framework for building language model applications including agents, chains, and RAG systems with extensive tool integration."}
- {"name":"LLM APIs (OpenAI, Anthropic, etc)","description":"Experience integrating with and optimizing calls to leading LLM providers including GPT-4, Claude, and other frontier models."}
- {"name":"FastAPI","description":"Modern Python web framework commonly used for building scalable AI product backends and agent orchestration services."}

## Benefits

### benefits

- {"name":"Comprehensive Health Coverage","description":"100% company-paid base medical, dental, and vision insurance for employees, plus health savings account (FSA) to reduce out-of-pocket costs."}
- {"name":"Equity Compensation","description":"Meaningful equity stake in a high-growth Series B company, allowing you to participate directly in company value creation alongside competitive salary."}
- {"name":"Flexible Time Off","description":"Unlimited PTO policy enabling you to balance work and life without tracking accrual, plus paid family leave for major life events."}
- {"name":"401(k) Retirement Plan","description":"Tax-advantaged retirement savings plan to help build long-term financial security."}
- {"name":"Remote Work Support","description":"Home office equipment stipend to set up a productive workspace, plus commuter benefits including pre-tax transit passes and parking support for NYC-based office days."}
- {"name":"In-Office Amenities","description":"Daily provided lunch and dinner at the NYC headquarters, removing friction from the workday and fostering team connection during hybrid work weeks."}
- {"name":"Mission-Driven Work","description":"Opportunity to build infrastructure that accelerates housing development, clean energy deployment, and infrastructure projects across America at a transformational scale."}

## Compensation

- **max:** 350000
- **min:** 250000
- **currency:** USD
- **stockOptions:** true

## Interview process

### steps

- {"name":"Initial Conversation","description":"Preliminary screening call with recruiter to discuss career background, interest in the role, and high-level qualification overview. Typical duration 20-30 minutes."}
- {"name":"Technical Leadership Discussion","description":"Detailed conversation with VP of Engineering or principal-level engineer covering your AI/agentic system architecture experience, past shipping decisions, and approach to technical leadership. Expected to discuss concrete examples of systems you've built."}
- {"name":"System Design Deep Dive","description":"Technical interview focused on designing agentic systems, evaluating architectural tradeoffs, and discussing how you'd approach core PermitFlow problems like agent reasoning, context management, and evaluation frameworks."}
- {"name":"Product and User Understanding","description":"Conversation exploring your approach to staying connected with users, gathering feedback on AI systems, and balancing technical purity with real-world constraints and customer needs."}
- {"name":"Executive Alignment","description":"Final conversation with founder or executive leadership to ensure cultural fit, vision alignment, and mutual interest in joining the PermitFlow mission of transforming construction acceleration."}

## Full description
PermitFlow is redefining how America builds. We’re an applied AI company serving the nation’s builders, tackling one of the largest information challenges in the economy: understanding _what can be built, where, and how_. Our AI agent workforce helps the fastest-growing construction companies navigate everything from permitting and licensing to inspections and project closeouts – accelerating housing, clean-energy, and infrastructure development across the country.

Despite being a $1.6T industry, construction still suffers from massive delays, wasted capital, and lost opportunity. PermitFlow has already delivered unprecedented speed, accuracy, and visibility to over $20B in development, helping contractors reduce compliance time, de-risk projects, and scale with confidence.

As the U.S. enters a new capex supercycle across data centers, factories, housing, and renewables, joining PermitFlow means building the AI infrastructure at the core of every construction project driving the next wave of reindustrialization.

We’ve raised over $90M, most recently completing our [Series B,](https://www.permitflow.com/blog/permitflow-series-b) from top-tier investors including Accel, [Kleiner Perkins](https://www.linkedin.com/feed/update/urn:li:activity:7401703305569275904/), Initialized, Y Combinator, Felicis, and Altos Ventures, with backing from leaders at OpenAI, Google, Procore, ServiceTitan, Zillow, PlanGrid, and Uber.

**Our HQ is in New York City with a hybrid schedule (3 in-office days per week). We prefer NYC-based candidates or those open to relocation.**

# Role Overview

We're hiring a Staff/Principal Engineer to build PermitFlow's core product AI Assistant, infrastructure, and workflow agents. This is a role that will require UX and technical acumen to deliver high quality agents in a genuinely complex domain, while also up-leveling our core agentic infrastructure and data flywheel.

Submitting a permit means comprehending construction documents, extracting project details, confirming every requirement has been met and often filling in pdf forms. Errors compound across steps and a failed submission adds real cost for our customers as projects slow.

The ideal candidate will mix an exceptional history of product delivery with true experience building AI and Agentic infrastructure from the ground up. You ship quickly, instrument everything, hold a high quality bar, and stay close to the users of what you build.

This role reports directly to our VP of Engineering. We're hiring at Staff or Principal, with the level based on past experience and interview performance.

# What You'll Do

* Own the agent architecture. Design the reasoning loop, planning and decomposition strategy, state and session model, and recovery behavior for long-running tasks.
* Build the context layer. Retrieval, memory, and context-window management over project documents, jurisdictional requirements, prior submissions, and customer-specific conventions.
* Design the action surface. Define the tools the assistant can call, the permissions model around them, and the human-in-the-loop checkpoints for actions that are expensive or irreversible.
* Make evaluation the engine of progress. Stand up offline and online eval harnesses that measure task completion and failure modes. Build the iteration loop that lets the whole team improve agent quality on evidence.
* Set the bar for the org. Establish the abstractions, SDKs, and review standards other engineers build agentic features on.
* Stay close to the customer. Sit with permit coordinators and builders, watch the assistant fail in real conditions, and bring that back into the system design.

# What We're Looking For

* You've shipped an assistant or agentic product at meaningful scale
* Deep, current knowledge of the agentic stack (tool calling and tool design, context engineering, memory, retrieval, orchestration patterns, etc)
* You’ve built eval harnesses that changed what a team worked on, and you can articulate what makes an eval trustworthy.
* You are a genuinely strong software engineer, not an AI specialist who needs someone else to make it production-ready. You’ve owned services in production and you write code that other people are glad to inherit.
* You operate with earned authority. You influence through demonstrated judgment, working code, and clear writing rather than title or mandate.
* 10+ years of software engineering experience with recent time spent building LLM-powered products.

# What We Offer

* Competitive salary and meaningful equity in a high-growth company
* 100% company-paid base medical, dental, and vision coverage for employees + healthcare FSA
* 401(k) savings plan
* Unlimited PTO and paid family leave
* Home office & equipment stipend
* Daily in-office lunch and dinner provided
* Commuter benefits (pre-tax transit and parking)

_PermitFlow provides equal employment opportunities (EEO) to all employees and applicants for employment without regard to race, color, religion, sex, national origin, age, disability, genetics, sexual orientation, gender identity, gender expression, or family status, as protected by applicable law._

  
_We are committed to a diverse and inclusive workforce and welcome people from all backgrounds, experiences, perspectives, and abilities. All employment decisions are based on merit, qualifications, and business needs._
