Building agent-native software

A chatbot in the corner of a SaaS app can answer questions while leaving the same old workflow in place.

A maintenance coordinator and a leasing manager might use the same screens for very different jobs. Adding a chat box leaves them with the same steps.

At Entrata, I started by looking at what each person needed to get done.

§What I mean by an agent

I use “agent” to mean a workflow where a language model chooses the next step.

In a fixed workflow, clicking a button can trigger a set sequence of checks, API calls, and writes. An agent can use those same tools and APIs in a different order depending on the task.

§Start with what the user needs

In a fixed workflow, you write the steps and handle each branch in code.

When you design a workflow for an agent, you can describe the result you need and let it choose how to get there.

Say you want a weekly review that summarises activity and suggests priorities. A fixed workflow would query the database, aggregate the results, and format a report. For an agent with tools to list and read files, you might use a prompt like this. "Review files modified this week. Summarise key changes. Suggest three priorities for next week." The agent uses those tools to gather what it needs for the report.

§Give the agent small tools

Give each tool one job, such as reading a file, writing a file, saving a record, or sending a message.

Do not build a tool called `analyze_and_organize_files`. That bakes the decision-making into the tool. Give the agent `read_file`, `write_file`, `move_file`, then say in the prompt: "Organise the user's files based on content and relevance." The agent decides. The tools just provide capability.

§Action parity

Give the agent tools for the same actions the user can take in the interface.

If users can create, tag, search, and delete notes, give the agent tools for all four actions. When you add a new action to the interface, add its tool in the same PR.

§Context engineering

An agent needs the right information when it makes a decision. A larger context window alone won't help it find that information.

I give the agent a structured view of what the user sees on screen. I explain the terms it needs and update the data as the workspace changes.

§How the agent works through a task

A web request usually ends with one response. An agent can make several tool calls while it works on the same request.

The agent takes a step, checks the result, then decides what to do next. It repeats that until it reaches the requested outcome.

§Shared workspace

A lot of agent demos give the agent a separate copy of the workspace. That makes it easy for the agent and the user to end up looking at different data.

Let the agent and the user work with the same files and database. When the agent creates a document, the user can see it immediately. When the user edits it, the agent reads the new version.

§What I'm working on now

Designing for agents changes how I think about the app itself. The tools, permissions, and access to shared data matter as much as the interface.

Putting these ideas into an existing product takes time. Right now I'm working through that with Entrata's property-management software and its PHP backend.