Metadata-Version: 2.4
Name: samcoadk
Version: 0.5.0
Summary: A small Agent Development Kit — Agent, Runner, SessionService, tools, callbacks and A2A.
Author: samcoadk contributors
License-Expression: MIT
Project-URL: Homepage, https://bitbucket.org/samco-team/samco-adk
Project-URL: Repository, https://bitbucket.org/samco-team/samco-adk
Project-URL: Issues, https://bitbucket.org/samco-team/samco-adk/issues
Keywords: agents,llm,adk,mcp,a2a,sessions,tools
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: mongo
Requires-Dist: pymongo>=4.6; extra == "mongo"
Provides-Extra: mysql
Requires-Dist: PyMySQL>=1.1; extra == "mysql"
Provides-Extra: postgres
Requires-Dist: psycopg[binary]>=3.1; extra == "postgres"
Provides-Extra: server
Requires-Dist: fastapi>=0.110; extra == "server"
Requires-Dist: uvicorn[standard]>=0.27; extra == "server"
Requires-Dist: pydantic>=2; extra == "server"
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.40; extra == "anthropic"
Provides-Extra: openai
Requires-Dist: openai>=1.40; extra == "openai"
Provides-Extra: gemini
Requires-Dist: google-genai>=0.3; extra == "gemini"
Provides-Extra: observe
Requires-Dist: samco-observe-sdk>=0.1.1; extra == "observe"
Provides-Extra: all
Requires-Dist: samcoadk[mongo,mysql,server]; extra == "all"
Provides-Extra: test
Requires-Dist: samcoadk[all]; extra == "test"
Requires-Dist: pytest>=8; extra == "test"
Provides-Extra: dev
Requires-Dist: samcoadk[test]; extra == "dev"
Requires-Dist: build>=1.0; extra == "dev"
Requires-Dist: twine>=5.0; extra == "dev"
Dynamic: license-file

# Samco ADK

## Agent Factory runtime: `uvicorn main:app`

Every Agent Factory agent runs this: the plain Python base image, `pip install -r requirements.txt`, then
`uvicorn main:app` (port 8000 by default), exactly as beta Jenkins builds the repo. No Hermes.

| Path | What |
|---|---|
| `main.py` | Fetches the agent's spec (`AGENT_NAME`, `CONTROL_PLANE_URL`) and serves it; with no spec it stops |
| `runtime/` | The Factory contract (`/run`, `/runs/<id>`, `/health`, A2A, `/plugins/universal_oauth/*`, `/plugins/host_table/refresh`), MCP tools, approvals, runs |
| `samcoadk/` | Our agent library: Agent, Runner, LLM, MCP, sessions, skills, A2A |
| `universal_oauth/` | Per-user MCP sign-in and host-table DNS (copied from `universal-oauth-plugin`; no agent framework) |

What it does not have yet, from the Hermes worker: memory (`memory.enabled`), the code sandbox
(`sandbox.enabled`), tool deferral, context compression, learned skills, and the `/v1` API with
`sandbox_files`. A spec that enables memory or the sandbox boots with them off and says so in the log.

Tests: `pip install -r requirements.txt pytest && python -m pytest tests`.

## Hermes worker and sandbox platform

| Directory | What | Deploy |
|---|---|---|
| [`hermes-worker/`](hermes-worker/README.md) | Hermes Agent v0.23.1 in API mode: a stateless agent service any project calls over HTTP (`/v1/runs`) | Anywhere; needs an LLM endpoint and the sandbox platform's URL + token |
| [`sandbox-platform/`](sandbox-platform/README.md) | The sandbox control plane (agent-runtime-sandbox + OpenSandbox + ClickHouse + S3) where workers' code runs | Once, shared by all workers |

`vendor/hermes-agent` is a read-only checkout of Hermes at the `v0.23.1` tag, the same code as the pinned image,
kept for reference. Nothing is built from it.

Quick start on one machine: follow `sandbox-platform/README.md` ("Run"), then `hermes-worker/README.md` ("Deploy").
