惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Vercel News
Vercel News
博客园 - 【当耐特】
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
Hugging Face - Blog
Hugging Face - Blog
aimingoo的专栏
aimingoo的专栏
WordPress大学
WordPress大学
G
Google Developers Blog
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
P
Proofpoint News Feed
J
Java Code Geeks
U
Unit 42
云风的 BLOG
云风的 BLOG
阮一峰的网络日志
阮一峰的网络日志
N
Netflix TechBlog - Medium
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
D
Docker
V
Visual Studio Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Help Net Security
V
V2EX
T
Tailwind CSS Blog

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - dttdrv/phonecode
dttdrv · 2026-06-27 · via Hacker News: Show HN

A native Android AI coding agent that runs entirely on the phone. It is an independent project, inspired by OpenCode and interoperable with it, not a build of OpenCode itself.

PhoneCode runs the agent loop on your device. It reads, writes, and edits files in per-project workspaces, runs git natively, searches the web, and talks to whichever model provider you choose. There is no backend, no telemetry, and no account. Your API keys live in the Android Keystore, and your prompts go only to the provider you pick.

Not affiliated with OpenCode. PhoneCode is not built by, endorsed by, or affiliated with the OpenCode team (Anomaly). The name "OpenCode" appears here only to describe interoperability and origins. Parts of the agent (prompt structure, tool schemas, and loop design) are adapted from OpenCode, which is MIT licensed (Copyright (c) 2025 opencode); see LICENSES.

Features

  • On-device agent with a full coding-agent tool surface (modeled on OpenCode's): read, write, edit, glob, grep, ls, apply_patch, todo lists, plan and build modes, user questions, subagents (task tool), webfetch with free web search, MCP servers (Streamable HTTP and SSE), and progressive-disclosure skills (SKILL.md).
  • Providers: OpenCode Zen and Go, Anthropic, OpenAI, OpenRouter, Google, xAI, Groq, DeepSeek, Mistral, and Together, with the catalog sourced from models.dev. You can enable or disable providers, hide models, and mark favourites. The agent can add providers and models itself by editing providers.json, which is hot-reloaded.
  • Sign-in flows: GitHub uses the OAuth device flow (you type a code, with no tokens to paste) for push and pull. "Sign in with ChatGPT" (Codex, OAuth + PKCE) lets you use a paid ChatGPT plan as a provider through OpenAI's Responses API - no API key needed.
  • Projects and chats: chats are organized into projects. Each project is its own workspace folder and git repository, with snapshots (commits), branch switching, and push and pull from the chat's git button.
  • Streaming chat with reasoning traces, a tool-activity timeline, monochrome syntax highlighting, a context-window gauge, and per-model token limits that drive compaction.
  • Privacy by construction: keys are encrypted on-device, crash logs stay local, export and import use a file you choose through the Storage Access Framework, and Auto Backup excludes secrets.

Building

Requirements: JDK 21 and the Android SDK (platform 34 and 36, build-tools 36). Android Studio is not needed.

$env:JAVA_HOME = "<path to JDK 21>"
.\gradlew.bat :app:assembleRelease   # minified release build -> app/build/outputs/apk/release/
.\gradlew.bat :app:assembleDebug     # debuggable build
.\gradlew.bat test                   # all module unit tests (incl. Robolectric UI smoke tests)

The project has four modules. :app holds the Compose UI and Android glue. :agent holds the loop, prompts, and compaction. :provider holds the wire formats and catalog. :tools holds the file, git, web, todo, MCP, and skills tooling. The three library modules are pure JVM and fully unit-tested.

Notes

  • The GitHub sign-in ships with the gh CLI's public client id for personal builds. Register your own OAuth app (one checkbox: Enable Device Flow) before distributing.
  • Codex (Sign in with ChatGPT) authenticates over OAuth + PKCE with a loopback redirect, stores the tokens encrypted, and talks to ChatGPT's Responses API backend. It needs a paid ChatGPT plan.
  • The Terms of Service and Privacy Policy live in legal/ and are also shown in-app under Settings > About.

Licenses

PhoneCode bundles and adapts open-source work. The full list is in THIRD_PARTY.md and in-app under Settings > About > Open-source licenses. In particular:

  • OpenCode (MIT, Copyright (c) 2025 opencode) - the agent's prompt structure, tool schemas, and loop design are adapted from OpenCode. PhoneCode is an independent project and is not affiliated with the OpenCode team.
  • Mermaid (MIT) - inline diagram rendering. PRoot (GPL-2.0) and talloc (LGPL-3.0) - the Linux sandbox. BusyBox (GPL-2.0) - the on-device shell toolkit.