How staks-sor/ai-free works
AI Free is a local developer AI client that exposes DeepSeek, Qwen, and ChatGPT through desktop, CLI, compatible API, and IDE interfaces. A typical coding task enters through an interface, is enriched with project instructions, memory, and skills by the agent orchestrator, then runs through the code agent against the selected provider and workspace. The graph preserves documented memory, browser, voice, and integration capabilities; unsampled implementation details and their internal wiring are not inferred.
Main entry points: index.mjs Agent orchestrator · api/server.mjs Compatible API · window-app/server.mjs Desktop app · client.mjs DeepSeek client
Components 19
User interfaces
- Desktop app
src/window-app/server.mjs - CLI
src/cli/run.mjs - Compatible API
api/server.mjs
Agent workflow
- Agent orchestrator
src/agent-orchestrator/index.mjs - Code agent
src/code-agent/run.mjs - Project instructions
src/agent-orchestrator/project-instructions.mjs - Skills
src/skills/skill-matcher.mjs
AI providers
- DeepSeek client
src/providers/deepseek/client.mjs - Qwen client
src/providers/qwen/client.mjs - ChatGPT provider
src/providers/chatgpt/client.mjs - AI web providers
Context and memory
- Long-term memory
src/memory/store.mjs - Memory graph
src/memory/graph/store.mjs
Integrations
- ACP server
src/acp/server.mjs - Browser automation
src/browser/service.mjs - Voice input
src/stt/service.mjs - Telegram workflows
src/telegram/bot.mjs - IDE tools
Other components
- Developer
Connections 22
- Developer → Desktop app: uses
README.md - Developer → CLI: uses
README.md - Developer → Compatible API: connects tools
README.md - Developer → IDE tools: uses
README.md - Desktop app → Agent orchestrator: dispatches tasks
src/window-app/server.mjs - ACP server → Agent orchestrator: runs tasks
src/acp/server.mjs - Agent orchestrator → Code agent: runs task
src/agent-orchestrator/index.mjs - Agent orchestrator → Project instructions: assembles context
README.md - Agent orchestrator → Long-term memory: assembles context
README.md - Agent orchestrator → Memory graph: adds graph context
README.md - Agent orchestrator → Skills: matches skills
src/agent-orchestrator/index.mjs - Compatible API → DeepSeek client: calls
- Compatible API → Qwen client: calls
- Compatible API → ChatGPT provider: calls
- DeepSeek client → AI web providers: sends requests
README.md - Qwen client → AI web providers: sends requests
README.md - ChatGPT provider → AI web providers: sends requests
README.md - Developer → Browser automation: automates browsing
README.md - Developer → Voice input: dictates input
README.md - Developer → Telegram workflows: uses workflows
README.md - IDE tools → Compatible API: calls API
README.md - IDE tools → ACP server: uses ACP
README.md