Agent Steering

What is Steering?

Steering provides Kiro with continuous knowledge of your workspace through Markdown files. Instead of having to explain your conventions in every conversation, steering files ensure Kiro strictly adheres to your established patterns, libraries, and project standards.

Key Benefits

  • Consistent Code Generation: Every component, API endpoint, or test follows your team’s established patterns and conventions.
  • Reduced Repetition: No need to explain workspace standards in every chat. Kiro automatically remembers your preferences.
  • Team Alignment: All developers—whether new hires or senior members—work according to the same standards.
  • Scalable Project Documentation: Documentation evolves alongside the codebase, capturing technical decisions and patterns as the project grows.

Steering File Scopes

Steering files can be created with either a workspace or global scope.

Workspace Steering

Workspace steering files are located in the root directory under .kiro/steering/ and apply only to that specific project. They are used to inform Kiro about patterns, libraries, and standards unique to an individual workspace.

Global Steering

Global steering files are located in the home directory under ~/.kiro/steering/ and apply to all your workspaces. These files inform Kiro of general conventions applicable across your entire development environment.

When a conflict occurs between global and workspace steering, Kiro prioritizes workspace steering. This allows you to set broad global directives while maintaining the flexibility to override them for specific projects.

Team Steering

The global steering feature can be used to define centralized steering files for an entire team. These files can be deployed to users’ PCs via MDM solutions, Group Policies, or downloaded from a central repository into ~/.kiro/steering.

Foundation Steering Files

Kiro provides Foundation Steering Files to establish the core project context:

  1. Navigate to the Steering section in the Kiro panel.
  2. Click Generate Steering Docs.

Kiro will generate three essential files:

  • Product Overview (product.md): Defines the product’s purpose, target users, key features, and business objectives. This helps Kiro understand the “why” behind technical decisions.
  • Technology Stack (tech.md): Documents frameworks, libraries, dev tools, and technical constraints. Kiro will prioritize your established stack.
  • Project Structure (structure.md): Outlines file organization, naming conventions, import patterns, and architectural decisions. This ensures generated code fits seamlessly into your current codebase.

By default, these foundation steering files are included in every interaction.

steering

  • Once Kiro has generated the steering docs, you can manually edit them to better suit your project or create custom steering files.
  • (Optional) You can also use the Refine button to let Kiro automatically optimize and polish the files for better performance.

steering

Your Steering files are now ready for immediate use.