{"id":51129635,"url":"https://github.com/poran-dip/filo","last_synced_at":"2026-06-25T11:01:05.457Z","repository":{"id":357349473,"uuid":"1235861791","full_name":"poran-dip/filo","owner":"poran-dip","description":"Conversational AI agent for searching and discovering files in Google Drive, built with FastAPI, LangGraph, and Streamlit.","archived":false,"fork":false,"pushed_at":"2026-05-12T11:30:12.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-12T12:35:03.598Z","etag":null,"topics":["ai-agent","fastapi","google-drive-api","groq","langchain","langgraph","llm","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poran-dip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-11T18:17:08.000Z","updated_at":"2026-05-12T11:30:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/poran-dip/filo","commit_stats":null,"previous_names":["poran-dip/filo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/poran-dip/filo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poran-dip%2Ffilo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poran-dip%2Ffilo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poran-dip%2Ffilo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poran-dip%2Ffilo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poran-dip","download_url":"https://codeload.github.com/poran-dip/filo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poran-dip%2Ffilo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34771664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-agent","fastapi","google-drive-api","groq","langchain","langgraph","llm","python","streamlit"],"created_at":"2026-06-25T11:01:04.413Z","updated_at":"2026-06-25T11:01:05.447Z","avatar_url":"https://github.com/poran-dip.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Filo AI\n\nFilo AI is a conversational Drive assistant that finds your files through natural chat. Search by name, type, content, or date — Filo translates your intent into precise Drive API queries and stays focused on your files.\n\nCheck it out on [filo-ai.streamlit.app](https://filo-ai.streamlit.app/).\n\n**Note:** The live deployment only has access to a test Drive folder. To use Filo with your own Drive, clone the repo, set up a service account, and configure the `.env` as described below.\n\n## Stack\n\n- **Backend** — Python, FastAPI, LangGraph, LangChain, Groq (Llama 3.3 70B)\n- **Frontend** — Streamlit\n- **Integration** — Google Drive API v3 via Service Account\n\n## Features\n\n- Natural language search across a designated Google Drive folder (and all subfolders)\n- Searches by file name, MIME type, full-text content, and date filters\n- Multi-turn conversation — follow-up and refine searches naturally across the session\n- File results rendered as a table with direct Drive links\n- Powered by LangGraph tool-calling — the LLM constructs valid Drive `q` parameter strings\n- Stays focused — politely redirects off-topic questions back to file search\n- Smart no-results handling — suggests broader queries instead of dead ends\n\n```bash\nfilo/\n├── server/\n│   ├── main.py       # FastAPI app\n│   ├── agent.py      # LangGraph agent + system prompt\n│   ├── tools.py      # drive_search LangChain tool\n│   ├── drive.py      # Google Drive API client\n│   └── config.py     # Server configuration\n├── client/\n│   ├── app.py        # Streamlit chat interface\n│   └── config.py     # Client configuration\n├── render.yaml       # Render deployment config\n├── requirements.txt\n├── runtime.txt\n└── .env.example\n```\n\n## Local Setup\n\n### Prerequisites\n\n- Python 3.12+\n- A Google Cloud Service Account with Drive API enabled\n- The service account shared on your target Drive folder\n\n### Steps\n\n1. Clone the repo and create a virtual environment:\n\n```bash\ngit clone https://github.com/poran-dip/filo.git\ncd drive-chat-agent\npython -m venv venv\nsource venv/bin/activate  # Windows: venv\\Scripts\\activate\npip install -r requirements.txt\n```\n\n2. Copy `.env.example` to `.env` and fill in your values:\n\n```bash\ncp .env.example .env\n```\n\n3. Run the backend:\n\n```bash\nuvicorn server.main:app --reload\n```\n\n4. In a separate terminal, run the frontend:\n\n```bash\nstreamlit run client/app.py\n```\n\n## Environment Variables\n\n| Variable                      | Description                                                   |\n| ----------------------------- | ------------------------------------------------------------- |\n| `GROQ_API_KEY`                | Your Groq API key                                             |\n| `DRIVE_FOLDER_ID`             | Root Google Drive folder ID to search within                  |\n| `GOOGLE_SERVICE_ACCOUNT_JSON` | Full contents of the service account JSON file (single line)  |\n\nSee `.env.example` for reference.\n\n## Deployment\n\n- **Backend** — Render (configured via `render.yaml`). Set the three env vars in the Render dashboard.\n- **Frontend** — Streamlit Community Cloud. Connect the GitHub repo, set main file to `client/app.py`, and add `BACKEND_URL` pointing to your Render service URL in the app secrets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporan-dip%2Ffilo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fporan-dip%2Ffilo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporan-dip%2Ffilo/lists"}