Management Agents overview
Put an AI agent inside your school, pharmacy, hospital, HR or office system that staff can ask to look things up and get work done, safely.
A BotBaseX Management Agent lives inside your own management system. A signed-in staff member opens the chat and asks, in English or Kiswahili:
- "How many students have outstanding fees?" then "Which classes have the highest balances?"
- "Ni dawa zipi zimekaribia kuisha?" (which medicines are running low?)
- "Send all teachers a reminder about Friday's staff meeting."
The agent answers from your system's live data and can carry out the tasks your system allows, but only what the signed-in person is permitted to do.
#How it works
You describe your system's API
Add the base URL and authentication of your system's API, then list the operations the agent may use: for example
get_attendance,list_low_stock,send_announcement. Nothing else in your system is reachable, and BotBaseX never gets database access.You define your own roles
Create the roles your system uses (Administrator, Head teacher, Teacher, Pharmacist, Cashier…) and tick what each role may do. Anything not ticked is refused.
Your server says who is signed in
When a staff member opens a page, your backend asks BotBaseX for a short session (15 minutes by default) stating their user id and roles. The browser only receives that session token, never your secret key.
The agent works within those limits
The AI only sees the operations this person is allowed to use. Every request is checked again on the server, actions that change data need the person's confirmation, and everything is written to an audit log.
#What makes it safe
| Risk | How BotBaseX handles it |
|---|---|
| The AI trying something it shouldn't | It is only offered the current user's operations, and every call is re-checked on the server. Refused attempts are logged. |
| Someone faking a role in the browser | Roles are accepted only from your server, authenticated with your server key. Unknown roles are ignored. |
| Seeing other people's records | Inputs can be locked to the user (for example teacher_id always equals the signed-in teacher). |
| Accidental changes | Writes always show a summary and wait for the user's "yes" in a later message, then are re-authorised before running. |
| Made-up figures | Answers come only from your API's results. If a call fails, the agent says so. |
| Accountability | Every operation, refusal and confirmation is logged with the user, roles, time and result. |
#Example: a school system
| Role | Allowed operations |
|---|---|
| Administrator | everything listed below |
| Head teacher | attendance, fee balances, announcements to teachers |
| Teacher | attendance for their classes, their own class list |
| Accountant | fee balances (with confirmation), fee reports |
A teacher who asks "Show me the salary details of all teachers" gets a polite refusal, the attempt is recorded in the audit log, and your salary API is never called.
#Where to go next
Integration guide
Roles and permissions
Security model
Server API reference
Examples by industry
Audit log and troubleshooting