Cinatra 发布可自托管的 AI 协作平台,支持智能体全生命周期
cinatra-ai/cinatra
Cinatra 发布可自托管的 AI 生产力平台,让人员、AI 助手与智能体在项目、团队和组织中协作,覆盖从选择上下文与技能到调度、执行、评审和学习的智能体生命周期。
Cinatra is an extensible Web application where people, AI assistants, and agents work together in projects, teams, and organizations, or across the whole workspace and in personal spaces. It provides the shared tools and knowledge to work together from discussion to delivery in a multi-purpose AI productivity environment that you can host yourself. Most notably, Cinatra supports an agent lifecycle, from selecting context and skills to scheduling, execution, review, and learning.
Overview · Agents · Assistants · Connectors · Skills · Artifacts · Extensions · Permissions · Integration · Architecture
Quick start · Documentation · Contributing
Overview
- Collaborate: Bring people and their AI together in projects, teams, or organizations, such as headquarters, subsidiaries, or departments. Collaborate across the whole workspace, encompassing all these scopes, or work with your AI in a personal space.
- Research: Ask AI assistants to find, combine, and summarize information from connected applications and data stored in Cinatra, within your permissions.
- Execute: Run agents that plan, coordinate, and carry out work using connected applications. Agents can work together and pause for human input. Connect external agents through the Agent-to-Agent (A2A) protocol.
- Automate: Start work on demand, schedule it for later, or run it repeatedly. Background execution and persistent run state let work continue when you leave the page or close your laptop, with notifications when your attention is needed.
- Connect: Give assistants and agents access to applications through connectors that utilize APIs and Model Context Protocol (MCP) integrations. Let compatible external AI clients and coding agents use Cinatra’s exposed capabilities through its MCP server.
- Customize: Install extensions from the Cinatra marketplace or build your own agents, assistants, connectors, skills, and artifact types. Use conversational authoring in the Cinatra chat, or develop extensions in code.
- Create: Keep work as persistent artifacts (such as documents, drafts, images, and structured data) that people can inspect, edit, and review.
- Reuse: Compose more complex agents from existing agents, build new skills on top of existing ones, and use artifacts as context for subsequent work.
- Share: Share access to assistants, agents, skills, data, and artifacts within the workspace. Publish reusable extensions through the marketplace and connect agents across Cinatra instances.
- Control: Decide who can access resources, run agents, manage configuration, and approve work. Use review checkpoints to inspect outputs and request changes before configured publishing or handoff steps proceed. Track revisions and decisions through the relevant AI lifecycles.
- Learn: Turn feedback into reusable instructions. When enabled, Cinatra can distill captured review prompts into custom skills for future runs. Agents can also save and recall persistent memory, with controlled sharing of knowledge across users, teams, and organizations.
- Embed: Bring supported Cinatra capabilities into other applications through MCP integrations and embedded assistant interfaces. For example, ask Cinatra to update a page directly from your CMS, or request a report on last quarter’s conversion rates from within your CRM.
Agents
Assistants provide the conversation interface through which people can start agents, guide their work, and review the results. Agents carry out that work through lifecycle steps connecting preparation, execution, human input, and reusable results. The steps that apply depend on the agent, the task, and workspace policies.
Each run keeps its state, outputs, and decisions so people can follow progress and return to the work later. Co-owners have the owner’s full rights to the run, allowing colleagues to manage it together.
|
ContextChoose the material the agent should work from, such as a strategy, customer profile, or brand guidelines. The Context step comes before Skills and helps you find artifacts or import documents through supported connectors. You decide what to include, and the selected revisions remain fixed for the run. |
|
SkillsEquip the agent with reusable instructions in the open Agent Skills format, centered on |
|
SchedulingStart work immediately, schedule it for later, or configure recurring runs. Review the proposed schedule before confirming it and manage future execution through the scheduling controls. |
|
ExecutionThe agent carries out its work using the selected context, skills, and connected applications. It can coordinate with other agents and pause to request information or a decision. Background execution preserves progress while you are away. |
|
ReviewInspect the work, provide feedback, request changes, or let the run continue. Reviews can happen between execution steps, including before publishing or handing work to another agent. The change workflow returns requests to the producing agent and brings back a new revision of the same artifact for you to check. |
|
AuditingExamine the record behind a requested change. The Audit view opens from Review and shows the reviewed and changed revisions side by side, together with the request, the outcome of each finding, and verification evidence. It is available on demand after changes have been requested and does not add a mandatory stop. |
|
ArtifactsKeep the resulting artifacts, their revisions, and associated decisions for later inspection and reuse. Supported publishing and handoff steps deliver work to connected applications or downstream agents. |
|
LearningCarry useful feedback into future runs through Skills. Agents can also save and recall persistent memory to reuse knowledge and solutions. |
|
NotificationsStay informed when a lifecycle step needs your attention, such as a request for input or an artifact awaiting review. Notifications link back to the relevant run so you can inspect its state and act. A persistent notification feed keeps these requests accessible when you return to the workspace. |
Assistants
Assistants bring people and AI together in conversation. Use them to research, develop ideas, work with connected applications, and guide agents through their lifecycle. Each assistant can specialize in a particular application or knowledge domain, or represent an LLM or AI system such as Claude, Codex, or Gemini, bringing its expertise, capabilities, and tools into the conversation.
- Conversation history: Return to saved conversations and their work later, with the context of earlier requests and replies.
- Human decisions: An assistant can present a review and recommend an outcome. Approval, scheduling, and cancellation require a signed-in user’s own session and permissions. The assistant cannot perform those actions independently, and this restriction cannot be disabled by configuration.
Connectors
Connectors give assistants and agents access to the applications and services your work depends on, from CRM and CMS platforms to email, calendars, and external AI tools. A connector is an extension that supplies the integration; a connection links it to a particular account, site, or service. Integrations can use application APIs, the Model Context Protocol (MCP), and other supported interfaces.
- Information retrieval: Let assistants retrieve and combine information from connected applications within your permissions. Use supported records and imported documents as context for an agent’s work.
- Application actions: Give agents the tools to act in connected applications, such as updating CRM records, preparing email, or publishing reviewed content. Available actions depend on the connector and the permissions granted to the connection.
Skills
Skills give assistants and agents reusable instructions for how to work, such as applying a brand voice, evaluating suppliers, or following a research method. They are Cinatra extensions built around a SKILL.md file in the open Agent Skills format, with supporting resources where needed.
- Learning: When enabled, Cinatra can distill durable instructions from captured conversations and review feedback into personal skills for future runs. Share useful guidance within a project, team, organization, or workspace so individual corrections become shared knowledge.
- Revision history: Keep a history of skill revisions, inspect changes, and manage which skills remain active. Replace or retire outdated guidance while preserving the record of how it evolved.
Artifacts
Artifacts make work available beyond the conversation or run that produced it. They can be source material, intermediate drafts, or finished deliverables, bringing the inputs and results of human and AI collaboration into a shared library.
Cinatra supports MIME-type artifacts, which identify file formats such as PDF, images, or Markdown, and meaning-type artifacts, which identify what the content represents, such as brand guidelines, a customer profile, or a strategy. Meaning types help agents find relevant context regardless of the underlying file format.
- Collection: Keep generated documents, emails, slide decks, images, charts, dashboards, PDFs, and structured data alongside uploads and connected records.
- Publication: Publish a chosen revision to a supported destination or pass it into subsequent work. Set approval rules by artifact type and destination; external actions are blocked unless the applicable checks pass. Scheduling governs delivery timing, and the publication record keeps the outcome attached to the artifact.
Extensions
Extensions adapt Cinatra to the work your organization does. They supply agents and assistants, application connectors, reusable skills, and artifact types, so teams can combine shared capabilities with their own processes and expertise. Discover and install extensions from the Cinatra marketplace at marketplace.cinatra.ai.
- Configuration: Choose the applicable installation scope, complete the required connections and settings, and control access to the capabilities it exposes. Each user’s access to connected accounts is governed by connection permissions.
- Composition: Build on installed extensions to connect applications, equip assistants and agents with skills, and produce new kinds of artifacts. Using the Open Agent Specification (OAS), combine agents into more complex agents and workflows through sequential pipelines, conditional routing, parallel execution, map-reduce, orchestrator-workers, manager-worker teams, and swarms with message passing or conversation handoffs. Author extensions conversationally with an assistant or develop them in code. Artifact extensions can provide their own renderers and editors.
- Development tools: Scaffold an extension with
cinatra create-extension, which generates its manifest, package structure, documentation, and validation checks. Cinatra’s authoring skills guide AI coding agents through implementation, testing, and packaging, with specialized guidance for agents, connectors, artifact types, and skill bundles. - Portability: Export agent extensions as ZIP archives and import them on another Cinatra instance. Connectors, skills, and artifact types can also be packaged as ZIP files for upload, with package validation and installation permissions applied on the receiving instance.
- Authoring review: Describe an agent in chat and the assistant checks for an existing match before drafting it. Drafts from non-administrators become proposals for an administrator to approve before installation.
Permissions
Scopes organize where people and their AI work together. Use personal spaces for individual work, projects for a shared task, teams for ongoing collaboration, and organizations for departments, subsidiaries, or headquarters. The workspace brings these scopes together, while each resource retains its own ownership and access rules.
Integration
Cinatra connects its workspace to the tools, agents, and interfaces people already use. External applications can call its capabilities, exchange events, or bring an assistant directly into their own interface. Access follows the authenticated user or integration’s permissions and the capabilities exposed by installed extensions.
- Agent runtime portability: Agents use the Open Agent Specification (OAS), allowing their definitions to run on any runtime that supports the Agent Spec features they use. Cinatra defaults to WayFlow, the reference implementation. Other options include LangGraph, CrewAI, and AutoGen through Agent Spec runtime adapters. Alternative runtimes integrate with Cinatra’s execution and lifecycle interfaces.
- Multi-model support: Cinatra is model agnostic: agents can use any LLM model through their runtime and provider integrations. The Cinatra core currently supports OpenAI and Anthropic.
- MCP server: Give any application access to Cinatra through its OAuth-secured Model Context Protocol (MCP) server, including AI clients such as Claude Desktop, Codex, and ChatGPT. Applications that implement an MCP client can discover available tools, work with permitted data, and invoke agents under the authenticated account’s permissions.
- Agent-to-Agent protocol: Use the Agent-to-Agent (A2A) protocol to call external agents or make published Cinatra agents available to other systems. Exchange tasks, follow progress, and receive results across application and Cinatra instance boundaries.
- Webhooks: Exchange events with connected applications through extension-supplied handlers. Cinatra verifies inbound signatures and tracks repeated deliveries, and sends signed outbound events with background retries and records of failed deliveries. Events can include published CMS content or mentions of external assistants.
- Assistant stream: Make a Cinatra assistant available outside the workspace through its AG-UI event stream. Third-party applications can display streamed replies and supported lifecycle interactions in an embedded widget, including requests for input and artifact reviews. WordPress and Drupal integrations bring this experience into the sites where people work.
Architecture
Cinatra connects people and teams, applications, clients, and external agents through its application core and extension system. Agents combine memory, runtime, sandbox, and human-in-the-loop (HITL) capabilities, supported by background execution and persistent data. Shared permissions, scopes, and an audit trail carry through the work.
- Application core: The Next.js application is organized as a monorepo of TypeScript domain packages. Each package owns its screens, capabilities, persistence, and background jobs, and communicates through public interfaces. Together they provide the workspace and lifecycle coordination.
- Shared permissions, scopes & audit trail: Personal, project, team, organization, and workspace scopes govern access to shared resources. Privileged actions record both allowed and denied outcomes in your database. Administrator access to user data requires a named, audited intervention rather than a standing grant.
- Extension system: Versioned packages supply assistants, artifacts, connectors, skills, and agents. Their declarations describe dependencies and capabilities, while the core manages access and registration. The Extensions Marketplace provides a shared catalog of these packages.
- Agents: Reusable definitions describe the work and its lifecycle steps. Agents bring together memory, a runtime, a sandbox, and HITL interactions to carry work through execution and human decisions.
- Memory: Open Knowledge Format (OKF) represents reusable knowledge as Markdown files with YAML metadata. Local memory bundles can synchronize into Cinatra’s shared records for permission-scoped recall across sessions and compatible agent tools.
- Runtime: Cinatra invokes the agent runtime over A2A to execute agent definitions. See Integration for supported runtimes, portability, and compatibility requirements.
- Sandbox: A broker and isolated sandbox workers run shell commands, scripts, and package installs for assistants, agents, and deterministic tasks. Access checks, resource quotas, and network policies govern execution, and command decisions are recorded for auditing.
- HITL: Human input and review use shared rendering components and typed AG-UI events over server-sent events (SSE), with durable replay through Redis. A2UI provides declarative interaction surfaces in chat and embedded assistants.
- Background execution: Server-side workers handle scheduling, jobs, retries, and notifications through BullMQ and Redis. Persisted run state supports pauses for human input and lets work continue independently of an open browser session.
- Persistent data: PostgreSQL stores workspace records, run state, revisions, and decisions; artifact files use dedicated blob storage. Graphiti and Neo4j maintain a derived knowledge index for retrieval across related records.
Quick start
Requirements: Node.js 24 or newer, git, Docker with Compose, and about 6 GB of RAM.
npx @cinatra-ai/cinatra install
The installer checks prerequisites, prepares the checkout and configuration, starts local services, and installs dependencies. Running it again reconciles the existing instance. Add --mode prod for a production instance.
- Open http://localhost:3000 and register. The first account becomes the platform administrator.
- Follow the setup wizard to configure a model provider and connect the applications you need.
- Open an assistant, mention an agent by its handle, and describe the work. Respond to requests for input and review its artifacts as the run progresses.
For ongoing operation, install the CLI globally with npm install -g @cinatra-ai/cinatra, or replace cinatra in the commands below with npx @cinatra-ai/cinatra.
| Command | What it does |
|---|---|
cinatra instance start / stop / restart |
Run the instance |
cinatra update |
Update the checkout, dependencies, and database schema |
cinatra instance backup create |
Export a full backup bundle |
cinatra doctor / status / logs |
Diagnose and inspect the instance |
See the Installation guide and Quickstart walkthrough for details.
Documentation
The documentation at docs.cinatra.ai covers:
- User guides: Conversations, agents, skills, artifacts, reviews, and collaboration.
- Administration: Extensions, permissions, providers, telemetry, and instance settings.
- Development: Extension authoring, development workflows, and contributions to the core.
- Hosting: Installation, configuration, operation, and troubleshooting.
- Integrations: Connections to applications such as WordPress, Drupal, Twenty, and Plane.
- References: Platform architecture, MCP interfaces, design specifications, and terminology.
- Resources: Platform background and comparisons with other AI tools.
Contributing
- Discussions: Ask questions, propose ideas, and share what you have built.
- Good first issues: Find a starting point for contributing to the core.
- Contribution guide: Set up your development environment and follow the contribution workflow and Code of Conduct.
- Extension development skills: Use Cinatra’s AI coding-agent skills for scaffolding, implementing, validating, and packaging extensions. Build an extension to add capabilities without changing the core.
来源:GitHub · github.com