Skip to content
Cortex

Give Your Coding Agents Your Engineering Judgment

Save the decisions behind your system in Cortex. Your coding agents can retrieve them before they make a change.

A Module stores current knowledge about one part of a system and why.
coding-standardsExample Module

Use domain names, explicit errors and behavior tests when changing the platform.

Name dashboards, charts and projects consistently. Take every color from the theme. Distinguish access denial from an unavailable connection. Add a regression test for the behavior being fixed.

depends onarchitecturetesting
Example Acme knowledge.

Your Agents Need the Reasons Behind Your System

Your systems carry years of decisions about what matters and why. An agent that cannot see those reasons has to make assumptions. Save that knowledge in Cortex so your team’s agents can retrieve it before they change your system.

Preserve Decisions as You Work

Explain a constraint or correct a decision as you work. Your agent preserves the standard and its reason in Cortex, ready for the next task.

architectureExample Module

Keep project rules in one shared layer used by the web app, phones and background refreshes.

The shared layer enforces project boundaries before anything reads or writes data. Keep network and storage details outside those rules so the phone app and the server apply the same decisions.

depends onprojectsecurity
Example Acme knowledge.

Start Each Change with Your Team’s Standards

Ask your agents to retrieve the relevant standards before changing code. You still review and test the result. A Flash returns the Module and the knowledge it depends on.

This recorded CLI call retrieves a visit-report Module and its writing prerequisite. The example knowledge is fictional; the retrieval is real.

Bash
socra cortex flash example-fieldnote-visit-report
Cortex CLI · 2 Modules · 163 tokens

The writing prerequisite arrives first:

Fieldnote visit reports use sentence-case titles and plain language. Explain unfamiliar terms on first use, so a colleague who did not attend can understand the report.

Then the requested visit-report Module:

A visit report names the visit’s date and location, separates direct observations from interpretations and ends with the next action and its owner. Keep that distinction because a later reader needs to know what was observed and what still needs checking.

Read the complete returned bundle

Share Your Judgment Across the Team

Give your team access to the decisions and reasons it needs. Authorized people and agents can retrieve the same maintained knowledge.

Acme Module dependencies. Tab enters the graph once. Use arrow keys to move between nodes, Enter or Space to activate a node, and Tab to leave.company: Acme helps teams see how their work is going with dashboards and charts anyone can read.companyproduct: The platform is a web and phone app where each team builds dashboards and charts from its own data.productid: A person keeps one sign-in across the web app, phones and every team they join.idid-auth: A shared screen opens only the signed-in person’s dashboards.id-authaccount: An account belongs to one team and keeps its dashboards apart from every other team.accountproject: A project holds one team’s dashboards and the data behind their charts.projectsecurity: Check the signed-in person and their team before reading or changing any dashboard.securitytesting: Test team separation, phones and both themes before releasing the platform.testingarchitecture: Keep project rules in one shared layer used by the web app, phones and background refreshes.architecturecoding-standards: Use domain names, explicit errors and behavior tests when changing the platform.coding-standards
coding-standardsAcme

Use domain names, explicit errors and behavior tests when changing the platform.

Name dashboards, charts and projects consistently. Take every color from the theme. Distinguish access denial from an unavailable connection. Add a regression test for the behavior being fixed.

depends onarchitecturetesting
Example Acme knowledge and dependencies.

Connect Your Coding Agent

Connect an agent you already use, then retrieve knowledge when your work needs it.