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.2.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.2-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ouestcharlie_wally-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 a41ecada8c5792e7e8a7e27d500c316e49ad9831511d99d29b15744e52307534
MD5 5a3b55e86d0c122d8ae380ba4f4460dc
BLAKE2b-256 4553c4653f329c2a0ede15befc1f1d67f8027e6e2a95954e0e855b08d88e9701

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ouestcharlie_wally-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 615d3e21d0b3df7a72876c0681946e842945d7d20167b74b3f59b1ef228a3b45
MD5 9164a5e65596a2a41fad0541e03b383d
BLAKE2b-256 8a6df76d82703ede531a210ff0758419f23aca526e8451fc2e50e8bb4dba3eb4

See more details on using hashes here.

Provenance

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