Didactctopus is a multi-talented AI system to assist autodidacts in gaining mastery of a chosen topic. Want to learn and get an assist doing it? Didactopus fits the bill.
Go to file
welsberr 886b7ac418 Docs and README fixup 2026-03-14 21:29:26 -04:00
.github/workflows Initial ChatGPT sources 2026-03-12 19:59:59 -04:00
.update_readmes Apply ZIP update: 085-didactopus-workspace-manager-update.zip [2026-03-14T13:18:42] 2026-03-14 13:29:55 -04:00
artwork Added dependency graph checks, artwork. 2026-03-12 21:12:53 -04:00
bad-generated-pack Apply ZIP update: 130-didactopus-semantic-qa-update.zip [2026-03-14T13:19:13] 2026-03-14 13:29:55 -04:00
configs Apply ZIP update: 110-didactopus-curriculum-path-quality-update.zip [2026-03-14T13:18:59] 2026-03-14 13:29:55 -04:00
data/packs Apply ZIP update: 085-didactopus-workspace-manager-update.zip [2026-03-14T13:18:42] 2026-03-14 13:29:55 -04:00
docs Docs and README fixup 2026-03-14 21:29:26 -04:00
domain-packs Concept graph and learner updates. 2026-03-13 04:12:12 -04:00
example-pack Apply ZIP update: 085-didactopus-workspace-manager-update.zip [2026-03-14T13:18:42] 2026-03-14 13:29:55 -04:00
examples Course Review Workflow. 2026-03-13 08:04:26 -04:00
generated-pack Apply ZIP update: 130-didactopus-semantic-qa-update.zip [2026-03-14T13:19:13] 2026-03-14 13:29:55 -04:00
samples Apply ZIP update: 185-didactopus-course-compliance-ui-prototype.zip [2026-03-14T13:20:21] 2026-03-14 13:29:55 -04:00
src/didactopus After Codex fixes to test, ingestion, run, and visualization. 2026-03-14 17:19:15 -04:00
tests After Codex fixes to test, ingestion, run, and visualization. 2026-03-14 17:19:15 -04:00
webui Apply ZIP update: 280-didactopus-review-workbench-and-synthesis-scaffold.zip [2026-03-14T13:21:20] 2026-03-14 13:29:56 -04:00
workspaces Apply ZIP update: 130-didactopus-semantic-qa-update.zip [2026-03-14T13:19:13] 2026-03-14 13:29:55 -04:00
.gitignore Initial ChatGPT sources 2026-03-12 19:59:59 -04:00
.zip_update_manifest.json After Codex fixes to test, ingestion, run, and visualization. 2026-03-14 17:19:15 -04:00
Dockerfile Apply ZIP update: 085-didactopus-workspace-manager-update.zip [2026-03-14T13:18:42] 2026-03-14 13:29:55 -04:00
FAQ.md Apply ZIP update: 275-didactopus-review-promotion-and-synthesis-engine.zip [2026-03-14T13:21:15] 2026-03-14 13:29:56 -04:00
LICENSE Initial ChatGPT sources 2026-03-12 19:59:59 -04:00
Makefile Initial ChatGPT sources 2026-03-12 19:59:59 -04:00
README.md Docs and README fixup 2026-03-14 21:29:26 -04:00
docker-compose.yml Apply ZIP update: 085-didactopus-workspace-manager-update.zip [2026-03-14T13:18:42] 2026-03-14 13:29:55 -04:00
pyproject.toml Apply ZIP update: 270-didactopus-promotion-target-objects-layer.zip [2026-03-14T13:21:12] 2026-03-14 13:29:56 -04:00
workspace_registry.json Apply ZIP update: 090-didactopus-draft-pack-import-workflow-update.zip [2026-03-14T13:18:46] 2026-03-14 13:29:55 -04:00

README.md

Didactopus

Didactopus mascot

Didactopus is a local-first Python codebase for turning educational source material into structured learning domains, evaluating learner progress against those domains, and exporting review, mastery, and skill artifacts.

At a high level, the repository does five things:

  1. Ingest source material such as Markdown, text, HTML, PDF-ish text, DOCX-ish text, and PPTX-ish text into normalized course/topic structures.
  2. Distill those structures into draft domain packs with concepts, prerequisites, roadmaps, projects, attribution, and review flags.
  3. Validate, review, and promote those draft packs through a workspace-backed review flow.
  4. Build merged learning graphs, rank next concepts, accumulate learner evidence, and export capability profiles.
  5. Demonstrate end-to-end flows, including an MIT OCW Information and Entropy demo that produces a pack, learner outputs, a reusable skill bundle, and progress visualizations.

What Is In This Repository

  • src/didactopus/ The application and library code.
  • tests/ The automated test suite.
  • domain-packs/ Example and generated domain packs.
  • examples/ Sample source inputs and generated outputs.
  • skills/ Repo-local skill bundles generated from knowledge products.
  • webui/ A local review/workbench frontend scaffold.
  • docs/ Focused design and workflow notes.

Core Workflows

1. Course and topic ingestion

The ingestion path converts source documents into NormalizedDocument, NormalizedCourse, and TopicBundle objects, then emits a draft pack.

Main modules:

  • didactopus.document_adapters
  • didactopus.course_ingest
  • didactopus.topic_ingest
  • didactopus.rule_policy
  • didactopus.pack_emitter

Primary outputs:

  • pack.yaml
  • concepts.yaml
  • roadmap.yaml
  • projects.yaml
  • rubrics.yaml
  • review_report.md
  • conflict_report.md
  • license_attribution.json

2. Review and workspace management

Draft packs can be brought into review workspaces, edited, and promoted to reviewed packs.

Main modules:

  • didactopus.review_schema
  • didactopus.review_loader
  • didactopus.review_actions
  • didactopus.review_export
  • didactopus.workspace_manager
  • didactopus.review_bridge
  • didactopus.review_bridge_server

Key capabilities:

  • create and list workspaces
  • preview draft-pack imports
  • import draft packs with overwrite checks
  • save review actions
  • export promoted packs
  • export review_data.json for the frontend

3. Learning graph and planning

Validated packs can be merged into a namespaced DAG, including explicit overrides and stage/project catalogs.

Main modules:

  • didactopus.artifact_registry
  • didactopus.learning_graph
  • didactopus.graph_builder
  • didactopus.concept_graph
  • didactopus.planner
  • didactopus.adaptive_engine

Key capabilities:

  • dependency validation for packs
  • merged prerequisite DAG construction
  • roadmap generation from merged stages
  • graph-aware next-concept ranking
  • adaptive plan generation from current mastery

4. Evidence, mastery, and capability export

Learner progress is represented as evidence summaries plus exported capability artifacts.

Main modules:

  • didactopus.evidence_engine
  • didactopus.evaluator_pipeline
  • didactopus.progression_engine
  • didactopus.mastery_ledger
  • didactopus.knowledge_export

Key capabilities:

  • weighted evidence ingestion
  • confidence estimation
  • multidimensional mastery checks
  • resurfacing weak concepts
  • capability profile JSON export
  • markdown capability reports
  • artifact manifests

5. Agentic learner demos and visualization

The repository includes deterministic agentic demos rather than a live external model integration.

Main modules:

  • didactopus.agentic_loop
  • didactopus.ocw_information_entropy_demo
  • didactopus.ocw_progress_viz

Generated demo artifacts:

  • domain-packs/mit-ocw-information-entropy/
  • examples/ocw-information-entropy-run/
  • skills/ocw-information-entropy-agent/

Quick Start

Install

pip install -e .

Run tests

pytest

Generate the MIT OCW demo pack, learner outputs, and skill bundle

python -m didactopus.ocw_information_entropy_demo

This writes:

  • domain-packs/mit-ocw-information-entropy/
  • examples/ocw-information-entropy-run/
  • skills/ocw-information-entropy-agent/

Render learner progress visualizations

Path-focused view:

python -m didactopus.ocw_progress_viz

Full concept map including noisy non-path concepts:

python -m didactopus.ocw_progress_viz --full-map

Run the review bridge server

python -m didactopus.review_bridge_server

The default config file is configs/config.example.yaml.

Current State

This repository is functional, but parts of it remain intentionally heuristic.

What is solid:

  • pack validation and dependency checks
  • review-state export and workspace import flow
  • merged learning graph construction
  • weighted evidence and capability exports
  • deterministic agentic demo runs
  • generated skill bundles and progress visualizations

What remains heuristic or lightweight:

  • document adapters for binary formats are simplified text adapters
  • concept extraction can produce noisy candidate terms
  • evaluator outputs are heuristic rather than formal assessments
  • the agentic learner loop uses synthetic attempts
  • the frontend and bridge flow are local-first scaffolds, not a hosted product

MIT OCW Demo Notes

The MIT OCW Information and Entropy demo is grounded in the MIT OpenCourseWare course page and selected unit/readings metadata, then converted into a local course source file for reproducible ingestion. The resulting generated pack and learner outputs are intentionally reviewable rather than presented as authoritative course mirrors.