IT Access Agent
4
Starting Monday
3
Awaiting approval
11
Granted this week
Dana Ruiz, Sales Engineer
Starts Monday · Team: Solutions · Manager: Sam Cole
- Proposed groups
- sales-eng, demo-env, crm-read
- Proposed systems
- Salesforce (read), Gong, Demo workspace
- Not proposed
- finance-reports: held by 1 of 6 peers
- Tool waiting
- grantAccess, needs approval
Agent run
- 09:02 Read the new hire from Workday Agent
- 09:02 Compared access held by 6 Sales Engineers in Okta Agent
- 09:03 Proposed 3 groups and 3 systems, one reason each Agent
- 09:03 Paused: grantAccess needs approval Agent
What matters here
- An IT access agent proposes access from the new hire's role and from what peers in that role hold, with a reason for each item.
- Granting access is a tool marked for approval, so a person sees the exact groups and systems before anything changes.
- Proposing from peers catches the access a role really needs, and flags the outliers a peer holds that the new hire should not inherit.
- The agent reads freely and writes only through approved tools, so a wrong proposal costs a decline, not a cleanup.
- Every run, proposal, approval and grant is logged under the request that started it, which is the evidence an access review asks for.
Who this is for
You run IT or identity. You know which groups and systems each role needs, roughly, and you are tired of copying them by hand from a peer's account on a new hire's first morning.
How it works in practice
What happens from the moment a new hire lands in the HR system to the moment they can sign in.
- 1
A new hire appears
A scheduled function checks the HR system for people starting soon, or a Tray workflow calls the app when a hire is created.
- 2
The agent reads the role
Title, team, location and manager, from the HR system rather than from a ticket someone typed.
- 3
It compares peers
It looks at the groups and systems people in the same role hold, and keeps what most of them share.
- 4
It proposes, with reasons
Each group and system comes with one line on why. Access only one peer holds is listed as not proposed.
- 5
IT approves
grantAccess is marked for approval, so the run pauses and shows the exact input. IT approves, edits or declines.
- 6
It grants and tells the manager
After approval the agent grants the access, records each grant, and posts a summary to the manager.
What an IT access agent is made of
Four parts. The agent does the reading and reasoning, and the app holds the record.
A role map
The groups and systems each role should start with, kept in the app's database and editable by IT.
Read tools
Look up the new hire, and look up what peers in the same role hold. These run without approval.
One write tool, gated
grantAccess adds the person to groups and systems. It is marked for approval, so every grant waits for a person.
A record of every grant
What was proposed, what was approved, who approved it and when, kept apart from the run log.
The prompts
Paste these into Claude Code, Codex or Cursor in order. Each one leaves you with something that runs, so you can stop after any step.
These prompts start from a Helix project, which is what handles sign-in, credentials and hosting. Start with Helix.
The app and the role map
Where proposals and grants live.
Create a Helix app: an IT access agent for new hires.
Store new hires with name, role, team, location, manager and start date. Store a role map: for each role, the groups and systems it starts with, editable by IT. Store proposals and grants separately. A proposal is what the agent suggested, with a reason per item. A grant is what was approved and applied, by whom and when.
Show a list of new hires starting in the next two weeks, each with the status of its proposal: not started, awaiting approval, granted or declined.
The agent and its tools
Read freely, propose with reasons, write only after approval.
Add an agent to the app that prepares access for a new hire.
Give it these tools:
- getNewHire: read the person's role, team, location and manager.
- getPeerAccess: list the groups and systems held by people with the same
role and team, with how many of them hold each one.
- getRoleMap: read what IT says this role starts with.
- grantAccess: add the person to a list of groups and systems.
Mark grantAccess as needing approval, every time. The agent must never grant anything without a person approving the exact input.
The agent proposes the role map plus anything most peers share, with one line of reason for each item. Anything only one or two peers hold goes in a "not proposed" list with the count, so IT can see it and choose.
Start it on its own
No one has to remember to run it.
Every morning, run the agent for each new hire starting in the next five working days who has no proposal yet.
When a proposal is waiting, post to the IT channel in Slack with the person, their role and a link to the approval.
After grantAccess runs, record each grant, and send the manager a short summary of what the new hire can open on day one.
Connect it to real systems
Real people, real groups.
Now connect it to the systems we actually run.
Anything in angle brackets is a placeholder. Swap it for whatever we use.
<Workday>. Read new hires and their role, team, manager and start date.
<Okta>. Read the groups peers hold, and add the new hire to groups when grantAccess is approved.
<Google Workspace>. Add the new hire to groups and shared drives when grantAccess is approved.
<Slack>. Post proposals to the IT channel and summaries to the manager.
<Jira>. Open a task for any system the agent cannot grant itself.
Only write through grantAccess and the notifications. Everything else is read only.
Ship it
A URL, and the right people on it.
Deploy my app.
What it connects to
The agent reads from HR and identity, and writes only through the one tool that waits for approval.
-
Workday Read new hires: role, team, location, manager and start date. Reads -
Okta Read the groups peers hold, and add the new hire to the approved groups. Reads and writes -
Google Workspace Add the new hire to the approved groups and shared drives. Reads and writes -
Slack Tell IT a proposal is waiting and send the manager the summary. Writes
-
Jira Open a task for any system the agent cannot grant itself. Writes
Named systems are the ones most teams actually run, not a list of the only ones that work. Swap in whatever you use.
Running it for real
The build gets you a working agent. It touches who can open what, so how it runs matters as much as what it proposes.
- 1
Deploy the app and its agent together
One command, or Deploy from CI on every merge, takes the app to a live URL. The agent ships with its app, so you can roll back any deployment.
- 2
Approval on the tool that grants
grantAccess waits for a person every time. The approver sees the tool and the exact groups and systems, and SSO decides who can approve.
- 3
Credentials held by Tray
The Okta and Google Workspace credentials are held in Tray, not in the code, so they can be rotated without a redeploy.
- 4
A named owner and every step logged
The app and its agent have a named owner. Every run and tool call is logged under the request that started it, and Tray streams the logs to your SIEM.
- 5
Know what each run costs
AI usage shows per app, so the agent's cost sits next to the work it did.