An enterprise agent system must do more than answer a question correctly. It must respect access boundaries, survive slow dependencies, avoid duplicate actions and leave enough evidence to explain what happened. Connecting corporate data to agents is a problem in application architecture as much as model behavior.
Where to start when a company wants AI agents
Start with the process, not with the agent. Write down how the work arrives, who decides, how it is reviewed and what evidence it leaves. An agent placed on an unclear process inherits its ambiguity.
I saw this order on a small team. At first the agents needed a lot of supervision, specific instructions and a constant transfer of context. As the environment became more structured, an agent could tell where the project stood, which rules applied, which actions were valid and what evidence it had to leave. Autonomy was a consequence of that structure. It was not the starting point.
The decision rule is simple. If the team cannot describe a process without the agent, do not give the agent more autonomy yet. Make the process explicit first.
Define what scale means
Hundreds of thousands of registered users do not mean hundreds of thousands of concurrent conversations. Before sizing a system, specify active users, peak requests per second, simultaneous sessions, tool calls per turn, response-size distribution and latency objectives. Include the fraction of conversations that write data or require a human handoff.
Model and database capacity impose separate ceilings. A service that scales its instances can still overwhelm its connection pool or exceed a model provider's quota. Budget those dependencies together.
Keep the interactive path bounded
Authenticate the caller, resolve permissions and fetch only the data needed for the task. Apply deadlines to model calls and tools. Bound tool iterations, response sizes and database connections. Cache only where authorization, tenant isolation and freshness permit it.
Move long-running work to a queue. Return a durable job reference and make its progress inspectable. Retries need backoff and a bounded budget; writes need idempotency. When a dependency fails, define whether the system returns a partial answer, offers a retry or hands off to a person.
Illustrative operating budget:
conversation → bounded model turns → scoped tool calls
↓
database pool / model quota
↓
queue or controlled failure when capacity is exhausted
How to separate agents by task in a multi-agent system
The system I work on for a higher-education group covers admissions questions, enrollment, appointment scheduling, routing to the right human team and everyday student support. The case study keeps the client's architecture private, so the rules here are general.
- Split by task when the tools, the permissions or the tests are different. Keep one agent when they are the same.
- Give each agent the smallest tool surface that completes its task. In my MetaMCP case, many tools sit behind a smaller gateway, so agents get fewer and clearer entry points.
- Treat the handoff to a person as a route with its own tests. In that education system, a conversation that must end in a handoff is one of the scripted scenarios.
- Keep exact figures out of the model. Prices should come from a service, and the agent should refuse to invent one.
How to connect corporate data and tools to agents securely
A tool that runs on a laptop proves an idea. A tool that a cloud agent calls is a system boundary, and it needs what any production service needs.
My MetaMCP gateway case shows the parts. The tool surface is served over Streamable HTTP on Cloud Run, because a cloud agent cannot depend on local stdio. Access combines the Cloud Run caller identity with bearer auth at the application level. The repository carries setup notes for IAM and Secret Manager. Smoke tests check health, auth, initialize and the tools list. Tool calls leave a ledger that can be exported as evidence.
Then name the risks for your use and your type of deployment, and address the high-risk scenarios first. The common ones are prompt injection, data leakage, denial of service, an insecure supply chain and overreliance on generated content. Permissions resolved for the caller limit what an injected instruction can reach. Fetching only the data a task needs limits leakage. In the education system, boundaries for personal data are also enforced before any telemetry is exported. Deadlines and bounded iterations limit the cost of abusive traffic.
Decide early whether the model is a third-party service, with its privacy and cost questions, or self-hosted, which needs a team that can secure and operate it.
Test behavior and capacity separately
A behavioral evaluation checks whether the agent used the right data and tools. A load test checks whether the whole path holds its latency and error objectives at a specified workload. Run both, including bursts, slow queries, dependency failures and cross-tenant access attempts. Record the deployed configuration with the results.
For autoscaled services, tune concurrency against measured work per request and downstream limits. Cloud Run's concurrency documentation describes the per-instance setting; that setting alone does not establish end-to-end capacity.
Make the behavioral evaluation a gate in the pipeline, and let its depth follow the environment. In the education system, a smoke set runs on integration and the full regression runs before a change is promoted to QA.
What goes wrong in enterprise agent systems
- Demo testing. A team runs a few conversations, reads them and ships. Then a change breaks appointment logic three turns into a conversation that nobody read again.
- A gate nobody trusts. A gate is useful only when its verdict is stable. When the same change passes one day and fails the next, engineers learn to ignore it.
- Tests that share state. Early pass rates in the suite of the education system were wrong because scenarios shared user state through the agent's memory. Each scenario now runs as its own synthetic user.
- A refactor that changes a number. Pricing responses there are recorded and replayed, so a refactor cannot silently change a figure that a student sees.
A worked example: a quoting agent for a sales team
Cotizera is a quoting and deal-tracking system for small and medium businesses in Latin America. Its agent design shows the whole architecture in a small space.
A request arrives as a form, a WhatsApp text or an email. The agent reads it and normalizes the customer and product context. It calls pricing, catalog and CRM tools. It drafts the quote and prepares a PDF. It drafts the WhatsApp handoff, updates the pipeline and saves a trace for review.
Each step sits on a layer: intake, tools, rules, tests and evidence. Rules hold business constraints, approvals, margin guardrails and follow-up timing. Tests are prompt regressions for quote flows and edge cases. Evidence is logs, tool call records, generated artifacts and ledgers that a person can review.
The agent does not replace the seller, who keeps pricing judgment and the relationship with the customer. It touches real records and creates documents that a customer will read, so it needs permissions, tests and evidence. That is a better benchmark than a demo conversation.
Steps to take an agent system from demo to production
- Describe the process: how work arrives, who decides and what a correct outcome is.
- Define scale in numbers: active users, peak requests, tool calls per turn and latency objectives.
- Put the tools behind a service boundary with caller identity, authorization and managed secrets.
- Bound the interactive path with deadlines and iteration limits, and send long work to a queue.
- Write scenarios as code, next to the code they test, and run them as a gate in the pipeline.
- Run a load test against the deployed configuration and keep the results with it.
- Record every tool call and review the records after an incident.
The lesson I keep from the education system applies to every step. A probabilistic system becomes shippable when the things around it are deterministic. The model may sample. The gate may not.
What to ask the engineer
Ask for a permission design, failure policy, evaluation approach and capacity model. Then ask which parts they personally built and which results can be inspected. My public GCP case documents evaluation engineering for university agents on Google Cloud. The data-platform case documents a different part of the problem: integrating corporate data and its application layer.
The useful hiring signal is whether those boundaries and contributions are clear enough to investigate. The sources below let a person or an agent begin that review.
Where to go next
- AI agent development for companies
- Enterprise AI
- Case study: MetaMCP as a Cloud Run MCP gateway
- Case study: Cotizera Agents, the quoting agent from the worked example.