What if OpenAI Deep Research and Dify were one platform? OpenAgent — harness architecture for rapidly building vertical AI agents, with deep reasoning loops, vi
What if OpenAI Deep Research and Dify were one platform? OpenAgent — harness architecture for rapidly building vertical AI agents, with deep reasoning loops, vi
OpenAgent is a full-stack platform for teams building AI applications rather than a single chat demo. The repository combines a Flask backend, Celery workers, a Vue 3 frontend, visual workflow authoring, dataset and document management, public app and workflow publishing, and OpenAPI-based delivery.
What the current codebase already supports:
POST /api/openapi/chat.Click the diagram to view the full-resolution architecture image.
ATLASCLOUD_API_KEY and ATLASCLOUD_API_BASE.(back to top)
Clone the repository.
git clone https://github.com/Haohao-end/openagent.git
cd openagent
Create the runtime environment file.
cp api/.env.example api/.env
Review the minimum required settings in api/.env.
JWT_SECRET_KEYPOSTGRES_PASSWORDREDIS_PASSWORDWEAVIATE_API_KEYVITE_API_PREFIXOPENAI_API_KEY, ATLASCLOUD_API_KEY, DEEPSEEK_API_KEY, or DASHSCOPE_API_KEYStart the Docker stack.
cd docker
docker compose up -d --build
Open the local services.
| Service | URL | Notes |
|---|---|---|
| Frontend | http://localhost:3000 | Vue 3 web UI |
| API | http://localhost:5001 | Flask REST API |
| Nginx | http://localhost | Reverse proxy |
Backend:
cd api
pip install -r requirements.txt
flask run --port 5001
Frontend:
cd ui
npm install
npm run serve
Vite serves the frontend on port 5173 by default. The frontend configuration resolves the API base from VITE_API_PREFIX, and local development commonly proxies /api to the Flask backend.
Useful commands:
cd api
pytest
cd ui
npm run type-check
npm run lint
npm run build
npm run test:unit -- --run
(back to top)
Use the home page as the default assistant entry point to route user questions to the most relevant published public agents through A2A, or describe a new idea in natural language and trigger AI app creation. The same surface also supports multi-turn chat, suggested prompts, image upload, and audio input.
The app workspace is the main work area for an AI app, not a standalone settings page. The left side handles model, prompt, and capability bindings. The right side is used for live debugging, execution traces, and result checks. In the current codebase, the README term Deep Research maps to the deep thinking mode behind enable_deep_thinking.
Key capabilities:
Deep Research enabled, the app can break work into steps and coordinate bound capabilities across a longer execution chain.Author workflows with nodes such as LLM, tool, dataset retrieval, code, HTTP request, template transform, text processor, variable assigner, parameter extractor, if/else, start, and end.
Create datasets, upload documents, inspect segments, and wire retrieval nodes into workflows or AI apps for knowledge-enabled behavior.
Publish an app and call it over POST /api/openapi/chat with standard or streaming responses, including support for multi-turn conversation identifiers.
(back to top)
The repository already includes automated backend and frontend tests.
cd api && pytestcd ui && npm run test:unit -- --runcd ui && npm run type-checkcd ui && npm run build(back to top)
No open issues yet, or sync has not completed.