Project Info
[Anthropic] Human Flourishing Track (1st Place: 4 tungsten cubes 2nd Place: 1 year of Claude Pro 3rd Place: 6 months of Claude Pro)
Project Lend
AI-powered autonomous food rescue, because giving should be as smart as taking
Inspiration
We've spent years volunteering at food banks and shelters, experiencing firsthand the challenges of both front-office admin and back-breaking logistics. When Anthropic released Project Vend showing Claude could run a business autonomously, we wondered- what if we applied that same capability to helping people give instead of take? With agents now able to reason, communicate, and operate in the physical world, Project Lend was born at the intersection of technical possibility and human need.
What it does
Project Lend is an autonomous food bank run entirely by AI. Over TreeHacks weekend, our agent system sorted donations from fellow builders using a robotic arm with computer vision, coordinated with 3+ shelters in Palo Alto, and delivered over 100 lbs of food in one weekend. The system handles everything—intake, sorting, inventory, shelter coordination, scheduling, and delivery logistics—completely autonomously. Donors text to contribute, the robotic arm sorts items into shelter-specific boxes, and our agents coordinate pickup times with actual shelters. No human intervention required.
How we built it
We basically replicated the entire front and back office of a traditional food rescue operation using the Claude Agent SDK as the brain: Physical Operations: Robotic arm sorted donations using Claude Vision API (lightning fast on Haiku 3.5!), reasoning over resource allocation from our inventory database Computer vision pipeline identified and categorized food in real-time Data streamed to our frontend dashboard for live visibility Coordination Layer: Orchestrator agent (inspired by Project Vend's "boss" architecture) coordinated with local shelters using Fetch.ai email agents Multi-agent system with specialized sub-agents for sorting, scheduling, donor engagement, and allocation Donor Engagement: Text-based agent powered by Interaction Company's Poke sent personalized messages to TreeHacks participants, raising over $100 for our GoFundMe Development Stack: Claude Code and Warp IDE agents for rapid iteration React frontend with real-time database syncing Python hardware integration with custom MCP tools Challenges Network outage at 3 AM forced a complete hardware stack pivot. Robot calibration needed constant fine-tuning. Agent concurrency issues when multiple sub-agents accessed shared resources. Real-world shelter schedules (nonprofits don't always respond to AI emails immediately!). Computer vision reliability under hackathon lighting. The usual chaos. Accomplishments Sourced over 100 lbs of food organically through the hackathon community Autonomous coordination with actual shelters—REAL coordination, not mocked, resulting in scheduled Monday deliveries Working computer vision/robotic sorting pipeline $100 raised through AI agent interactions Full multi-agent orchestration handling intake through delivery Proved AI agents can run real-world service operations, not just digital workflows
What we learned
AI in the real world is messy, but it's real. We learned how to handle 5 AM networking disasters, make agents resilient to unpredictability, and ship something that genuinely helps people in 36 hours. When you build something that actually matters, the energy to push through just appears. Most importantly—the gap between "AI demo" and "AI doing real work in the physical world" is closable right now with today's tools. It's not science fiction anymore.
What's next
We're delivering to 2 shelters Monday morning! Next steps: scaling robotic sorting for higher volumes, integrating more Bay Area shelters, building partnerships with grocery stores and restaurants for regular donations, creating a network of autonomous food banks that share resources, and potentially open-sourcing our orchestration framework so other communities can deploy their own AI-powered food rescue. The future where AI helps humans give, not just take, starts here. 🌲❤️
Project Lend
Autonomous food bank built at TreeHacks 2026! xArm 1S sorts donated food, Claude agents coordinate with donors + shelters.
Hardware
- Hiwonder xArm 1S over USB (connected to laptop)
- Laptop webcam for vision classification
Setup (Laptop)
python -m venv venv
.\venv\Scripts\Activate.ps1
pip install -r requirements.txt
Set your API key before running vision features:
$env:ANTHROPIC_API_KEY="YOUR_API_KEY"
Calibrate Arm Positions
Physically move the arm to each position and record servo values:
python calibrate.py
Copy the output into positions.py.
Run the Full System
1. Start the API (terminal 1)
python api.py
Runs on http://localhost:5000
2. Open the Dashboard
Open dashboard.html in your browser. It will show:
- Live stats (items, weight, donors)
- Category breakdown (fruit/snack/drink)
- Real-time donation feed with Claude's detailed classifications
3. Run the Pipeline (terminal 2)
Test mode (manual capture):
python test_pipeline.py
Press SPACE to capture and classify.
Auto mode (motion detection):
python main.py
Watches for items placed in front of camera, auto-classifies and sorts.
Vision-only (no arm):
python main.py --no-arm
Quick Tests
Test arm:
python test_arm.py
Test camera + vision:
python test_vision.py
Test camera demo:
python camera_demo.py --camera 0
Data
- Donations logged to:
donations.json - Captured images saved to:
images/ - API endpoints:
- GET
/donations- all records - GET
/donations/recent?limit=10- latest N - GET
/stats- summary stats
- GET
Analysis
View
Metric
- 5
- 2
- 2
- 2
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- AnthropicIn code
- CSSIn code
- FlaskIn code
- HTMLIn code
- JavaScriptIn code
- Next.jsIn code
- PythonIn code
- ReactIn code
- Tailwind CSSIn code
- TypeScriptIn code
10 of 10 appear in the indexed code.
AI coding agents
- Claude CodeConfig · Commits
- CodexConfig
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
422 KB
Source files
121
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
PranavViswanath/project-lend
172 files · 1.2 MB · @ bc583d8
Structure
Interface
9 files · 5%Screens, components and styles rendered to the user.
API & routing
2 files · 1%Request entry points: routes, handlers and controllers.
Application logic
57 files · 33%Domain rules, services and shared utilities.
+7 more
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- Markdown52%
- Python34%
- TypeScript9%
- HTML4%
- CSS2%
- JavaScript0%
Share of indexed source by file size. Binary and vendored files are excluded.
Dependencies
frontend/package.json
npm · 14- react
- react-dom
- +12 more
dashboard/package.json
npm · 13- framer-motion
- next
- react
- react-dom
- swr
- +8 more
requirements.txt
pypi · 8- anthropic
- claude-agent-sdk
- flask
- flask-cors
- mcp
- opencv-python
- uagents
- xarm
Declared in the repository’s manifests at the indexed commit. A declared package is not proof it is used, and runtime dependencies are listed first.
This project’s features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.