UiPath Documentation
coding-agents
2026.10
false
UiPath for Coding Agents user guide

Give your agent project context

Give your coding agent project rules and conventions with context files such as AGENTS.md.

A context file holds the project rules your coding agent reads at the start of each session.

AGENTS.md, the common convention​

AGENTS.md sits at the project root. Some agents use their own file or folder.

AgentProject context file
UiPath AutopilotAGENTS.md
Claude CodeCLAUDE.md
CodexAGENTS.md
GitHub Copilot.github/copilot-instructions.md; AGENTS.md in some surfaces, such as VS Code and Copilot CLI
Grok Build (formerly Cursor)AGENTS.md, .cursor/rules/*.mdc
AntigravityAGENTS.md or GEMINI.md, and rule files in .agents/rules/
Devin Desktop (formerly Windsurf)AGENTS.md, .devin/rules/, .windsurf/rules, .windsurfrules, global_rules.md
KiroAGENTS.md, steering files in .kiro/steering/
OpenCodeAGENTS.md, or CLAUDE.md when there is no AGENTS.md

For Devin, check its documentation.

Scope​

  • Global: personal preferences, such as your default organization and tenant.
  • Project: one project's conventions and team rules, stored in the repository.

Project instructions​

Keep the file short and current. Include:

  • The UiPath skills for the project
  • A quality rule, such as resolving every Workflow Analyzer problem
  • Package and activity preferences
  • Naming and structure conventions
  • Constraints, such as not overwriting recorded UI workflows
# Project conventions

- Use the `uipath-rpa` skill for automation work in this project.
- Always run the Workflow Analyzer (Analyze Project) and resolve every problem before calling work done.
- Prefer native activities over Invoke Code; keep UI activities inside a Use Application/Browser scope.
- Pin package versions in project.json; do not upgrade packages without asking.
# Project conventions

- Use the `uipath-rpa` skill for automation work in this project.
- Always run the Workflow Analyzer (Analyze Project) and resolve every problem before calling work done.
- Prefer native activities over Invoke Code; keep UI activities inside a Use Application/Browser scope.
- Pin package versions in project.json; do not upgrade packages without asking.

See also RPA workflows.

Context files written by the UiPath skills​

When project context is missing or out of date, the RPA skill writes the project's structure, dependencies, and conventions to:

  • .claude/rules/project-context.md
  • The root AGENTS.md, between <!-- PROJECT-CONTEXT:START --> and <!-- PROJECT-CONTEXT:END --> markers. Other content is unchanged. Without markers, the block is appended.

Projects created in Studio 2026.10 or later start with an AGENTS.md and a CLAUDE.md, unless a policy turns this off. Other empty projects get the files after the first build.

To refresh, ask the agent to regenerate the project context.

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated