{"id":51608687,"url":"https://github.com/writer/bootstrap-agentic","last_synced_at":"2026-07-12T04:30:27.525Z","repository":{"id":361906399,"uuid":"1183463781","full_name":"writer/bootstrap-agentic","owner":"writer","description":"Agentic template","archived":false,"fork":false,"pushed_at":"2026-06-29T12:18:16.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-29T14:18:53.024Z","etag":null,"topics":[],"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/writer.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-03-16T16:24:45.000Z","updated_at":"2026-06-29T12:18:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/writer/bootstrap-agentic","commit_stats":null,"previous_names":["writer/bootstrap-agentic"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/writer/bootstrap-agentic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writer%2Fbootstrap-agentic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writer%2Fbootstrap-agentic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writer%2Fbootstrap-agentic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writer%2Fbootstrap-agentic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/writer","download_url":"https://codeload.github.com/writer/bootstrap-agentic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writer%2Fbootstrap-agentic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35382323,"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-07-12T02:00:06.386Z","response_time":87,"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":[],"created_at":"2026-07-12T04:30:26.815Z","updated_at":"2026-07-12T04:30:27.519Z","avatar_url":"https://github.com/writer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat Agent — Starter\n\nA chat agent with tool-calling capabilities, built with FastAPI, PostgreSQL, and\nthe OpenAI SDK.\n\n## Prerequisites\n\n- Docker \u0026 Docker Compose\n- Node.js 24+ and [`pnpm`](https://npm.im/pnpm) *(auto-installed if missing)*\n- [uv](https://docs.astral.sh/uv/) *(auto-installed if missing)*\n\n## Quick Setup\n\n```bash\n./start.sh\n```\n\nThis single command checks prerequisites (offering to install `node` and `uv` if\nmissing), prompts for your API key, starts Docker, and launches the backend +\nfrontend.\n\n## Windows\n\nFrom PowerShell, run:\n\n```powershell\n.\\start.ps1\n```\n\nThis validates WSL2, Docker, and distro setup, then launches `start.sh` inside\nWSL automatically. For best performance, clone the repo inside WSL\n(`~/bootstrap-agentic`) rather than on your Windows drive (`/mnt/c/...`).\n\nOpen [http://localhost:3000](http://localhost:3000) to verify the chat interface\nloads. Press `Ctrl+C` to stop everything.\n\n## Run tests\n\n```bash\nuv run pytest\n```\n\n\u003e **Note:** 2 of 4 tests currently pass. This is expected — you'll address the\n\u003e failing tests during the interview.\n\n## Project Structure\n\n```\n├── backend/\n│   ├── main.py              # FastAPI application\n│   ├── config.py             # Settings (env vars)\n│   ├── db.py                 # Database session setup\n│   ├── models/               # SQLAlchemy models\n│   ├── schemas/              # Pydantic request/response schemas\n│   ├── routers/              # API endpoints\n│   ├── agent/\n│   │   ├── loop.py           # Agent loop (LLM \u003c\u003e tool execution)\n│   │   ├── prompts.py        # System prompts\n│   │   └── tools/            # Tool registry \u0026 implementations\n│   └── services/\n│       └── llm.py            # LLM client configuration\n├── frontend/                 # React/TypeScript chat UI\n├── tests/                    # Test suite\n├── docker-compose.yml        # Postgres + Redis\n├── start.sh                  # One-command setup \u0026 run (macOS/Linux/WSL)\n├── start.ps1                 # Windows launcher (validates WSL, runs start.sh)\n└── pyproject.toml            # Python dependencies\n```\n\n## Troubleshooting\n\n- **Docker not starting?** Make sure the ports in `.env` (`POSTGRES_PORT`,\n  `REDIS_PORT`) are free on your machine.\n- **Backend won't start?** Check that `.env` exists and `docker compose ps`\n  shows healthy services.\n- **Frontend not loading?** Make sure the backend is running on port 8000 (the\n  frontend proxies API calls to it).\n- **Tests failing?** 2 of 4 tests are expected to fail. If all 4 fail, check\n  your Python environment (`uv sync --all-extras`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwriter%2Fbootstrap-agentic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwriter%2Fbootstrap-agentic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwriter%2Fbootstrap-agentic/lists"}