A project of the AI Teaching Lab at Penn Carey Law — research, tools, and teaching on AI in legal education and practice. Visit the Lab →
Faculty Working Notes

Safe Use of Agentic AI Tools

Working guidance for faculty use of Claude Code, OpenAI Codex, Gemini CLI, Claude Cowork, and similar agentic tools at Penn Carey Law.

Last updated May 14, 2026

Practical recommendations from Polk Wagner for faculty use of agentic AI tools. These are working guidelines, not university policy — Penn ISC, Penn Law ITS, the Privacy Office, and the Office of General Counsel hold formal authority over data handling and tool approval.

Canonical Penn guidance: Penn ISC Statement on Generative AI (university-wide policy) and Penn Law ITS AI Tools & Guidance (school-level data-tier approvals).

IWhat’s different about agentic AI

Unlike chat tools, agentic AI reads files, runs commands, and acts on your behalf — often in sequences you don’t individually approve. You set the boundary up front (what folder, what permissions, what connectors), not in the moment. Faculty should think carefully about that setup before each session. For background on the distinction, see the companion Understanding Agentic AI document.

IIAccount setup

  1. Use paid, professional tiers only. Free consumer AI tools generally offer weaker data-handling protections than paid tiers — depending on the vendor, they may retain your inputs longer, use them to train future models, or expose fewer privacy controls. Also note that terms vary and change. For any serious work — including drafts, research, communications, and anything touching private material — use a paid subscription (Claude Pro, Max, Team, or Enterprise; ChatGPT EDU (chat-only — see below), Plus, Pro, Business, or Enterprise; or equivalent). To get started, Claude Pro or ChatGPT Plus is sufficient; as you use agents more, you may need the higher usage limits that a Claude Max program provides. Again: free tiers are not appropriate.

    Note that (at least in the Law School context) there are no Penn-managed agentic AI tools at present; for now, faculty can subscribe individually and be reimbursed from their research account. ChatGPT EDU — Penn’s institutional ChatGPT tier — does not fill this gap. OpenAI’s general EDU offering can include Codex and the OpenAI API, but Penn’s deployment has not enabled those features — EDU here is effectively chat-only for now and can’t run agentic coding tools. (Per Penn ISC’s ChatGPT EDU FAQ: “At this time API access is not available for university users.”) Faculty who want OpenAI’s agentic tools need a personal ChatGPT Plus, Pro, Business, or Enterprise subscription.

  2. Keep your professional AI account separate from any personal one, and use the professional account for Penn work.
  3. Enable two-factor authentication.
  4. Don’t share AI logins across faculty, staff, or research assistants — each person should have their own account.

A note on API keys

Most faculty will sign in to Claude tools using their normal account login. Some uses — particularly setting up Claude Code in certain configurations, connecting Claude to a third-party tool, or following a technical tutorial — will instead ask for an “API key.” An API key is a long string of letters and numbers (typically starting with sk-ant-...) that lets software use Claude on your behalf and bills it to your account. A few things to know:

IIIWorking directory hygiene

This is the most important practice.
Set up a clean working folder before you run any agentic tool, and keep anything you don’t want the agent to read out of it.
  1. Create a dedicated working folder for AI sessions (e.g., ~/ai-workspace/). Don’t run agentic tools from your home directory or Desktop.
  2. Use a separate folder for each project, and limit the agent’s access to that folder for most sessions. Most agentic tools support folder-scoped access — keeping each project in its own folder prevents work on one matter from spilling into another and makes the boundary explicit.
  3. Only put files in the working folder that you’re comfortable with the AI reading. Whatever you put in there, the agent can and likely will read. Make the call about what belongs in the folder before you start a session, not in the middle of one.
  4. De-identify sensitive data before handing it to an agent. Strip or hash identifiers from any material before you analyze it.
  5. Keep work under version control or backup (git, Dropbox, Time Machine) so an agent mistake is recoverable.

IVPermissions

In agentic tools, “permissions” are the rules that decide which actions the agent can take on its own and which require your explicit approval — running a shell command, modifying a file, sending a message, calling an external service. Most agentic tools prompt you per action by default, but most also let you relax those prompts to keep sessions moving. The settings are a real tradeoff: tight permissions mean more interruptions; loose permissions mean real risk if the agent makes a wrong call. The defaults are usually right; the practices below are about resisting the temptation to relax them.

  1. Leave per-action approval prompts enabled. Resist “approve all,” “auto-accept,” or “do not ask again” modes when the session touches anything sensitive — most agentic tools have a version of this under different names.
  2. Read proposed bash commands before approving — particularly rm, mv, network calls, and anything touching your home directory.
  3. Be especially cautious with deletion and overwriting.

VConnectors (MCP, Gmail, Drive, Calendar, etc.)

Connectors are how an agent reaches outside its working folder — into your email, calendar, drive, Slack, or any other service you’ve granted access to. Most modern agentic tools use the Model Context Protocol (MCP), an open standard for plugging connectors in and out. Each one hands the agent another set of keys: it expands not just what the agent can read, but what it can do on your behalf (send the email, accept the invite, file the document). The practices below are about keeping that set small and intentional.

  1. Note that for now, faculty cannot connect Claude, ChatGPT, Cowork, or any other external agentic AI tool to the Law School’s O365 instance — email, calendar, OneDrive, Teams, etc. Microsoft Copilot is built into O365 and will likely roll out some agentic tools in the future.
  2. Each connector expands what the agent can see and do. Enable only what you’re actively using.
  3. Audit connected services periodically and disconnect the ones you’ve stopped using.
  4. Only install third-party MCP servers from sources you’d trust to read your files.
  5. Email and calendar connectors of any kind deserve extra caution (see §VII).

VIIdentifiable student records and other confidential data

Penn’s data-classification framework applies to agentic AI tools — and Penn ISC and Penn Law ITS have reviewed specific AI tools for use with each data tier. For the current tool-to-tier mapping, see the Policies tab of the AI Resources portal. When in doubt about whether a particular agentic use is appropriate, ask the Registrar, the Office of Student Services, or the Privacy Office before the session, not after. The default for identifiable student data and other confidential material is: don’t send it to a third-party AI service that hasn’t been reviewed for that tier.

VIIPrompt injection

A risk most faculty haven’t encountered. Malicious instructions can be hidden in documents, emails, or web pages that an agent reads — the agent treats them as commands from you. Realistic examples:

Defense

Be skeptical when an agent’s behavior changes after it reads external content. Keep sensitive tool permissions (send, delete, network) gated behind explicit approval. Don’t auto-approve actions taken after the agent reads anything from outside.

VIIIHuman in the loop

  1. Read what the agent produces before sending, submitting, or filing it.
  2. Verify factual claims and citations independently.
  3. Faculty should always be the last step before any external communication or formal action.

IXIf something goes wrong

If sensitive data was sent inappropriately, or an agent took an unintended action affecting confidential material: stop the session, preserve the session log, and contact Penn Law ITS promptly.

XQuick reference

XIVendor documentation & guidelines

For agentic-tool training and platform-specific safe-use guidance, the vendors are the best source. Their documentation gets updated more often than this page.

Anthropic (Claude, Claude Code, Claude Cowork)

OpenAI (ChatGPT, Codex)

Google (Gemini, Gemini CLI)

Orientation
A brief orientation on agentic vs. chat AI — what changes, why it matters, when to reach for which, and the current tools available to faculty. Lives in the Agentic AI tab of the main portal.