Personalized AI infrastructure
Company Data Model for AI Agents: Entities, IDs and Owners
The core entities, identifiers and ownership fields an AI agent needs, so company records stay reusable when models or tools change.

A company data model for AI agents is the set of entities, identifiers and ownership fields that describe your business in records an agent can read and write: accounts, people, documents, orders and the actions taken on them. Define it around the decisions your business makes rather than around a model or a vendor, and give every record a stable identifier, a named owner and a recorded source. When those three things hold, you can change models, tools or channels without rebuilding what the company knows.
Key takeaways
- Start with a small set of core entities, and tie each one to a decision the agent will support.
- Give every record a stable internal identifier that no model, vendor or tool owns.
- Put ownership fields on every entity: owning role, source system, last human check and permitted agent roles.
- Keep agent working memory separate from company records, and let that memory point back to record identifiers.
- Write the model in plain language before any agent touches it, and review it whenever a tool or permission changes.
Why the model must outlive the model
Most companies first meet AI agents through a model, a chat window or a demonstration. The records that matter are older than any of those. A customer account, a signed contract or a service history will still be needed after the model that first read them has been replaced. If the agent's understanding of your business lives only in prompts, inside a vendor's proprietary memory or in a spreadsheet nobody owns, changing any one of those layers means starting over.
The practical test is simple. Ask whether a new employee, or a different agent runtime, could read your records and understand what each field means without asking the agent that wrote them. If the answer is no, the model is not yet reusable. Lock-in often hides in exactly this gap, which is why it is worth reading about how to avoid AI vendor lock-in before deciding where your records live.
The core entities every agent needs
Most small and mid-sized operations need fewer entities than they expect. Start with the list below and drop any entity that your first agent role does not read or write.
- Organization: a customer, supplier, partner or prospect. This is the unit that a relationship, quote or invoice belongs to.
- Person: a contact, employee, approver or authorized signer, always linked to one organization or to the company itself.
- Product or service: what you sell or deliver, with a current version and an owner who can approve changes to its description.
- Engagement or order: the commitment that connects an organization to a product, with status and dates kept in the source system.
- Document: a contract, quote, policy, proposal or report, stored as a reference with its version rather than as pasted text.
- Interaction: an email, call note, ticket or conversation thread, linked to the person and engagement it concerns.
- Task or decision: work that needs a person to act or approve, with the reason it was raised.
- Action log: a record of what an agent did, with the tool used, the entity affected and the approval that allowed it.
The action log is the entity most teams skip. Without it, you can see what the agent knows but not what it changed, and that is the question that matters after an error. Observability practice, including the concepts behind traces and structured logs, is built around reconstructing what a system did. Your action log applies the same idea to business records. For a fuller view of the layers that sit around these entities, see the superintelligence layer component checklist.
Identifiers: one key per record, owned by your company
An identifier does one job: it tells every system, now and later, that two references point to the same thing. Use an internal identifier generated by your own system, opaque, and never reused after a record is retired. Do not let the agent invent identifiers, and do not use email addresses, names or document numbers as keys, because those change.
Keep a crosswalk table that maps each internal identifier to the external identifiers in every system where the same record lives. Include the system name and the date the mapping was last confirmed by a person. This table is what lets a new model or a new tool connect to your customers without re-keying them by hand.
Duplicates usually come from retries. When an agent calls a payment, email or ticketing tool twice because the first response timed out, the second call should not create a second record. Stripe's documentation on idempotent requests shows the provider-side pattern: the caller sends a unique key with the request, and repeated requests with that key return the saved result instead of performing the action again. Your action log should apply the same discipline by storing a request key for every write an agent performs.
Ownership and permission fields on every record
Every entity should answer four questions without a search: who owns it, where it came from, when a person last checked it, and which agent roles may read or change it. Store those answers as fields, not as conventions that people are expected to remember.
- owner_role: the function accountable for accuracy, such as the sales lead or the finance controller.
- source_system: where the authoritative version of the record lives.
- verified_by and verified_at: the person who last checked the record and when they did it.
- created_by: a named human user or a named agent role, never an anonymous process.
- permitted_roles: the agent roles allowed to read and write this entity type.
- sensitivity: a short class such as public, internal, personal or restricted.
Authorization guidance from OWASP recommends denying access by default and checking permissions on every request rather than trusting the caller's context. For agents, this means the permitted_roles field must be enforced by the tool that performs the action, not by the instructions in a prompt. An agent told that it may not edit contracts can still be manipulated by hostile text in an email or a document, so the safe design assumes the agent can be fooled and limits what a fooled agent can touch. The quarterly permission review is the moment to check that these fields still match what each role actually does.
Keep agent memory apart from company records
Agents need memory: summaries of past conversations, working notes, retrieved passages and intermediate plans. That memory is useful but disposable. Company records are the source of truth. The working rule is that agent memory points to record identifiers and source versions and never replaces them. When a customer changes an address, the record changes, and any note the agent wrote about the old address should be marked as stale.
This separation is also how retrieval works in practice. Instead of training a model on your company's information, you retrieve the relevant records at the moment of use. AWS guidance comparing retrieval and fine-tuning describes this tradeoff in detail. Retrieval keeps your knowledge in a store you control, where access can be restricted and corrections take effect immediately. Anthropic's guidance on context engineering makes a related point: what enters the context window should be curated, small and relevant, not everything the company has.
Illustrative scenario: a ten-person consultancy wants an agent to prepare renewal proposals. Its first version pulled client names from old documents, email signatures and a spreadsheet, and it produced two renewal drafts for the same client under slightly different names. One draft also used a retired description of a service. After the team gave each organization one internal identifier, linked its contacts to that identifier, and stored the current service description as a referenced version, the agent's drafts pointed to one organization and one version, and the approver could trace each statement to its source. The model did not change. The records did.
A step-by-step plan for your first model
Build the model around one agent role, not around the whole company. The sequence below keeps the scope narrow enough to test and the ownership clear enough to maintain.
- Write the decision the agent supports in one sentence, and name the person who acts on its output.
- List the records that decision reads and the records it writes, then keep only those entities.
- Assign an identifier scheme and build a crosswalk to each system where those records already live.
- Add the ownership fields to each entity, and name one accountable owner role for each group of fields.
- Define which agent roles may read and write each entity, and mark every write that requires human approval.
- Create the action log before the first live run, so that every write carries a request key and a named approver.
- Test with a small set of real records, confirm that duplicates and stale versions are caught, and widen the scope only after both checks pass.
Be Human's managed approach follows the same order. The first engagement defines one useful role, the memory and tools that role needs, its approval boundaries and an observable success criterion, and then sets up the records, identifiers and permissions that role depends on. Ongoing operation covers monitoring, recurring evaluations, integration maintenance and permission review, so the model is checked as tools, products and people change. Keep the model under review on a regular schedule, and check each entity against how the business works today, whether each owner is still in that role, and whether any agent can write outside its scope. If you are not sure which decision to start with, the free Be Human AI diagnostic can help you find the first task worth handing to an agent.
Frequently asked questions
How many entities does a first agent need? Start with the entities that your first role reads or writes, often three to five, and add others only when a specific decision requires them. A model that tries to cover the whole company tends to stall, because every field needs an owner before anything can run. A narrow model can be tested against real records early and expanded later with evidence.
Do we need a graph database or a data warehouse to begin? Not at the start. A well-structured relational store, or a carefully governed set of tables, is enough for one role, provided the identifiers, ownership fields and action log are applied consistently. Specialized storage makes sense when query patterns demand it, and that choice should follow the model rather than come before it.
What happens when we change models or vendors? If the entities, identifiers and crosswalk live in a store your company controls, and tools expose them through documented interfaces, a model change becomes an integration task: the new model reads the same records through the same tools, and you rerun your evaluations. If the memory exists only inside a vendor's product, you must export and reconstruct it, which is why the record layer should not belong to the agent vendor.
Who should own the data model inside the company? A named operations leader or finance controller should own it, with each entity's owner role held by the person accountable for the accuracy of those records. The model answers business questions such as what the company counts as a customer or an order, so an implementation partner or engineer can maintain it, but should not define it alone.
Your next step
See where an AI agent fits in your company first.
Take the free Be Human AI diagnostic. A few questions about your work show which task to hand to an agent first, what it needs to know and where a person approves.
Be Human editorial guidance. Examples are illustrative unless explicitly attributed. Sources provide background; implementation choices depend on your workflow.


