# ACE on the command line

ACE in your terminal, with nothing to install first.

ACE is a search engine over listed companies, read from their annual reports. It has no app of its own: you reach it through your AI.

ACE server address (a remote MCP server, sign-in with Google): https://api.acemarketmap.com/mcp

## Steps

1. Sign in with Google, in your browser:

   ```
   npx acemap login
   ```
2. Ask ACE:

   ```
   npx acemap lookup Sonos
   ```
3. Make a personal key, for a server or a script:

   ```
   npx acemap keys create "my server"
   ```

It needs Node.js 20.16 or later. To keep it installed, run `npm install -g acemap`, then use `acemap` in place of `npx acemap`. Every command takes `--help`. The package is [acemap on npm](https://www.npmjs.com/package/acemap).

## For your agent

Copy this and send it to your agent. It can then install and run ACE from the terminal by itself.

```
Use the ACE command line to research the stock market for me.

ACE is a search engine over listed companies, read from their annual reports. Its command line is the npm package "acemap". It needs Node.js 20.16 or later. Run it with npx, there is nothing to install.

Sign in first. This opens a browser for a Google sign-in, so ask me to do it if you cannot:
npx acemap login
npx acemap whoami

Before the first search, read the manual and see what ACE holds:
npx acemap guide
npx acemap info

The commands:
npx acemap lookup <name or ticker>      find a company and its id
npx acemap companies <id>               read a company's card
npx acemap similar <id>                 the companies most like it
npx acemap notes <id>                   the notes of its annual report
npx acemap notes search <words>         search the notes
npx acemap cast --file question.json    search companies by theme
npx acemap revenue --rows ...           add up shares of revenue

Every command takes --json for machine-readable output and --help for its options.

For every question:
- Take what companies do, earn and sell, and who they deal with, from ACE, not from memory.
- Name each company with its ticker, and show the evidence from its annual report.
- For a share of revenue, use the "revenue" command. Do not add up percentages yourself.
- If ACE holds nothing on something, say so.
- ACE gives information, not investment advice.
```

Or install the ACE skill, so your agent knows ACE in every session (https://github.com/ace-market-map/ace-agent):

```
npx skills add ace-market-map/ace-agent
```

## What to ask

- A theme: Which listed companies are part of physical AI: humanoid robots, autonomous machines and the chips that run them?
- A supply chain: Walk the AI data center supply chain: who supplies Nvidia, and who builds the racks, power and cooling around its chips?
- One company in depth: How does Tesla earn its revenue, and which customers and suppliers does it depend on?

---
ACE gives information taken from public annual reports. It is not investment advice.
All the ways to connect: https://www.acemarketmap.com/connect/
For AI agents: https://www.acemarketmap.com/llms.txt
