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.7.0.tar.gz (77.2 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.7.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ouestcharlie_wally-0.7.0.tar.gz
  • Upload date:
  • Size: 77.2 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.7.0.tar.gz
Algorithm Hash digest
SHA256 c52274ac044d3b502cf5ac942678d2f1596e1a1d0383f10ed2031d2de594a4f5
MD5 62ee6864dceb3a62feee0067c897a574
BLAKE2b-256 3fbd4af69aafb2e432cb455f65a7664ca052fe740fa72e2a4dac1af2b1b0c0af

See more details on using hashes here.

Provenance

The following attestation bundles were made for ouestcharlie_wally-0.7.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.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ouestcharlie_wally-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c00415bf8487f1f2d2713c7c5efc25f8e948edff05d854c7ae367601499bd032
MD5 3d1a856de208c5386f6dbc18027e804a
BLAKE2b-256 b368cb78d941091c79d8d51a292c2655b6917054b632f92d180d6b826104a485

See more details on using hashes here.

Provenance

The following attestation bundles were made for ouestcharlie_wally-0.7.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