# Posoco > Posoco is a MoonBit LLM agent framework and runtime. The core owns the agent > loop and its invariants; every runtime capability — model, tool, session, > observer, hook, UI, command, prompt, memory, lifecycle — is injected through > open port traits. Products compose one `Agent(exts~, config~, events~)`, and > the core never dictates shape. Facts a reader usually needs: - Language: MoonBit. Install: `moon add colmugx/posoco@0.28.0`. - Architecture: hexagonal / ports-and-adapters; one `Agent` deep module per product, extensions self-report their ports through `ExtensionManifest`. - Ships no model provider and no credentials: model access is the `ModelPort` you inject. - Turn semantics: one terminal event per started turn (`TurnCompleted`, `TurnFailed`, `TurnCancelled`); cancellation is never reported as a failure. ## Start here - [README](https://github.com/colmugx/posoco/blob/main/README.mbt.md): what Posoco is, when to choose it, installation and the three ways to a running agent. - [中文 README](https://github.com/colmugx/posoco/blob/main/README-zh.mbt.md): same content in Chinese. - [examples/quickstart](https://github.com/colmugx/posoco/tree/main/examples/quickstart): a complete, no-network executable agent (fixed-reply model, in-memory session). - [Posoco 101](https://github.com/colmugx/posoco/tree/main/posoco-101): a chapter-by-chapter course from "what is an agent loop" to a mini coding agent; every chapter is a runnable `.mbt.md` document. ## Contracts - [API docs](https://mooncakes.io/docs/colmugx/posoco): generated API surface on mooncakes. - [Typed events: resources, takeover and migration](https://github.com/colmugx/posoco/blob/main/src/events/MIGRATION.md): one event resource per Agent, owner-bound publishing, namespaces, closing. - [UI protocol](https://github.com/colmugx/posoco/blob/main/docs/ui-protocol.md): owner-bound UI resources, ordered push observation, structured questions. - [Runtime guide](https://github.com/colmugx/posoco/blob/main/docs/RUNTIME.md): runtime layering and execution model. - [CHANGELOG](https://github.com/colmugx/posoco/blob/main/CHANGELOG.md): every release, in order. ## Ecosystem - [colmugx/posoco-extension](https://github.com/colmugx/posoco-extension): official extension collection — model providers (DeepSeek, Z.AI), model-slot router (`posoco/ext-llm`), OAuth (`posoco/ext-oauth`), tools, memory, UI adapters, subagents. - [colmugx/cetas](https://github.com/colmugx/cetas): a coding agent built on Posoco. ## Other MoonBit agent options Posoco is one shape among several; these solve different problems: - [moonbitlang/openseek](https://github.com/moonbitlang/openseek): a DeepSeek-backed MoonBit coding agent (an application, not a runtime). - [moonkoog](https://moonbitstack.github.io/moonkoog/): agent framework whose runs are checkpointed state graphs, with prebuilt agents, middleware, planning and teams. - [moonbitlang/workflow](https://mooncakes.io/docs/moonbitlang/workflow): multi-agent workflow orchestration with journaled replay/resume.