Skip to main content

ACPs Academic Writer

Three specialist agents, one manuscript, one readiness report. A production-style multi-agent academic editing tool built on acps-sdk 2.1.0.

acps-academic-writer turns a single academic draft into three independent, auditable review products — IMRaD architecture, citation compliance, and academic register — then merges them into one weighted revision plan. Each reviewer is a real ACPs agent that publishes its own capability document (ACS), is discovered through ADP, and is driven through the AIP v2 task lifecycle over JSON-RPC.


Why the name

Part Meaning
ACPs The agent protocol family the project is built on: Agent Capability Specification (ACS), Agent Discovery Protocol (ADP) and Agent Interaction Protocol (AIP).
Academic Writer The domain: SCI manuscripts, dissertations, coursework essays and study-abroad reports.

The name states exactly what it is: an ACPs-native tool for academic writing. The acps- prefix keeps it consistent with the SDK ecosystem on PyPI.


Real scenarios

Scenario Pain point Which agent carries it
SCI / SSCI manuscript submission Reviewers reject papers for a missing gap statement, Results that over-interpret, or an APA list that does not match the body Structure + Citation
Master's / PhD dissertation chapter IMRaD sections drift, limitations vanish, citations mix IEEE and APA Structure + Citation
Study-abroad Essay / Report Clean grammar but colloquial register (a lot of, it's, proves) and unsupported claims Tone
Lab internal pre-submission check No time for a full language edit; need an auditable checklist All three

Why multi-agent instead of one prompt?

  • Separation of concerns — architecture, references and register each get a dedicated rubric and cannot drown each other out.
  • Parallel latency — the Leader dispatches three AIP tasks with asyncio.gather.
  • Auditability — every dimension has its own score, evidence and task trace.
  • Replaceability — swap the deterministic engine for an LLM per agent without touching the ACPs wiring.

Architecture

                     ADP discovery: filter skills.tags
 ┌───────────────────────────────────────────────────────────────────┐
 │                 Leader  (AcademicWriterSession)                   │
 │  AIC 1.2.156.3088.1.1.34C2.478BDF.00000L.0SEN                     │
 └──────┬────────────────────┬───────────────────────┬───────────────┘
        │ AIP start          │ AIP start             │ AIP start
        ▼                    ▼                       ▼
 ┌───────────────┐    ┌────────────────┐     ┌────────────────┐
 │StructureAgent │    │ CitationAgent  │     │   ToneAgent    │
 │…000001.0SEN   │    │ …000002.0SEN   │     │ …000003.0SEN   │
 │ IMRaD outline │    │ APA/MLA/IEEE   │     │ register &     │
 │ section roles │    │ phrases +      │     │ objectivity    │
 │ move coverage │    │ paraphrasing  │     │ hedging        │
 └──────┬────────┘    └───────┬────────┘     └───────┬────────┘
        │ AIP product         │ AIP product          │ AIP product
        └─────────────────────┴──────────┬───────────┘
                                         ▼
                          weighted synthesis 35 / 30 / 35
                                         ▼
                         ManuscriptReview (one revision plan)

Each agent is a FastAPI/uvicorn service on loopback exposing POST /aip/v2/rpc. LocalAgentMesh starts all three in background threads, publishes their ACS into an in-process ADP registry, and lets the Leader discover them by skill tag — the same path a remote deployment would use.

AIP task lifecycle

start ──► awaiting-completion ──► complete
  │               │
  └── product ────┘   (structure / citation / tone report as StructuredDataItem)

Task IDs and final states are embedded in ManuscriptReview.collaboration.


Agent roles

Agent Skill ID Input Output
StructureAgent academic-writer.structure Full AcademicDraft IMRaD outline with word budgets and sentence prompts, detected section roles, move coverage, missing chapters/moves, structure score
CitationAgent academic-writer.citation Full AcademicDraft In-text citation audit, reference-entry conformance, missing/unused references, phrase bank, paraphrases, citation score
ToneAgent academic-writer.tone Full AcademicDraft Informal lexis, contractions, subjective stance, vague quantifiers, absolutist claims, replacements, formality score

Weights: Structure 35% / Citation 30% / Tone 35%.


Install

python -m pip install acps-academic-writer

Local development:

python -m pip install -e ".[dev]"

No API key, network model, or external service is required. The bundled engine is deterministic, so the demo and tests produce reproducible output.


One-command demo

academic-writer demo
# or: python -m academic_writer demo

Review your own draft:

academic-writer review \
  --file examples/sample_draft.txt \
  --references-file examples/sample_references.txt \
  --style APA --venue sci-journal --discipline social-sciences \
  --topic "the effect of short-form video exposure on sustained attention"

What the demo prints (excerpt)

[ADP] 通过发现协议解析到以下 ACPs 智能体:
  1. StructureAgent  skill=academic-writer.structure
  2. CitationAgent   skill=academic-writer.citation
  3. ToneAgent       skill=academic-writer.tone
[Leader] 正在通过 AIP v2 并发派发 3 个审校任务(Structure / Citation / Tone)...

[StructureAgent] 论文架构 · IMRaD 大纲与章节覆盖 · 得分 62/100
  缺失章节: Discussion
  P3 [研究结果] 问题: 结果段出现 suggests / proves 等解释性动词,应移到 Discussion

[CitationAgent] 文献引用 · APA 格式审校 · 得分 59/100
  [引用风格不一致] 正文有 1 处引用与 APA 格式不一致:"[2]"。
  [正文引用缺条目] 正文引用在参考文献列表中找不到条目:zhang
  [条目未被引用] 参考文献列表中存在正文未引用的条目:wang

[ToneAgent] 学术语气 · 语域与客观性审校 · 得分 50/100
  #1 [口语化用词] "Nowadays" -> "in recent years"
  #4 [口语化用词] "really bad" -> "highly detrimental"
  #6 [绝对化断言] "proves" -> "suggests"

Leader 汇总 · Overall Readiness: 56.9/100

Build a wheel

python -m pip install --upgrade build twine
python -m build
# -> dist/acps_academic_writer-1.0.0-py3-none-any.whl
# -> dist/acps_academic_writer-1.0.0.tar.gz

Offline / already-provisioned environments:

python -m build --no-isolation

Validate the artifacts:

python -m twine check dist/*

Publish to PyPI

# 1) optional dry run on TestPyPI
python -m twine upload --repository testpypi dist/*

# 2) production upload (API token recommended)
$env:TWINE_USERNAME = "__token__"
$env:TWINE_PASSWORD = "pypi-<your-token>"
python -m twine upload dist/*

Then anyone can run:

python -m pip install acps-academic-writer
academic-writer demo

Project layout

acps-academic-writer/
├── pyproject.toml
├── README.md
├── LICENSE
├── examples/
│   ├── sample_draft.txt
│   └── sample_references.txt
├── src/academic_writer/
│   ├── agents/          # structure / citation / tone AIP agents
│   ├── engine.py        # deterministic editorial knowledge
│   ├── identity.py      # AIC + ACS builders
│   ├── leader.py        # ADP discovery + parallel AIP orchestration
│   ├── mesh.py          # local three-agent mesh
│   ├── runtime.py       # AIP RPC server + payload helpers
│   └── cli.py           # demo / review commands
└── tests/

Design notes

The engine is deliberately deterministic: no external LLM is called, so scores and evidence are reproducible in CI. To plug in an LLM, keep the ACPs wiring and replace AcademicWriterEngine.review_structure / review_citations / review_tone with model-backed implementations that return the same pydantic models.

License

MIT

Metadata

Release files for acps-academic-writer 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acps-academic-writer 1.0.0
File Size Uploaded Provenance Actions
acps_academic_writer-1.0.0.tar.gz 47.5 kB Without provenance Details for acps_academic_writer-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acps-academic-writer 1.0.0
File Interpreter ABI Platform Actions
acps_academic_writer-1.0.0-py3-none-any.whl Python 3 none any Details for acps_academic_writer-1.0.0-py3-none-any.whl

Total release size: 96.0 kB

Release files / acps_academic_writer-1.0.0.tar.gz

Download URL acps_academic_writer-1.0.0.tar.gz
Size 47.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1cfaed7c42965a86c253c0942cc5ddb2c50c0c0b3aa8dfddf644f21bd78b60ce
BLAKE2b-256 checksum
How to use checksums
475b054467c55f119caa9dd90acd95b17a19996cc3816ad61f24e0492d8f3afb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / acps_academic_writer-1.0.0-py3-none-any.whl

Download URL acps_academic_writer-1.0.0-py3-none-any.whl
Size 48.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7af449a6fec6ba695e86703df152f99057a007888b828f3af2032144f72da727
BLAKE2b-256 checksum
How to use checksums
8098f25d777452034af8495dcfa32c4a04fce5a5ec57bed976afd65b585b6f41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for acps-academic-writer 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page