System Integration
Agents get live data from company systems, and can take action in them
Data that changes often, such as order status, stock and customer records, does not belong in a knowledge base. With API and MCP tools, agents call systems like ERP and CRM during a conversation to look up data and create records. Databases can be queried in plain language. Webhooks send conversations back to your own systems.
- API toolsPaste cURL to fill in the setup
- MCP toolsConnect services with a standard protocol
- Read-only Text2SQLRuns queries only, never changes data
- Every call is loggedInput, output, duration and failure reason
Connect many systems without code
with your data and keys protected
Connect without code
For any system with an API, copy the cURL command from your browser and paste it in. The URL, method and headers fill in automatically. For services such as Google Workspace and Asana, click and authorize, and you are ready.
One question, many systems
Ask “Which VIP customers have not ordered in 90 days?” The agent checks the CRM and the order database, then cross-checks the results. One agent can connect to several databases and tools at once.
Databases are read-only
Every SQL statement the agent writes is parsed and checked first. Only queries go through. Anything that tries to delete or change data is blocked. Admins choose which tables can be queried.
Keys stay away from the model
API keys go in the headers, where the model cannot see them. For OAuth services, MaiAgent handles authorization and token refresh, and you can revoke access at any time. Each connection opens only the tools you select.
Four ways to connect company systems
API tools bring existing systems into the agent
Set the API URL, HTTP method and parameters. During a conversation, the agent decides when to call it, fills in the parameters, and replies in plain language with the result. Works for internal APIs and third-party services.
- Copy cURL from your browser and paste it in to fill in the URL, headers and method
- Put parameters in the path, query string or body
- Keys go in the headers and are never given to the model
MCP tools connect services with a standard protocol
Connect a remote MCP server by URL. For services that use OAuth, MaiAgent completes authorization and adds the token to each call. Fixed keys can go in the headers and be shared across the organization.
- Supports SSE and Streamable HTTP
- Can’t find a service? Add a custom connector for your organization
- Select the tools the agent may use. Everything else stays closed
Databases you can query in plain language
A user asks “How many units did we sell last month?” The agent turns the question into SQL, gets the answer from the database and replies in plain words. Business users don’t need to write SQL.
- Supports PostgreSQL, MySQL, SQL Server, Oracle and SynxDB
- Runs read-only queries, and you choose which tables the agent can query
- Add descriptions to tables and columns to improve query accuracy
Webhooks send conversations back to your systems
Set up a webhook on a channel. Each time a message is created, MaiAgent sends it to a URL you provide. Use it for customer service integration, real-time alerts, conversation archiving and internal workflow automation.
- Outgoing sends replies, Incoming sends visitor messages
- Each channel can have several webhooks
- Every push logs the payload, response and status code
Connected to company systems, agents do more than answer questions
Agents get the latest orders, stock and customer records. They can also create records in your systems and send conversations back to them. One agent can use all four methods at once.
MaiAgent Build core features
Connect ERP, CRM and databases to look up data and carry out tasks
Learn moreCompany documents as the source for Agent answers
Learn moreBuild enterprise AI agents that carry out tasks
Learn moreOne endpoint for many model providers
Learn moreRole levels, per-entry audit logs and usage management
Learn moreFAQ
Should we use a knowledge base, a database or a tool?
If the answer is in documents (policies, manuals, FAQs), use a knowledge base. If it is in reports and tables (order counts, stock, revenue), use a database. If you need live data or want to take action in a system (check shipping, create a customer record, send an email), use a tool. One agent can use all three.
Can Text2SQL change data in our database?
No. The agent runs read-only queries only. For external databases, you can choose which tables the agent can query. What it can actually read depends on the database account you provide. We recommend a read-only account, and a view with only the needed columns for sensitive data.
Where should API keys go?
In the headers or query parameters. The parameter schema is given to the model as part of the tool definition, so do not put keys there. Sensitive headers such as Authorization are always masked in the tool execution log.
Can we connect an MCP server that runs locally?
MaiAgent connects to remote MCP servers by URL, over SSE or Streamable HTTP. Servers started with local commands such as npx or node are not supported. Your own systems can offer a remote service by following the self-hosted MCP server spec.
Can we deploy it in our own environment?
Yes. It can be deployed as SaaS, in the cloud, on premises or in a hybrid cloud. Contact us to find the right option.