taskingai
Operate the TaskingAI self-hosted LLM BaaS platform, including deployment configuration, backend APIs, inference providers, plugin bundles, retrieval, assistant generation, and troubleshooting.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- taskingai
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Operate the TaskingAI self-hosted LLM BaaS platform, including deployment configuration, backend APIs, inference providers, plugin bundles, retrieval, assistant generation, and troubleshooting.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/repo-provenance.md3.0 KB
- 参考文档references/repo-routing-metadata.json488 B
- 参考文档references/troubleshooting.md4.8 KB
03 SKILL.md 正文
TaskingAI
Use this repo skill for TaskingAI tasks: self-hosting the multi-service stack, configuring backend/inference/plugin services, reasoning about TaskingAI backend API objects, provider/model schema catalogs, plugin bundles, retrieval/RAG objects, assistant generation, OpenAI-compatible endpoints, credentials, and service troubleshooting.
TaskingAI is a BaaS-style platform for LLM agent development and deployment. The source repo is a service monorepo, not a single importable Python package: the public stack contains a frontend console, backend API/web services, an inference microservice, a plugin microservice, Postgres/pgvector, Redis, and nginx.
Start here
- Read references/repo-provenance.md before relying on this skill for a checkout refresh or stale-code decision.
- Use references/troubleshooting.md for cross-cutting import, Python-version, Docker, service-URL, credential, database, Redis, and storage failures.
- Use the sub-skill route map below to load focused workflow details.
- If a user supplies a TaskingAI checkout, run the bundled static helpers in scripts/ for safe route/catalog/env inspection before starting services.
Sub-skill route map
| User task | Load |
|---|---|
Self-host TaskingAI, inspect Docker Compose topology, audit .env, diagnose nginx/ports/health checks, choose local vs S3 storage, or wire service URLs |
deployment-configuration |
Work with backend REST objects, /v1 or /api/v1 route families, API keys/admin auth, assistants/chats/messages, retrieval collections/records/chunks, model/tool/action objects, OpenAI-compatible backend endpoints, file/image uploads, or backend tests |
backend-api |
Work with inference providers, provider/model schemas, chat_completion, text_embedding, rerank, wildcard/custom-host models, local providers such as Ollama/LM Studio/LocalAI, credential verification, provider icons, proxy/URL blacklist behavior, or provider errors |
inference-providers |
| Work with plugin bundles, built-in tool schemas, plugin execution payloads, no-credential tools such as arithmetic/calculator, generated image storage, bundle credential validation, or plugin service failures | plugin-bundles |
Safe static helpers
These scripts are bundled with the skill and are safe by default. They read user-supplied files or source trees; they do not start Docker, import TaskingAI modules, call providers, read credentials, or mutate services.
- scripts/check_taskingai_env.py: validate dotenv-style TaskingAI environment variables for Compose, backend API/web, inference, or plugin profiles.
- scripts/summarize_taskingai_routes.py: statically list FastAPI route decorators for backend, inference, and plugin services in a TaskingAI checkout.
- scripts/inspect_taskingai_catalogs.py: statically summarize inference provider/model schemas and plugin bundle/plugin catalogs.
Example static checks for a user-provided checkout:
python scripts/check_taskingai_env.py --env-file ./docker/.env --profile compose
python scripts/summarize_taskingai_routes.py --repo-root ./TaskingAI --service backend
python scripts/inspect_taskingai_catalogs.py --repo-root ./TaskingAI
Installation and runtime stance
- For ordinary self-hosting, prefer the documented Docker Compose path: configure an env file, then start the stack only when the user authorizes Docker image pulls, service startup, port binding, and persistent volumes.
- For service source inspection or backend development, use Python 3.10. The verified backend dependency set includes
aioredis==2.0.1, which fails on Python 3.11 with a duplicateTimeoutErrorbase-class import error. - Do not treat
pip install taskingaias installing this service repo. The README'staskingaiPython package is the client SDK used against a running server. - Inference/provider and plugin execution often require real credentials, network access, provider quotas, object storage, and running services. Use static checks first; run credentialed or service-native tests only after explicit authorization.
Common decision points
- Backend API vs web mode: API mode uses
/v1; web-console mode uses/api/v1plus admin/web routes. Do not mix route prefixes with the wrong auth mode. - Backend orchestration vs delegated services: backend generation orchestrates retrieval, tools, and model calls, but provider-specific behavior lives in the inference service and bundle-specific behavior lives in the plugin service.
- Local vs S3 storage: local storage depends on
HOST_URLand writable volume paths; S3 depends on endpoint, bucket, access keys, and public-domain behavior. See deployment and plugin troubleshooting before blaming generated URLs. - Provider errors: distinguish local request/schema/proxy validation (
REQUEST_VALIDATION_ERROR) from upstream provider/auth/quota/network failures (PROVIDER_ERROR). - No-credential plugin smoke tasks: prefer arithmetic or calculator-style bundles for synthetic tool checks; image/chart plugins require storage configuration even when they do not require provider credentials.
What this skill does not cover
- Deep frontend React component development.
- Generic FastAPI, Docker, Postgres, Redis, S3, or provider-SDK tasks that do not involve TaskingAI semantics.
- Running broad native tests, Docker Compose, provider calls, or storage integration without user approval and a suitable environment.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.