ACE Wrapper
Semantic codebase retrieval using the Augment Context Engine through a small ace command.
Use it when the relevant identifiers are unknown and the query is about behavior, intent, architecture, or data flow. Treat results as candidate files, then read the returned files and confirm exact identifiers or call sites with literal search.
Authentication
Before searching, you must authenticate using one of the following methods:
Method 1: Standard Login (Official)
If you have an official Augment account:
auggie login
Method 2: ACE Relay (Alternative)
If you use an ace relay middleman service, you can skip auggie login by manually configuring ~/.augment/session.json with relay-specific settings:
accessToken: Use the relay token (e.g., starts withace_).tenantURL: Change to the relay endpoint (e.g.,https://acemcp.heroman.wtf/relay/).scopes: Typically set to["email"].
Install
From this repository:
uv tool install .
From a published package:
uv tool install ace-wrapper
Usage
timeout 60s ace "How is the authentication flow implemented?" -w /path/to/project/root
timeout 60s ace "Find where uploaded files are validated and stored" -w /path/to/project/root
timeout 60s ace "用户登录流程在哪里实现" -w /path/to/project/root
Use --verbose for debug logs:
timeout 60s ace "config loading" -w /path/to/project/root --verbose
AI Agent Integration
To use ace effectively with AI coding agents, refer to references/prompts.md for recommended prompt instructions and best practices.
Reliability Boundaries
- ACE is a candidate-file generator, not proof that a feature exists.
- Verify important conclusions by reading files and using exact search.
- Split unrelated workflows into separate queries.
- Use literal search for exact identifiers, error strings, routes, events, and config keys.
Detailed usage guidance and AI Agent prompt templates live in references/.
Release
Publishing is handled by GitHub Actions. Create and push a version tag to build, publish to PyPI, and create a GitHub Release:
git tag v0.1.1
git push origin v0.1.1
The PyPI publish job uses Trusted Publishing, so the PyPI project must allow the ferstar/ace-wrapper repository and the pypi GitHub environment.
Release files for ace-wrapper 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ace_wrapper-0.1.1.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ace_wrapper-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.1 kB
Release files / ace_wrapper-0.1.1.tar.gz
| Download URL | ace_wrapper-0.1.1.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6a9c266e9a74331c794a2c51121974157d10840484d0cddac6c9c83641ba731
|
|
BLAKE2b-256 checksum How to use checksums |
a30a68e6e01b4b3ef5b094764dc10222070f1c31483567fb33f8bc7b87db7916
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency logRelease files / ace_wrapper-0.1.1-py3-none-any.whl
| Download URL | ace_wrapper-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54932314b12bfaeb0b8d957591d2a3fe71d807bc7b64695491ef548d9cd46d01
|
|
BLAKE2b-256 checksum How to use checksums |
7aba888db37eb642d95a8deadaa5a47a215d3d329a18ef4c301984461089f321
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency log