Skip to content

docs: update projects for default agent instructions - #745

Open
tembo[bot] wants to merge 1 commit into
mainfrom
tembo/docs-project-agent-instructions
Open

docs: update projects for default agent instructions#745
tembo[bot] wants to merge 1 commit into
mainfrom
tembo/docs-project-agent-instructions

Conversation

@tembo

@tembo tembo Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

What changed

Documents the new Default agent instructions field on Projects: adds it to the "What projects include" list, adds a step to the project creation flow, and adds a short "Default agent instructions" section explaining that the instructions are included in every session started from the project.

Why

feat(projects): add default agent instructions (#11177) shipped a new textarea in the project setup UI ("Session defaults" section) that lets teams set instructions injected into every session prompt for that project. The docs page for Projects enumerated everything else a project can configure (repos, skills, dependencies, setup script, session sizes, refresh schedule) but did not mention this new field, so the page was incomplete.

Evidence

  • Monorepo PR #11177 (feat(projects): add default agent instructions)
  • apps/web/components/projects/project-agent-instructions.tsx — new UI field, label "Default agent instructions", description "Instructions included in every session started from this project."
  • apps/web/components/projects/project-setup.tsx — field rendered in the "Session defaults" card
  • apps/api/src/resources/project.tsagentInstructions added to ProjectSchema/CreateProjectSchema (public API)
  • apps/api/src/agent/worker/session.tsprojectInstructions appended to the session prompt as <system_instructions_from_the_user>
  • apps/api/tests/resources/project.test.ts, apps/api/tests/agents/projectInstructions.test.ts — merged, passing tests covering the behavior

Confidence

High confidence: the feature is implemented, tested, and merged into main, with a clear, single-purpose UI field and matching API schema. The doc addition mirrors the existing page's structure and only documents this one verified change.

cc @benja


Want tembo to make any changes? Add a comment with @tembo and i'll get back to work!

View on Tembo  Review in Tembo  View Agent Settings  View on agent


Note

Low Risk
Documentation-only change with no runtime or API impact.

Overview
Updates the Projects docs to cover Default agent instructions, matching the project UI field under Session defaults.

The What projects include list and Create a project steps now mention optional default instructions for every session started from that project. A new Default agent instructions section explains that Tembo injects this text into each session prompt alongside workspace skills, and walks through editing them in Settings > Projects.

Reviewed by Cursor Bugbot for commit 2647690. Bugbot is set up for automated code reviews on this repo. Configure here.

@tembo tembo Bot added tembo Pull request created by Tembo labels Sep 10, 2026
@mintlify

mintlify Bot commented Sep 10, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
tembo 🟢 Ready View Preview Sep 10, 2026, 1:09 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@tembo

tembo Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

Requesting review from @DarrenBaldwin07 who has experience with the following files modified in this PR:

  • features/projects.mdx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tembo Pull request created by Tembo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants