Skip to main content

OuEstCharlie Wally — photo search/consumption agent

Project description

OuEstCharlie — Wally

Wally is the search/consumption agent for OuEstCharlie. It is stateless and read-only: Woof launches it as a child process (MCP server over stdio), passes a structured search predicate via search_photos, and Wally returns matching photo metadata by traversing the manifest tree. It never reads XMP sidecars or writes anything.

More about OuEstCharlie on the OuEstCharlie Blog

Design Documents

Document Purpose
wally_LLD.md Low-level design

Repository Structure

src/wally/
├── __main__.py   # Entry point (stdio MCP server)
├── agent.py      # WallyAgent(AgentBase) — MCP tool registration, date parsing
└── searcher.py   # Pure async search logic — no MCP dependency, independently testable

tests/
└── test_searcher.py

searcher.py has no MCP dependency and can be unit-tested directly. agent.py is the thin adapter that registers the tool with FastMCP and handles date string parsing and result serialization.

Installation

From PyPI (recommended)

pip install wally

From source (development)

Requires the sibling ouestcharlie-py-toolkit repo:

uv venv
uv sync

Running Tests

Always use .venv/bin/python -m pytest:

.venv/bin/python -m pytest tests/ -v

MCP Inspector

Wally runs as a standalone HTTP server (streamable HTTP transport), so it cannot use mcp dev. Start it manually and connect the Inspector to the printed port:

WOOF_BACKEND_CONFIG='{"type":"filesystem","root":"/path/to/photos","name":"my-backend"}' \
    .venv/bin/python -m wally
# stdout: WALLY_READY port=<port>

Then start the Inspector and connect to http://127.0.0.1:<port>/mcp (no auth token needed when WOOF_AGENT_TOKEN is unset):

npx @modelcontextprotocol/inspector

Note: The default MCP Inspector timeout is too low for large-library search queries. Increase it in the Inspector settings before calling search_photos.

Context

Repository Purpose
ouestcharlie Architecture docs, HLR/HLD, MCP interface
ouestcharlie-py-toolkit Python toolkit for agents
ouestcharlie-whitebeard Indexing agent
ouestcharlie-wally (this repo) Search/consumption agent
ouestcharlie-woof Woof controller

See ouestcharlie/HLD.md for the overall system architecture.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ouestcharlie_wally-0.5.0.tar.gz (76.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ouestcharlie_wally-0.5.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file ouestcharlie_wally-0.5.0.tar.gz.

File metadata

  • Download URL: ouestcharlie_wally-0.5.0.tar.gz
  • Upload date:
  • Size: 76.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ouestcharlie_wally-0.5.0.tar.gz
Algorithm Hash digest
SHA256 decd46fd9b933aa1afa7aa708713e382a3e6db143439f320651a403dff68998a
MD5 c69726496e647a20649f3bba61e84c0b
BLAKE2b-256 123ead7309d37b35cc88792b3cb830a5bbd4f7927696ee3720fd7fb03e2f3cfb

See more details on using hashes here.

Provenance

The following attestation bundles were made for ouestcharlie_wally-0.5.0.tar.gz:

Publisher: publish.yml on ouestcharlie/ouestcharlie-wally

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ouestcharlie_wally-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ouestcharlie_wally-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9cd1807ba01b2b1bd33b86f2a45d004268d301144a6046de55c028260771d63b
MD5 bf25349454ae57f1bdc9f6c60a3066d9
BLAKE2b-256 d8948e522a16dc70afb6f2e375264b507e411a0b5988c30404362b700f7035e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ouestcharlie_wally-0.5.0-py3-none-any.whl:

Publisher: publish.yml on ouestcharlie/ouestcharlie-wally

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page