Skip to main content
Open Settings › Context in the project sidebar to manage the information DevTune uses about your company. This is the same company context that agents, prompt generation and suggestions read, and that API and MCP clients read and update as the Knowledge Profile. Project members can read context and proposals. You need the project Member role to edit context or review proposals.

Company context and agent preferences

  • Company context describes your business, audience, and offerings. Agents, prompt generation, relevance checks, and recommendations use this same saved description.
  • Tone guides the voice and style of agent writing.
  • Instructions for agents sets project-specific preferences for recommendations, writing, and sources.
If your project still has a suggestion that combines its earlier Brand context, Positioning and Products / services descriptions into Company context, review it and resolve any conflicting claims before saving. The earlier descriptions stay in the suggestion’s provenance.
Changes apply to future tasks. They do not rewrite existing outputs. Instructions guide model responses; they are not enforced controls. Project managers can select Edit on a field and save a direct change. Direct manager edits apply immediately; they do not enter the proposal queue.

Review proposed changes

Crawl differences and agent runs can propose a change to your context. They cannot update it silently. To ask for a fresh proposal, run Company Context Refresher. Each proposal is the complete new text of one field and identifies its source, date, and available provenance such as a page URL or agent workflow. Pending proposals show what they add and remove from the current text. A field has at most one Pending proposal: a newer one replaces the older, which moves to Reviewed proposals as Superseded. A project manager can:
  • Approve a Pending proposal to replace the field with its text. If the field has changed since the proposal was drafted, it can’t be approved; dismiss it. The same applies to a Company Context Refresher suggestion once the project’s owned domains differ from the ones its run read. A suggestion drafted against text that had already changed is not added.
  • Edit suggestion, on a company context proposal, opens the company context editor with the proposed text, so you can change it before you save it.
  • Dismiss it without changing your context.
  • Restore a Dismissed proposal to Pending review, unless it was superseded or another proposal for the field is Pending.
Approved and Dismissed proposals remain under Reviewed proposals. An Approved proposal cannot be restored; restoration is the reverse action for a Dismissed proposal.

Memory

Memory items in the Library are notes you asked Dex to keep. Dex offers a memory in conversation, and it is saved only when a project member confirms it. Each memory:
  • records the conversation, run and saving member as provenance
  • expires 90 days after it is saved
  • starts with Available to agents turned on
Agent runs do not write memory. A run that finds the saved company context or agent preferences out of date proposes a change for review instead, as a Pending proposal.

API and MCP access

  • GET /projects/{projectId}/knowledge returns companyContext, agent preferences in profile, and paginated Pending, Approved, and Dismissed proposals. Each proposal has stale, true when its field changed after it was drafted or, for a Company Context Refresher suggestion, when the project’s owned domains differ from the ones its run read, and supersededBy, the proposal that replaced it. It requires library.read.
  • PATCH /projects/{projectId}/knowledge applies a deliberate edit. Send targetField (company_context, tone, or saved_instructions) and value, up to 12,000 characters. It requires library.write.
  • POST /projects/{projectId}/knowledge/proposals/{proposalId} accepts approve, dismiss, or restore. Approving a stale proposal returns 409 with reason stale_proposal. It requires library.write.
  • devtune_get_knowledge_profile, devtune_update_knowledge_profile, and devtune_review_knowledge_proposal expose the same operations through MCP.
Use the direct update operation only for an edit a person asked for. Agent learnings go through proposals. See the REST API endpoint list and MCP server guide.

Next steps