Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
22
- FastAPI service exposing “LLM-friendly tools” + Arachne autonomous research APIs.
Sign in to like and favorite skills
src/main.py (loads .env, initializes Postgres + legacy SQLite, registers routers, instruments Logfire).src/routers/jobs.py
POST /jobs/{id}/chat and SSE POST /jobs/{id}/chat/stream (Architect service: src/agent/architect.py).src.tasks.agent_tasks.run_phase2_executor checkpoints into Postgres ExecutionLog.src/routers/chat.py
src/tasks/chat_tasks.py).docker compose up -d --build apiagents celery-worker../run.sh (or uvicorn src.main:app --reload --port 8359).src/routers/* and are registered in src/main.py.src/schemas/*.src/db/models.py; session helpers: src/db/session.py (FastAPI dependency get_db).src/tasks/celery_app.py (routed to the arachne queue).headers=make_celery_headers({...}) from src/core/trace_propagation.py.attached_otel_context_from_headers(headers).src/core/logging.get_logger(__name__) (don’t print).src/services/python_executor.py (PythonExecutor) for code execution./var/run/docker.sock mount and python-sandbox:latest image (built by compose sandbox-builder)../run_tests.sh (supports --unit, --integration, --new, --quick, --coverage).ruff check . and ruff format . (see pyproject.toml, Python 3.13).