Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Docs

# Every PR and main push builds the MkDocs Material site to validate it;
# pushes to main additionally deploy the HTML to GitHub Pages. Docs track
# main (latest), independent of the tag-driven release.yml flow.
on:
push:
branches: [main]
paths:
- 'docs/**'
- 'src/dashscope_agenticx/**'
- 'mkdocs.yml'
- 'requirements-doc.txt'
- '.github/workflows/docs.yml'
pull_request:
paths:
- 'docs/**'
- 'src/dashscope_agenticx/**'
- 'mkdocs.yml'
- 'requirements-doc.txt'
- '.github/workflows/docs.yml'
workflow_dispatch:

permissions:
contents: read

concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
# mkdocstrings imports the real package, so install it alongside the
# doc toolchain. Core dependencies suffice: every Reference target
# guards optional imports (textual/playwright/etc.) lazily.
- run: python -m pip install -r requirements-doc.txt .
- name: Build HTML
run: mkdocs build --strict
- name: Upload site artifact
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v3
with:
path: site

deploy:
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ Thumbs.db
*.webm
*.wav
*.mp3
# Docs site assets are intentional, not test artifacts
!docs/assets/*.png

# npm side products (agenticx isn't a Node project; ignore stray init artifacts)
node_modules/
Expand All @@ -49,3 +51,7 @@ package-lock.json
/md/
/.aoneci/
/.gitlab-ci.yml

# MkDocs build output and local docs virtualenv
/site
.venv-docs/
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ repos:
- id: check-ast
- id: sort-simple-yaml
- id: check-yaml
# mkdocs.yml uses !!python/name: tags for the Material emoji
# extension; the safe loader rejects them.
args: [--unsafe]
exclude: |
(?x)^(
meta.yaml
Expand Down
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,29 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.2] - 2026-11-19

### Added

- Bilingual (English / 中文) MkDocs Material documentation site under `docs/`:
quickstart, configuration, CLI and slash-command reference, migration,
embedding SDK / tools & skills / subagents & memory / security & platform
guides, developer guide, about, release notes, and an API reference built
from source with mkdocstrings.
- GitHub Actions workflow building the site with `mkdocs build --strict` on
pull requests and deploying to GitHub Pages on pushes to `main`.
- README documentation-site links pointing to the published bilingual docs.

### Changed

- The doc-code consistency guard accepts the remote DashScope logo URL used
by the READMEs.

### Fixed

- Browser tool docstring argument indentation so the API reference parses
cleanly under `mkdocs build --strict`.

## [1.0.1] - 2026-11-11

### Added
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DashScope AgenticX

![DashScope AgenticX](logo.svg)
![DashScope AgenticX](https://raw.githubusercontent.com/dashscope/dashscope-agenticx/main/logo.svg)

[English](README.md) | [中文](README_zh.md)

Expand Down Expand Up @@ -264,8 +264,13 @@ tests alone does not publish or certify a final 1.0 release.

## Documentation

The bilingual documentation site (English / 中文) is published at
<https://dashscope.github.io/dashscope-agenticx/> — guides, configuration,
CLI reference, and API reference. Source pages live under [`docs/`](docs/).

| Document | Contents |
|---|---|
| [Documentation site](https://dashscope.github.io/dashscope-agenticx/) / [中文文档](https://dashscope.github.io/dashscope-agenticx/zh/) | Bilingual guides, configuration, CLI, and API reference |
| [User guide](user-guide.md) / [中文手册](user-guide_zh.md) | Full commands, configuration, tools, modules, and development reference |
| [Migration](migration-to-1.0.md) | Legacy naming, directories, credentials, and compatibility |
| [Changelog](CHANGELOG.md) | 1.0 release notes, upcoming changes, and archived release history |
Expand Down
7 changes: 6 additions & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DashScope AgenticX

![DashScope AgenticX](logo.svg)
![DashScope AgenticX](https://raw.githubusercontent.com/dashscope/dashscope-agenticx/main/logo.svg)

[English](README.md) | [中文](README_zh.md)

Expand Down Expand Up @@ -242,8 +242,13 @@ App 校验和供应链检查是独立发布要求;本地单测通过不等于

## 文档

双语文档站(English / 中文)发布于
<https://dashscope.github.io/dashscope-agenticx/>,包含专题指南、配置、
命令行参考与 API 参考。源码页面位于 [`docs/`](docs/)。

| 文档 | 内容 |
|---|---|
| [文档站](https://dashscope.github.io/dashscope-agenticx/) / [English docs](https://dashscope.github.io/dashscope-agenticx/) | 双语指南、配置、命令行与 API 参考 |
| [中文使用手册](user-guide_zh.md) / [English guide](user-guide.md) | 完整命令、配置、工具、模块和开发参考 |
| [迁移指南](migration-to-1.0.md) | 旧命名、目录、凭据和兼容处理 |
| [Changelog](CHANGELOG.md) | 1.0 发布说明、后续改动和归档的历史版本 |
Expand Down
4 changes: 2 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release Process

The release version is `1.0.1`. Updating the version and pushing or merging
The release version is `1.0.2`. Updating the version and pushing or merging
Git branches does not publish packages or create release tags. External
publication requires the checks and explicit approval below.

Expand All @@ -15,7 +15,7 @@ publication requires the checks and explicit approval below.
metadata, and `agenticx --version` agree.
6. Only when external publication is explicitly approved, tag `v<version>` and
publish the `dashscope-agenticx` wheel/sdist plus checksums and SBOM.
7. Archive the migration guide and final benchmark/eval reports for `1.0.1`.
7. Archive the migration guide and final benchmark/eval reports for `1.0.2`.

Main-branch pushes and pull requests run unit tests and pre-commit checks.
Before pushing a release tag, confirm the tagged source passed those checks.
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Supported versions

Security fixes target the active `1.0.1` release line.
Security fixes target the active `1.0.2` release line.

## Reporting

Expand Down
Binary file added docs/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions docs/en/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
description: "About DashScope AgenticX: identity, requirements, scope, and project boundaries."
---
# About AgenticX

**DashScope AgenticX** is a Python Agent Runtime for building and running
domain experts. It connects models, tools, Skills, permissions, and
persistent sessions through one runtime, with a terminal interface and APIs
for embedded applications.

Current version: **{{ agenticx_version }}**.

## Identity

| Aspect | Value |
|---|---|
| Product | AgenticX / DashScope AgenticX |
| Distribution | [`dashscope-agenticx`](https://pypi.org/project/dashscope-agenticx/) |
| Import namespace | `dashscope_agenticx` |
| Command | `agenticx` (no official short alias) |
| Workspace | `.agenticx/` |
| Environment | `AGENTICX_*` |
| Global app name | `AgenticX` (platform-standard directory via `platformdirs`) |
| License | MIT |
| Source | [github.com/dashscope/dashscope-agenticx](https://github.com/dashscope/dashscope-agenticx) |

The bare `agenticx` PyPI distribution is a **different, unrelated project**.
Install `dashscope-agenticx`.

## Requirements

- **Python 3.10+** for the core Runtime, CLI, and SDK.
- The Pillow-backed `vision` and `media` extras require **Python 3.11+**;
the `all` extra omits Pillow on Python 3.10.
- A model provider API key for cloud providers (e.g. `DASHSCOPE_API_KEY`
for the default Tongyi/DashScope provider), or a local provider such as
`ollama` for fully offline use.
- Optional capabilities (TUI, provider SDKs, web, browser, voice, camera)
are installed as extras and are not prerequisites for the core Runtime.

CI tests Python 3.10–3.13 with Ubuntu/macOS/Windows smoke checks. Those
checks are not a guarantee that every optional device or sandbox backend
works on every OS.

## What AgenticX is

- A local assistant you run directly in a terminal.
- An embeddable Python runtime (`run_once`, `run_events`, `create_agent`,
`RuntimeBuilder`) for application integration.
- A packaging layer for domain experts as versioned App Bundles, with
DashScope SDK Expert and Bailian Expert as bundled templates.

## What AgenticX is not

- **Not a hosted service.** It runs in your process; the localhost Server
is a token-authenticated local API, not an Internet-facing deployment.
- **Not a hardened OS sandbox.** OS sandbox support (Seatbelt/bubblewrap)
is defense in depth; availability and limitations depend on the backend.
- **Not a complete workflow platform.** Voice, camera, browser, web search,
scheduler, and experimental features are optional.

A checksum proves content identity, not publisher authenticity; a local
trust flag is not a verified digital signature. Read the
[security guide](guides/security-and-platform.md) and the repository
`SECURITY.md` before installing third-party applications.

## Dependencies

The core install stays small. Optional packs add provider SDKs, the Textual
TUI, web/browser tooling, and media (voice/camera/vision) dependencies.
Installing dependencies does not grant an App permissions. See
[Quickstart](quickstart.md#optional-extras) for the extras table.

## License

MIT, as declared in `pyproject.toml`.
Loading
Loading