{"id":50303263,"url":"https://github.com/interwebologist/nerdface","last_synced_at":"2026-05-28T14:01:19.573Z","repository":{"id":355394170,"uuid":"1215553464","full_name":"interwebologist/NerdFace","owner":"interwebologist","description":"Nerd Face - A hackable, lightweight local agent hardened for production","archived":false,"fork":false,"pushed_at":"2026-05-23T06:48:08.000Z","size":13727,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-23T08:26:54.811Z","etag":null,"topics":["ai","artificial-intelligence","personal-assistant"],"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/interwebologist.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-04-20T03:06:17.000Z","updated_at":"2026-05-23T06:37:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/interwebologist/NerdFace","commit_stats":null,"previous_names":["interwebologist/skunkagent","interwebologist/agentskunk","interwebologist/nerdface"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/interwebologist/NerdFace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interwebologist%2FNerdFace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interwebologist%2FNerdFace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interwebologist%2FNerdFace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interwebologist%2FNerdFace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/interwebologist","download_url":"https://codeload.github.com/interwebologist/NerdFace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/interwebologist%2FNerdFace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33611254,"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-05-28T02:00:06.440Z","response_time":99,"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","artificial-intelligence","personal-assistant"],"created_at":"2026-05-28T14:01:16.044Z","updated_at":"2026-05-28T14:01:19.567Z","avatar_url":"https://github.com/interwebologist.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/nerdface.png\" alt=\"Nerdface Logo\" width=\"600\"/\u003e\n\u003c/p\u003e\n\n# ☝️🤓 NERD FACE \n\nA hackable, lightweight local agent hardened for production\n\n## Project Focus for MVP (Work In Progress)\n\n#### Security\n\n- [X] **Guardrails** - Input scanning to prevent prompt injection using llm-guard NLP models\n- **Policy** - Human-in-the-loop approvals (out of band or Auth'd IDV. Would like out of band links and biometric scans ) for destructive actions, all policy outside the prompt.\n- **logging** - immutable logs for auditing user+agent+tool action. connections for loki /tempo\n- [X] **Sandbox** - microVM (Shuru) or strong container isolation\n- [X] **Secrets Vault** - Shuru MicroVM has secret proxy\n- [ ] **Secured Messaging** - API\n- [ ] **Biometic, MFA logins** - Identity\n\n\n#### Agent AI Stuff\n\n- [ ] **Memory** - Local , possible FTS5, HRR Holographic. FTS5 O(log N) with trust score RRF. \n- [ ] **Sub-agents** - We want endless types of 'workflows' for orchestration \n- [X] **Web Search:** (SerpBase) that allows deep search engine Dorking and pay as you go, keep forever searches\n- [X] **Tools**\n- [X] **CLI**\n- [X] **API**\n\n- [ ] **System Design Patterns for Small languge models**\n- [ ] **Compression** - head / tail with summerize the middle. tool calls clean up when not needed. 4 part algorithm. patachute for LLM gateway protection as 2nd safety\n- [ ] **Reduced Attack Vector** on popular offering\n- [ ] **NerdPrompt** - allow to be used with NerdPrompt in terminal\n\n## Guardrails Overview\n\nThe Nerdface uses **llm-guard** to scan all inputs for security threats before they reach the agent.\n\n### What Guardrails Protect Against\n\n| Threat | Detection Method | Action |\n|--------|-----------------|--------|\n| **Prompt Injection** | NLP model analyzes text for attempts to override system instructions | Blocks input, triggers kill-switch |\n| **Sandbox Escape Attempts** | Regex patterns for `/etc/passwd`, Docker/K8s commands | Blocks output containing system paths |\n| **Runaway Loops** | Max iterations limit \n\n- **Models run locally** on the agent machine (NOT on the LLM server)\n- **Low latency** - models load once, inference takes milliseconds\n\n### NLP Models Used\n\n| Model | Size | Purpose | Hugging Face Path |\n|-------|------|---------|-------------------|\n| PromptInjection | 714MB | Detects prompt injection attempts | `protectai/deberta-v3-base-prompt-injection-v2` |\n| **Total** | **~714MB** | | |\n\n## Feature Updates\n\n#### State Persistence\n\nThe agent saves conversation history to SQLite at `~/.nerdface/state.db` using the `user` field from `/v1/chat/completions` as the session ID.\n\n#### Nerdface Query\n\n```bash\ncurl -X POST http://localhost:8000/apply \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"text\": \"whats the weather in denver today ? \"}'\n```\n\n*Note: The Dockerfile includes git, vim, tmux installation and automatic GitHub token configuration for HTTP endpoints. The agent will automatically use the GITHUB_TOKEN environment variable for git operations requiring authentication.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterwebologist%2Fnerdface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finterwebologist%2Fnerdface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finterwebologist%2Fnerdface/lists"}