LangCore Apollo combines the local agent runtime and the web frontend into one workspace.
agent/: TypeScript agent runtime, CLI, tools, skills, MCP integration, and multi-agent worker runtime.front/: Next.js web interface connected to the agent runtime.
Run the agent CLI:
cd agent
npm run dev -- --config agent.config.example.jsonRun the web frontend from the project root:
cd front
npm run devThen open:
http://localhost:3000
If port 3000 is already in use, run it on another port:
cd front
npm run dev -- --port 3011From the repository root:
docker compose up --buildThen open:
http://localhost:3000
If local development servers already use those ports:
FRONT_PORT=3010 RAG_PORT=4010 docker compose up --buildThe compose stack starts:
front: Next.js web app plus the local agent runtimerag-api: semantic retrieval APIpostgres: pgvector-backed PostgreSQL database
Optional runtime credentials can stay in agent/.env, front/.env, or front/.env.local; Docker Compose reads those files at startup and does not bake them into the image. Common variables:
ANTHROPIC_AUTH_TOKEN=...
ANTHROPIC_BASE_URL=https://open.bigmodel.cn/api/anthropic
ANTHROPIC_DEFAULT_HAIKU_MODEL=glm-5.1
GITHUB_TOKEN=...Stop the stack:
docker compose down