{"id":50608353,"url":"https://github.com/theadaptoid/yet-another-personal-assistant","last_synced_at":"2026-06-06T01:01:12.896Z","repository":{"id":362768186,"uuid":"1239249988","full_name":"TheAdaptoid/yet-another-personal-assistant","owner":"TheAdaptoid","description":"A python based, local first, openclaw clone","archived":false,"fork":false,"pushed_at":"2026-06-05T20:41:56.000Z","size":314,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-05T21:15:47.186Z","etag":null,"topics":["agentic-ai","local-ai","python"],"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/TheAdaptoid.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-05-14T23:03:21.000Z","updated_at":"2026-06-05T19:45:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/TheAdaptoid/yet-another-personal-assistant","commit_stats":null,"previous_names":["theadaptoid/yet-another-personal-assistant"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/TheAdaptoid/yet-another-personal-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAdaptoid%2Fyet-another-personal-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAdaptoid%2Fyet-another-personal-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAdaptoid%2Fyet-another-personal-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAdaptoid%2Fyet-another-personal-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAdaptoid","download_url":"https://codeload.github.com/TheAdaptoid/yet-another-personal-assistant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAdaptoid%2Fyet-another-personal-assistant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33965591,"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-05T02:00:06.157Z","response_time":120,"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":["agentic-ai","local-ai","python"],"created_at":"2026-06-06T01:01:03.909Z","updated_at":"2026-06-06T01:01:12.890Z","avatar_url":"https://github.com/TheAdaptoid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yet Another Personal Assistant (YAPA)\n\nYAPA is a terminal-first assistant with a Typer CLI, SQLite-backed session\npersistence, and pluggable inference providers.\n\n## What it does today\n\n- Lists available models from configured providers (grouped by vendor prefix)\n- Sets a default model via `--set` and scoped provider lookup via `--provider`\n- Runs an interactive chat loop with streaming responses\n- Supports slash commands for in-chat model/session switching and help\n- Persists conversations as sessions in a local SQLite database (`~/.yapa/yapa.db`)\n- Manages sessions (list, rename, delete, purge) via CLI commands\n\nCurrent providers:\n\n- `openrouter`\n- `lmstudio`\n\n## Installation\n\nInstall globally with `uv` (recommended):\n\n```bash\nuv tool install git+https://github.com/TheAdaptoid/yet-another-personal-assistant\n```\n\nAfter installation the `yapa` command is available from any directory:\n\n```bash\nyapa --help\n```\n\nTo run without installing (temporary, uses a cached ephemeral environment):\n\n```bash\nuvx yapa --help\n```\n\nTo upgrade an existing installation:\n\n```bash\nuv tool upgrade yapa\n```\n\n## Development setup\n\n1. Clone the repository.\n2. Install dependencies:\n\n   ```bash\n   uv sync\n   ```\n\n3. Configure environment variables (example, or add to a `.env` file):\n\n   ```bash\n   OPENROUTER_API_KEY=your_openrouter_api_key\n   LMSTUDIO_API_KEY=your_lmstudio_api_key_or_placeholder\n   YAPA_DEFAULT_MODEL_ID=openrouter/free\n   YAPA_LOG_LEVEL=INFO\n   ```\n\nConfiguration can also be persisted to `~/.yapa/config.json`. Environment variables\noverride file values.\n\n## Usage\n\nFrom an installed copy:\n\n```bash\nyapa --help\n```\n\nFrom a development checkout:\n\n```bash\nuv run python -m yapa\n```\n\nList models (grouped by vendor):\n\n```bash\nyapa models\nyapa models --provider openrouter\n```\n\nSet the default model (validates the model exists):\n\n```bash\nyapa models --set openrouter/free\nyapa models --provider openrouter --set openai/gpt-4o\n```\n\nStart interactive chat (auto-creates a session):\n\n```bash\nyapa chat\nyapa chat --model openrouter/free\n```\n\nResume a previous session:\n\n```bash\nyapa chat --session \u003csession-id\u003e --model openrouter/free\n```\n\nManage sessions:\n\n```bash\nyapa sessions list\nyapa sessions rename \u003csession-id\u003e \"New Title\"\nyapa sessions delete \u003csession-id\u003e\nyapa sessions delete --purge       # delete empty sessions\n```\n\n\u003e **Note:** All examples below use the installed `yapa` command. Replace with\n\u003e `uv run python -m yapa` when running from a development checkout.\n\nWithin a chat session the following slash commands are available:\n\n| Command | Description |\n|---|---|\n| `/help` | Show available commands |\n| `/exit` | Exit the chat session |\n| `/model \u003cmodel-id\u003e` | Switch to a different model |\n| `/session \u003csession-id\u003e` | Switch to a different session |\n| `/sessions` | List all sessions |\n\n## Quality checks\n\n```bash\nuv run ruff check src/ tests/\nuv run ty check src/\nuv run pytest tests/ -v\n```\n\nRecommended local gate:\n\n```bash\nuv run ruff check src/ tests/ \u0026\u0026 uv run ty check src/ \u0026\u0026 uv run pytest tests/ -v\n```\n\n## Project layout\n\n```text\nsrc/yapa/\n  cli/         # Typer commands (app, chat, models, sessions)\n  database/    # SQLite models, engine, repositories (sqlmodel)\n  models/      # Message, inference, and session data models\n  providers/   # Provider abstraction + implementations (OpenRouter, LM Studio)\n  services/    # UI-agnostic business logic (conversation, session, provider services)\n  config.py    # Config loading and persistence\n  logging.py   # File and console logging helpers\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheadaptoid%2Fyet-another-personal-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheadaptoid%2Fyet-another-personal-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheadaptoid%2Fyet-another-personal-assistant/lists"}