awe docs

Start here

Troubleshooting

What to do when awe does not answer, does not start, or does something you did not expect. Start with the checkup. It finds most problems and tells you the fix in plain words. The rest of this page covers the tools behind it, where the logs are, and the problems people hit most.

Commands are written for Mac and Linux, run from the install folder. On Windows use awe-core.exe in place of ./awe-core.

Start here: run a checkup

The easy way: open the simple chat at http://127.0.0.1:8765/simple, tap +, and choose Run a checkup.

From a terminal:

./awe-core checkup --quick     # looks at everything, sends nothing
./awe-core checkup             # also tries each feature for real

The full checkup saves and finds a memory, sets and removes a reminder, asks the AI a question, and sends one test text to your own phone. --quick skips all of that and only looks.

It prints one line per check: ✓ passed, ✗ failed, or a dash for skipped. Each ✗ comes with what to do about it and the log lines from around that moment. The report is saved under .awe/checkup/. The command exits with 2 when something failed, so a script can test it.

Section What it checks
Setup Whether awe is the latest version, and how updates are set
Running The three background processes
Permissions Whether awe may use the apps on this computer
Texting The link between this computer and your phone
Memory Saving a fact and finding it again
Reminders Making one, and the safety net behind it
Notes Writing a note (Mac)
Google Whether Google is connected
Browser Whether the browser extension is connected
AI Whether the model answers, and how fast
Cloud move A dry run of moving to the cloud

More tools

Each of these only reads. None of them changes anything.

Command The question it answers
./awe-core runtime-status Are the daemon, the worker, the memory database and the tool servers up?
./awe-core service status Is the console running, and on which port?
./awe-core auth status Is this computer connected to an awe account?
./awe-core builds Which version is on disk, and which version is each process actually running? Run this when a fix “did not work”.
./awe-core connections Is each sign-in (Google and the rest) alive, idle, or expired, and why?
./awe-core capture On which sites is the browser extension working?
./awe-core flows Do awe’s own records agree with each other?
./awe-core hosts Which coding tools (Claude Code, Cursor and others) are really working with awe’s memory?
./awe-core findings What have awe’s background checks noticed?
./awe-core status The state of every tool server. Add a name for one server.
./awe-core health-check Does each connected tool server answer?

Most accept --json. runtime-status, flows, connections and capture exit with 2 when they report a problem. For runtime-status, 1 means the command itself failed, so treat 2 as a report and 1 as an error.

The console has the same information on its System status page, including a doctor: Run Doctor (quick) and Run Full Doctor. On Mac and Linux the doctor is also a script:

bash scripts/awe-doctor.sh --quick    # a few seconds
bash scripts/awe-doctor.sh            # everything, including live tests of memory and channels

It walks twelve areas (environment, binaries, daemon, databases, console, tool servers, workspace, the hook, the memory pipeline, channels, the update service, coding-tool hooks) and writes a report to .awe/doctor/. Read the report before you share it: it describes your computer and your install.

Logs

File What is in it
.awe/system.log The main log: the engine, the daemon, the worker, and the console when awe was started as a service. Trimmed when it reaches AWE_LOG_MAX_MB (default 5).
.awe/gateway.log The console, when awe was started with ./start-awe.sh.
MCP-servers/awe-console/logs/gateway-stderr.log and gateway-stdout.log The console, when macOS started it at sign-in.
.awe/update.log Every step of the last updates.
.awe/install.log The transcript of the last install.
.awe/extractor.log One line for each time awe turned a conversation into memories.
.awe/checkup/, .awe/doctor/ Saved checkup and doctor reports.

On Linux with systemd, the console’s output also goes to the journal: journalctl --user -u 'awe-console-*'.

tail -50 .awe/system.log

The console writes to one of three places, depending on how it was started (see the table). In whichever one applies, lines that start with [tunnel] are about the link to your phone, and lines that start with [security] are requests the console refused:

grep '\[tunnel\]' .awe/gateway.log | tail -20

A command that fails sometimes prints nothing in the terminal, because the engine writes its errors to .awe/system.log. Look there.

Restarting

./stop-awe.sh
./start-awe.sh

The console has the same thing: Settings → Environment → Restart gateway, worker & daemon. Wait about 30 seconds, then reload the page.

stop-awe.sh refuses while awe is in the middle of an answer or a text is going out, so nothing is lost. Wait and try again, or force it with AWE_FORCE_STOP=1 ./stop-awe.sh.

When the checkup finds a background process down, its advice is to quit awe and open it again. That is the awe app on a Mac. Without the app, use the two scripts above.

awe isn’t answering my texts

Texts reach your computer through an outgoing link that the console keeps open. Work down this list.

  1. Is the computer on and awake? awe cannot do anything on a computer that is off or asleep. In the simple chat, + → Keep this computer awake while plugged in helps. A cloud awe does not have this limit, see cloud-and-mac.md.
  2. Is awe running? ./awe-core service status. If not, start it.
  3. Is this computer connected to your account? ./awe-core auth status exits with 0 when it is. If not, open your install link on this computer and tap Connect this computer. No link? Text awe “email me the install link”.
  4. Does the link work? Run the checkup and read the Texting line:
The checkup says What it means Fix
This computer is connected to the texting relay. The link is up. The problem is elsewhere: look at the AI line.
Texting is switched off on this computer. AWE_TUNNEL_ENABLED is set to off in .env. Remove that line and restart.
The relay refused this computer (it may need connecting again). The account on this computer is no longer accepted. Open your install link and connect again.
This computer can’t reach the texting relay right now. No internet, or something blocks outgoing HTTPS. Check the connection, then run the checkup again.
awe just started and is still connecting to the texting relay. Nothing is wrong yet. Run the checkup again in a minute.
  1. Can the AI answer? If the AI line fails, awe received your text and had nothing to answer with. Open Settings → LLM/Model and check the provider, see setup.md.

If the console chat says “This awe install needs a connected account”, it is step 3.

More about texting, including daily limits, is in texting.md.

The console won’t open

  • Check that it is running: ./awe-core service status. Start it with ./start-awe.sh.
  • Check the port. It is 8765 unless .env has a different WEB_PORT. The installer picks another port when 8765 is taken.
  • Use 127.0.0.1 or localhost. The console answers “Forbidden: invalid Host header” to any other name, and it cannot be reached from another computer. That is on purpose.
  • Read why it did not start. ./start-awe.sh prints the last lines of the console’s log when the console fails to come up. The most common reason is the port.
  • A button answers “admin authentication required”. Reload the page. If it says “admin token not provisioned”, start awe once so the daemon can create the install’s secret. See console.md.

Port conflicts

./start-awe.sh never stops a program that is not awe. If something else holds the console’s port, it says “Port 8765 is held by a process that is not awe” and leaves it alone. See what holds the port:

lsof -nP -iTCP:8765 -sTCP:LISTEN

Then either stop that program or give awe another port: set WEB_PORT in .env to a free one (not 8766, 8767 or 8768) and start awe again.

Port 8766 is the core HTTP API and cannot be moved. If another program, or a second awe install, already has it, the daemon logs “HTTP API error” and carries on without that API. Memory, texting and the console keep working.

The computer’s apps: Mac permissions

For awe to use the apps on your Mac, the awe app must be running and macOS must allow it. The checkup’s Permissions line tells you which one is missing.

The checkup says Fix
awe.app isn’t answering, so awe can’t use this Mac’s apps. Open awe from Applications.
awe may not control this Mac yet System Settings → Privacy & Security → Accessibility → switch on awe
awe may not see the screen yet System Settings → Privacy & Security → Screen Recording → switch on awe
awe may not use Notes yet System Settings → Privacy & Security → Automation → awe → switch on Notes

Run the checkup again after each change. To turn the feature off altogether, set AWE_DESKTOP_HANDS=0 in .env. See errands.md.

The browser extension

“The awe browser extension isn’t connected” means the console cannot see it. Chrome has to be open, with the awe extension installed and switched on. ./awe-core capture and the console’s Connect → Browser tab show, site by site, whether it is working. See awe-extension.md.

Google, and other sign-ins

./awe-core connections lists every sign-in with its state. expired-reconnect means you have to sign in again: text awe “connect my Google”, or use + → Connect Google in the simple chat. expired-refreshing fixes itself.

If a Google tool answers “Server ‘google-calendar’ is disabled” after you reconnect, switch the server back on:

./awe-core list
./awe-core enable google-calendar

See connections.md.

Memory is not saving, or not found

awe writes memories a little after a conversation, in the background, using your AI model. Check in this order.

./awe-core runtime-status          # is the daemon up, is the memory database readable?
./awe-core mem extract-status      # did recent conversations become memories? shows recent failures
./awe-core mem search "the thing you expected it to know"
  • The daemon is down. Restart awe.
  • extract-status shows failures. They are almost always the AI model: no provider set, a key that expired, or a local model that is not running. Fix it under Settings → LLM/Model. .awe/extractor.log has one line per attempt.
  • The fact is there but awe does not use it. Open Memory in the console and search. You can edit a fact or pin it so it is always kept. Memory → Receipts shows what reached the AI on each turn.
  • Search only matches exact words. ORT_DYLIB_PATH in .env must point at the ONNX Runtime library that ships in onnxruntime/. Without it, memory search falls back to keywords. Running the installer again sets it.

How memory works is in awe-memory.md and memory-extraction-pipeline.md.

A tool server won’t start

./awe-core status gmail --detailed    # what state is it in, and why
./awe-core tools gmail                # the tools awe has on record for it
./awe-core reconnect gmail            # start it again and re-read what it offers

Replace gmail with the server’s name from ./awe-core list.

If the log shows ERR_MODULE_NOT_FOUND, the server’s installed packages are damaged. Repair them with a plain install in that server’s folder, using the Node that ships with awe:

cd MCP-servers/awe-channels
PATH="$PWD/../../.node:$PATH" npm install

Never name a package (npm install some-package) inside MCP-servers/. Some of awe’s packages ship inside the bundle and are not on the public registry. Naming one makes npm look there, fail with a 404, and it can remove the working copy while failing. A 404 for an @awe/ package does not mean anything is lost.

Adding and removing servers is covered in mcp-server-installation.md. If an app that connects to awe as a tool server (Claude Desktop and others) sees nothing, check ./awe-core mcp clients and read mcp-host.md.

Updates

  • “An update is already running.” Let it finish. A full update downloads about 350 MB and can take a while on a slow connection. Watch it with tail -f .awe/update.log. Do not delete the .update-lock file: that only lets a second update run on top of the first.
  • The update did not finish. awe stays on the version it had. The simple chat says why and offers Try again. The details are in .awe/update.log.
  • Something is worse after an update. ./awe-core update --list-backups, then roll back. See setup.md.
  • “Install skipped: AWE_AUTO_UPDATE=off.” Remove that line from .env and run ./awe-core update again.

Windows notes

  • Commands are awe-core.exe and do.cmd. Start and stop with awe-core.exe service start and awe-core.exe service stop.
  • The engine is not signed yet. If SmartScreen blocks it, choose More info, then Run anyway.
  • The doctor script does not run on Windows. Use the checkup and awe-core.exe service status.
  • If awe does not start at sign-in and the log says “no bundled Node”, add a user environment variable AWE_PROJECT_PATH set to the install folder.
  • For awe to use the apps on the PC, AWE_DESKTOP_HANDS=1 must be in .env (the installer sets it) and awe-ax.exe must be beside awe-core.exe. If the checkup says “awe is running outside your desktop”, awe was started from a session with no screen, such as a remote shell. Sign in on the PC and restart awe there.
  • iMessage as a channel and the Mac app controls are Mac only.

Linux notes

  • Start at sign-in needs systemd. Without it, run ./start-awe.sh yourself.
  • On a server, install with --headless. That lets the service keep running when nobody is signed in.
  • Using the apps on the computer needs a GNOME or KDE Plasma desktop on Wayland, and AWE_DESKTOP_HANDS=1 in .env (the Linux installer sets it). On another desktop the checkup shows a ✗ on the desktop line and says so. On KDE Plasma the checkup also says whether KDE’s approval is stored. See errands.md.
  • ./start-awe.sh uses lsof, when it is installed, to see what holds a port.

For developers

One call for the console’s view of itself. From the same computer only:

curl -sS http://127.0.0.1:8765/api/system/diagnostics

It returns the console’s process id, uptime, Node version, install folder, port, the engine it found, the path of the log, and ready-made commands for the port and the log. Under gateway_debug it keeps the last time an answer had no browser tab to go to (last_stream_no_clients) and the last chat failure (last_chat_failure).

A console chat turn that shows nothing. Each turn logs [Gateway DIAG] chat() ENTRY with its turn and conversation ids. If the answer was produced but no open tab was listening for that conversation, the log has [Gateway DIAG] streamToConversation: no WS client matched. To see what the page receives, run this in the browser’s developer console and reload:

localStorage.setItem('AWE_DEBUG_WS', '1')

The page then prints an [AWE_DEBUG_WS] line for each message. Remove the item to turn it off. Console chats are stored in gateway.db and loaded back after a restart, so a restart does not lose a conversation.

Machine-readable status. ./awe-core runtime-status --json prints overall (healthy, degraded or down) and a components object for the daemon, the worker, the memory database, the tool servers and conversation continuity.

Stop the console from restarting the daemon. The console checks the daemon and the worker when it starts and every minute after, and starts them if they are missing. AWE_GATEWAY_AUTO_ENSURE=0 in .env turns that off, and AWE_HOOK_SKIP_ENSURE=1 does the same for the coding-tool hook. Both are described in .env.example.

More detail in the log. DEBUG=1 in .env makes the engine and the scripts print much more. AWE_RECALL_TRACE=1 logs one line for each memory search, with its scope, mode and timing. Turn both off when you are done.