hhyqhh/inno-agent
A Pi SDK agent for long-term personal learning with layered memory and scheduled practice
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Inno Agent is a TypeScript application built on the unmodified @earendil-works/pi-coding-agent runtime. Its React 19/Tailwind 4 Web UI uses a Node HTTP API with SSE for streaming and WebSocket for the Practice Lab terminal. Electron shares the Web interface, while the inno CLI runs a terminal UI without HTTP. Messaging adapters are another route into the same application layer, not separate agent workers.
The inno-extension.ts extension registers providers and tools. Its before_agent_start hook injects an L1 learner context pack and threshold-gated L3 recall. L1 keeps an editable profile and evidence event log; L2 is a human-readable wiki with BM25 and knowledge-graph retrieval, exposed to tools and /api/wiki/*; L3 builds a SQLite FTS5 index over Pi session JSONL. These layers separate facts about the learner, reusable subject knowledge, and searchable dialogue history.
Key Capabilities & Differentiators
The agent can document goals and misconceptions in L1, ingest PDF, Office, and image material into the L2 wiki, and recall relevant past dialogue from L3. Cron jobs can be created in natural language and initiated by the agent, UI, or daemon; reminders can go to Feishu or WeChat, with iLink QR login or a bridge available for WeChat. Practice Lab gives the learner an in-browser terminal and makes its run records available to the agent for feedback.
Providers use openai-completions or anthropic-messages endpoints, with model switching in the UI and options including Anthropic, OpenAI, DeepSeek, and local endpoints such as Ollama. Simple Mode offers workspace presets, and the content hub can supply additional presets and skills. The optional literature integration adds multi-source paper search, open-access PDF selection, and page-cited PDF Q&A. Search and downloads remain available without embeddings; PDF Q&A needs a separate OpenAI-compatible embeddings endpoint.
Trade-offs & Limitations
Compared with a generic coding agent plus a notes app, Inno Agent does more to carry a learner's progress forward: it separates editable learner state from reference material and past dialogue, then ties those records to reminders and practice. The trade-off is more state and integrations to maintain. Self-hosting the Node service keeps application state under the operator's control, but remote model or embedding calls may still send selected inputs off-host. MIT permits commercial reuse subject to its notice requirement; third-party services have separate terms.
This is not a shared tutoring service. One process has one active agent session and serializes work across workspaces and channels. A long turn or an unanswered prompt can block switching, with 409 session_busy exposing the reason rather than hiding the delay. There is no built-in authentication, tenant isolation, or horizontal scaling. Tool permission rules are enabled by default, but OS sandboxing is a separate opt-in; workspace scope alone is not a security boundary.
Hardware & Deployment Guide
Use an Electron installer for the simplest desktop setup, or build from source on Node.js 20.6+ with npm install and npm run build. npm run server serves the API and built frontend on port 3000 by default; npm run start runs the CLI without HTTP. Docker Compose builds locally, publishes port 3000, and mounts config, data, skills, and workspace at /etc/inno-agent, /var/lib/inno-agent/data, /var/lib/inno-agent/skills, and /srv/inno-workspace. Keep the unauthenticated server on a trusted network or behind a separately managed access boundary.
Remote inference does not require a GPU on the application host; budget locally for Node, document processing, workspace activity, and state growth. A local model endpoint shifts inference sizing to the model host. Bundled presets work offline, but cloud providers, messaging, and scholarly search still depend on their respective services. The optional literature integration requires Node.js 22.19+ and a restart after enabling it. Release v0.8.0 added skill generation and long-context controls and restored macOS, Windows, and Linux release pipelines; v0.8.1 added optional literature tooling and expanded web research provider settings.
before_agent_start hook without modifying the Pi SDK kernel.jobs.json and runs in runs.jsonl, with reminders delivered through personal messaging channels.409 session_busy with blocker details.A single learner who wants an editable learning profile, a searchable study library, and scheduled follow-up, and can choose and configure a model endpoint.
You need a shared classroom service with authentication, tenant isolation, concurrent sessions, or verified offline operation across all integrations.
Quick Start & Installation
git clone https://github.com/hhyqhh/inno-agent.git cd inno-agent npm install # pulls the Pi SDK from npm npm run build # compiles backend + web mkdir -p runtime/config runtime/data runtime/skills workspace cp config.example.json runtime/config/config.json # Edit runtime/config/config.json and set providers[*].apiKey npm run server -- --home ./runtime --workspace ./workspace --port 3000
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| inno-agent ★ | 1.7k | +67 | TypeScript | MIT | A Pi SDK agent for long-term personal learning with layered memory and scheduled |
| n8n | 213.1k | +787 | TypeScript | — | Visual Node.js platform for self-hosted workflows and multi-step AI agents |
| OpenHands | 94.8k | +374 | TypeScript | MIT | Self-hosted control plane for coding agents across local, remote, and cloud back |
| TradingAgents | 124.7k | +775 | TypeScript | Apache-2.0 | A multi-agent CLI for source-cited financial research and reporting |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/hhyqhh/inno-agent.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about inno-agent
How does learning memory plug into Pi, and can each interface run turns independently?
before_agent_start to inject the L1 context pack and threshold-gated L3 recall. L2 is queried through agent tools or /api/wiki/*. Desktop, Web, CLI, and messaging channels use the same runtime state model; adding an interface does not create another agent worker.Do I need a GPU, and what should I size the host for?
Can I use it commercially and self-host learner records?
When is it a better fit than general-purpose agent chat or a shared learning platform?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy