Cloud-ready agent platform built on top of ya-agent-sdk
Project description
YA Agent Platform
Cloud-ready agent platform package for the ya-mono workspace.
Scope
This package initializes the backend service for a complete agent platform:
- management API for platform and workspace administration
- chat-facing API for first-party Chat UI
- bridge-facing API surface for IM connectors
- runtime integration points for
ya-agent-sdk - persistence scaffold with PostgreSQL, Redis, packaged Alembic migrations, and startup auto-migration
- specification documents that define the target architecture before full implementation
Current Layout
packages/ya-agent-platform/
├── README.md
├── infra/
│ ├── dev.env
│ └── docker-compose.dev.yml
├── pyproject.toml
├── spec/
├── start.sh
├── tests/
└── ya_agent_platform/
├── alembic/
├── alembic.ini
├── api/
├── app.py
├── cli.py
├── config.py
├── db/
└── redis.py
Quick Start
From the workspace root:
uv sync --all-packages
make platform-infra-up
set -a && source packages/ya-agent-platform/infra/dev.env && set +a
uv run --package ya-agent-platform ya-agent-platform serve --reload
The development server listens on http://127.0.0.1:9042 by default.
Database and Redis Commands
Use the package CLI directly:
uv run --package ya-agent-platform ya-agent-platform migrate
uv run --package ya-agent-platform ya-agent-platform db current
uv run --package ya-agent-platform ya-agent-platform db history
uv run --package ya-agent-platform ya-agent-platform db migrate "add workspace tables"
Use the workspace Makefile wrappers:
make platform-db-upgrade
make platform-db-current
make platform-db-history
make platform-db-migrate MSG="add workspace tables"
Auto Migration
YA_PLATFORM_AUTO_MIGRATE=true is the default behavior.
ya-agent-platform serveapplies migrations before boot whenYA_PLATFORM_DATABASE_URLis configuredya-agent-platform migrateruns migrations separatelystart.shapplies migrations before starting the server in container environments
Development Infrastructure
The dev compose file starts PostgreSQL and Redis:
make platform-infra-up
make platform-infra-status
make platform-infra-down
Default development URLs live in packages/ya-agent-platform/infra/dev.env.
Combined Docker Image
The repository root Dockerfile builds a single production image that contains:
- the
ya-agent-platformbackend - the bundled
ya-agent-platform-webfrontend - FastAPI static serving for the built web assets
- startup auto-migration support through
packages/ya-agent-platform/start.sh
Build locally from the repository root:
docker build -t ya-agent-platform:dev .
Run locally:
docker run --rm -p 9042:9042 ya-agent-platform:dev
The container serves the combined application on http://127.0.0.1:9042.
Initial API Surface
GET /healthz— service health probe with postgres and redis component statusGET /api/v1/platform/info— platform metadata and enabled surfacesGET /api/v1/platform/topology— high-level component topology for the UI and tooling
Specification Set
spec/README.mdspec/000-platform-overview.mdspec/001-system-architecture.mdspec/002-bridge-contract.mdspec/003-http-api.md
Next Build Phase
- add persistence models and first migrations
- add runtime orchestration and worker execution
- add bridge registry and delivery guarantees
- connect the web app to live platform endpoints
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ya_agent_platform-0.58.3.tar.gz.
File metadata
- Download URL: ya_agent_platform-0.58.3.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bfd2add708678aee4972ef174826aa39467014eefadfce075a180d4ef3cf371
|
|
| MD5 |
3cc5e12d759eeeb6cc516d75b88addc5
|
|
| BLAKE2b-256 |
a3e407cc19dad8b30e571f7679436f53b3a360874974da5d35f6ce744869fb5e
|
File details
Details for the file ya_agent_platform-0.58.3-py3-none-any.whl.
File metadata
- Download URL: ya_agent_platform-0.58.3-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1b0fc48027e4f84edd822d61917d5f5367b248299407222366ddca7faaeda2e
|
|
| MD5 |
aea2b2ce3087100264af4933544b4a74
|
|
| BLAKE2b-256 |
21c2c174a30e2f1bc838155ec106f83218650706d68aece07eada69911e6fa73
|