awe docs

For developers

Projects

A project points awe’s console at a folder on your computer. Chats in that project work inside that folder, follow that folder’s instructions, and keep their memories apart from other projects. Everything else stays shared: your connected apps and accounts, your skills, your schedule. This page is for people who use the console chat for work in more than one folder, and for developers who call the console’s API.

Adding a project writes nothing into the folder. It is a bookmark.

What a project changes

Per project Shared by all projects
Its conversations Connected apps, MCP servers and their sign-ins
The folder that file and shell tools start in Texting, channels, check-ins
Instructions added to every turn The skill and tool catalogue
Memories learned in it (see Memory) Memories that belong to no project
Which skills it offers, if you choose a subset

There is always a built-in Default project at the awe folder. Chats that belong to no project appear under Default. Default cannot be archived.

Use projects in the console

  • Sidebar → Projects → New / manage opens the projects page (#/projects). Active projects are listed under it and open a chat in that project.
  • The project chip in the chat header sets the project for new chats. The choice is remembered when you reload.
  • A conversation’s project is fixed by its first message. To start a chat in another project, switch the chip first, or open #/chat?project=<id>.

Create a project

  1. On the projects page, select + New project.
  2. Name: anything.
  3. Directory: the full path to a folder that already exists. Type or paste it. The console checks it and shows whether it is valid.
  4. Instructions (optional): guidance added to every turn in this project. If the folder already holds .awe/project.md, CLAUDE.md or AGENTS.md, the form fills in from that file.
  5. Color: a chip color so tabs from different projects are easy to tell apart.
  6. Select Create project.

To remove a project from the list, archive it. Its folder and files are not touched.

Files

Inside a project, file work starts in the project’s folder:

  • With the Claude CLI as your model, the CLI is started in the project’s folder, so its own tools work there.
  • With an API model, the console’s file and shell tools resolve relative paths from the project’s folder. This applies in whole-computer file mode (AWE_FS_TOOLS_UNSANDBOXED=1, which a release sets). In confined mode, files stay in awe’s own per-conversation folders.

In a project at ~/work/client-a, reading src/index.ts reads ~/work/client-a/src/index.ts. Full paths can still reach other folders. The protected paths (.env files, keys, databases, .ssh) are refused wherever they are.

Instructions

A project’s instructions come from one of two places:

  1. A file in the folder. If the folder has .awe/project.md, CLAUDE.md or AGENTS.md (checked in that order), that file is used. awe reads it fresh, so editing the file takes effect on the next turn.
  2. The console. If there is no such file, the text you typed in the project form is used.

A file in the folder always wins over the text in the console. The project editor says which one is active.

Save to project in the editor writes the console’s text into the folder: into the existing instructions file if there is one, otherwise into a new .awe/project.md. It is the only action that writes into a project folder, and only when you select it.

The Default project adds no instructions.

Memory

Facts awe learns inside a project are tagged with that project. When you chat in a project, awe recalls that project’s facts and facts with no project, and leaves out facts from other projects. Facts with no project include everything learned in Default chats and your personal preferences.

To search memory the way a project sees it:

./awe-core mem search "deploy checklist" --project proj_abc12345

Two settings in .env change this:

Setting Default What it does
AWE_MEMORY_PROJECT_HARD_FILTER on 0 stops hiding other projects’ facts. They are ranked lower instead
AWE_MEMORY_PROJECT_BOOST 2.0 How much the active project’s facts are favored when the hard filter is off

Console routes

The console serves these on port 8765. Requests that change something must come from this computer.

Method and path Body and result
GET /api/projects {"projects": [...]}. Add ?archived=1 to include archived ones
GET /api/projects/detect?root_path=<path> Checks a folder: {"valid", "isDir", "resolved"} plus any instructions file it found
POST /api/projects {"name", "root_path", "instructions"?, "color"?}. Returns {"project"}. 400 if the folder does not exist or the name is missing
PUT /api/projects/:id Any of name, root_path, instructions, color. 404 if there is no such project
DELETE /api/projects/:id Archives the project. 400 for Default
GET /api/projects/:id/conversations That project’s conversations
GET /api/projects/:id/skills, PUT /api/projects/:id/skills Read or set the subset of skills the project offers. Body for PUT: {"skills": [...]}
POST /api/projects/:id/save-instructions Writes the instructions into the folder. Returns {"written": "<file>"}

A project id looks like proj_ plus eight characters. The built-in one is proj_default.

To run a chat turn in a project, include project_id in the body of POST /chat, or in the WebSocket message. Once a conversation has a project, that project is used for the rest of it.

curl -s -X POST http://127.0.0.1:8765/chat \
  -H 'Content-Type: application/json' \
  -d '{"conversationId": "demo", "project_id": "proj_abc12345",
       "message": "Summarise the README in this folder"}'

Settings

Both are optional. Projects work without them.

Setting in .env Default What it does
AWE_PROJECT_SPAWN_SETTLE_MS 1200 With the Claude CLI as your model: the pause between starting two CLI sessions for different projects at the same moment. It prevents a file landing in the wrong folder. 0 removes the pause
AWE_PROJ_CWD_DIAG 0 1 logs the folder chosen for each CLI session. Use it only to debug files landing in the wrong place

Limits

  • Connected accounts are shared. A project cannot have its own Gmail or Slack sign-in.
  • With the Claude CLI as your model, the first turn in a project other than Default is slower, because a new CLI session is started for it.
  • Texting, scheduled check-ins and channels do not belong to a project.

Troubleshooting

  • “Directory does not exist” when creating a project: the path must be a full path to a folder that already exists on this computer.
  • A new chat is not in the project: the project is set when the conversation starts. Switch the chip before the first message.
  • Instructions seem ignored: if the folder has CLAUDE.md, AGENTS.md or .awe/project.md, that file wins over the console text. Edit the file, or use Save to project.
  • Files land in the wrong folder: set AWE_PROJ_CWD_DIAG=1, restart awe, and look for [proj-cwd DIAG] lines in MCP-servers/awe-console/logs/gateway-stderr.log. If it happens only when two projects are busy at once, raise AWE_PROJECT_SPAWN_SETTLE_MS.