跳到正文
GitHub·· 7 天前AI 评分71

Cinatra 发布可自托管的 AI 协作平台,支持智能体全生命周期

cinatra-ai/cinatra

AI 导读

Cinatra 发布可自托管的 AI 生产力平台,让人员、AI 助手与智能体在项目、团队和组织中协作,覆盖从选择上下文与技能到调度、执行、评审和学习的智能体生命周期。

正文

Cinatra

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

Licence Release Status Build

Cinatra introduction video, 2 minutes 28 seconds


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.

Context in the Supplier recommendation chat

Context

Choose 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.

View screenshot

Skills in the Supplier recommendation chat

Skills

Equip the agent with reusable instructions in the open Agent Skills format, centered on SKILL.md files. Skills are reusable Cinatra extensions. Review recommended skills alongside those assigned within the applicable personal, project, team, organization, or workspace scope.

View screenshot

Scheduling in the Supplier recommendation chat

Scheduling

Start 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.

View screenshot

Execution in the Supplier recommendation chat

Execution

The 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.

View screenshot

Review in the Supplier recommendation chat

Review

Inspect 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.

View screenshot

Auditing in the Supplier recommendation chat

Auditing

Examine 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.

View screenshot

Artifacts in the Supplier recommendation chat

Artifacts

Keep 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.

View screenshot

Learning in the Supplier recommendation chat

Learning

Carry useful feedback into future runs through Skills. Agents can also save and recall persistent memory to reuse knowledge and solutions.

View screenshot

Notifications for the Supplier Comparison agent

Notifications

Stay 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.

View screenshot

Context, Skills, Scheduling, Execution, Review and Artifacts, with a revision loop, on-demand Auditing, Learning that informs future runs, and Notifications for progress and requests for attention.

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.

Assistant directory with domain, model, and connected-site assistants

Selection

Open an assistant from the directory or the scope where you are working. Assistants can serve different domains, use different model providers, or connect to a particular application or site.

View screenshot

A request to compare supplier proposals and the assistant explaining which inputs its agents need

Chat

Discuss a task with an assistant, ask follow-up questions, and refine the work together. Bring relevant information into the conversation to compare options, develop ideas, and decide what to do next.

View screenshot

Teammates and an AI assistant in a shared chat with the people, assistants, and agents mention picker open

Collaboration

Bring teammates and AI into the same conversation. Use the @ menu to find people, assistants, and agents by name, then mention them to involve colleagues, get an assistant’s input, or start an agent. Each contribution is attributed to its author.

View screenshot

WordPress Assistant reporting page edits with a red and green content diff

Embedded assistants

Work with an assistant inside a connected application (e.g. a CMS such as WordPress). An embedded interface streams the conversation into the application, so you can ask for help with the content you are working on.

View screenshot

Assistants — Configuration in the procurement workspace

Configuration

Shape an assistant’s role through its instructions, skills, model preferences, and permitted tools and agents. Control who can use it through its configured audience and access permissions.

View screenshot

  • 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.

Connector directory with all available services and tools

Directory

Browse available connectors, search by name, and filter by connection status and scope. Open a connector to see the accounts or sites available to you.

View screenshot

Gmail connector — Setup tab and connection status

Setup

Authorize an account or supply the credentials the integration requires. Connect multiple accounts or sites where supported, and manage their settings and connection status.

View screenshot

Connectors — Sharing in the procurement workspace

Sharing

Keep a connection personal or share it with selected people and scopes, within the connector’s sharing rules. Manage access and co-owners for each connection so collaborators and their AI can use the appropriate accounts.

View screenshot

  • 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.

Skills catalog preview showing five reusable skills

Catalog

Browse the skills available in your workspace and see their instructions, source extensions, and the assistants or agents that use them. Search the catalog and filter by scope to find relevant guidance.

View screenshot

Skills — Assignments in the procurement workspace

Assignments

Configure skills for an agent or assistant within a personal, project, team, organization, or workspace scope. Assignments follow the applicable scope permissions, so shared instructions can reflect how each group works.

View screenshot

  • 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.

Artifact library with seven sample procurement artifacts in different formats

Discovery

Browse artifacts within the scopes you can access. Ownership, sharing permissions, and project context determine which material is available to you and to the agents working with you.

View screenshot

Artifacts — Supplier recommendation in the embedded PDF viewer

Review

Inspect the artifact at full size through its type’s renderer, request changes from its producing agent, or edit it in place through the available editor. The review workflow applies across artifact types.

View screenshot

Artifacts — Version history in the procurement workspace

Version history

Retain revisions and review decisions within the scope that owns the artifact. Modified data records carry a change history, and most changes can be reverted in one step while preserving that history.

View screenshot

Artifacts — Records and lists in the procurement workspace

Records and lists

Work with typed records such as contacts, accounts, campaigns, content, and media. Lists group records into reusable inputs and outputs for agents.

View screenshot

Artifacts — Meaning types in the procurement workspace

Meaning types

Choose what an uploaded file represents, such as a supplier contract or pricing sheet, while retaining its original file format. Confirm a suggested meaning or select a compatible type so people and agents can find and reuse the material.

View screenshot

Artifacts — Context assignments in the procurement workspace

Context assignments

Give an agent reusable inputs through named context slots, such as purchasing policies or supplier proposals. Each slot accepts the artifact kinds and number of items the agent declares, with choices drawn from the relevant scope. Selected revisions stay fixed for each run, so later edits do not silently change its inputs.

View screenshot

Artifacts — Dashboards in the procurement workspace

Dashboards

Arrange widgets by drag and drop or ask an assistant to build a dashboard on the shared semantic layer. Usage and cost analytics are included.

View screenshot

Artifacts — Dashboard references in the procurement workspace

Dashboard references

Make an existing dashboard available from another project, team, organization, or the workspace through a reference. The dashboard keeps its original home and access rules; listing it elsewhere does not grant additional access.

View screenshot

  • 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.

Marketplace preview with 15 extensions in three columns and five rows

Marketplace

Browse marketplace listings to understand what an extension provides, who publishes it, and which versions are compatible with your Cinatra instance.

Visit marketplace

Extensions — Installation in the procurement workspace

Installation

Add an extension from the marketplace, upload a ZIP package from another instance or your own development work, or install from a GitHub repository. Cinatra validates the package and applies the setup requirements for its kind.

View screenshot

Extensions — Installation requests in the procurement workspace

Installation requests

Request an artifact extension from the type picker when you cannot install it yourself. Cinatra notifies platform administrators with the package and requester details, and shows when the request has been sent.

View screenshot

Installed extensions with an update available for Supplier Comparison and Delivery Follow-up archived

Installed extensions

Browse the extensions available in your instance, inspect their versions and active or archived status, and open their settings or package details from one place.

View screenshot

Extensions — Lifecycle management in the procurement workspace

Lifecycle management

Manage extension versions and updates, and publish reusable packages privately or publicly for other Cinatra instances. Installation permissions, capability grants, and publishing reviews govern how extensions become available to others. Archive extensions you no longer need and reactivate them when required.

View screenshot

  • 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.

Permissions — Ownership in the procurement workspace

Ownership

Give threads, agents, skills, artifacts, and connections a home in a personal, project, team, organization, or workspace scope. Keep individual work in your personal space and organize shared work in the scope it belongs to.

View screenshot

Permissions — Authorization in the procurement workspace

Authorization

Control access to agents, runs, connectors, connections, skills, artifacts, and workflows through resource-specific permissions and co-owners. Agents and integrations act within the authority granted to the relevant user or caller, so shared work respects those permissions.

View screenshot


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.

Cinatra at the center of its ecosystem: connectors call third-party apps; external applications access its MCP server, embed assistant streams, and exchange webhooks. A separate marketplace supplies extensions, external agents connect over A2A, and portable runtimes execute composed agents. The core contains shared permissions and dedicated extension types. Agents include Memory, Runtime, Sandbox, and HITL interactions through AG-UI. Background execution and persistent data sit outside the core.

  • 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.

  1. Open http://localhost:3000 and register. The first account becomes the platform administrator.
  2. Follow the setup wizard to configure a model provider and connect the applications you need.
  3. 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