The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
//! Task sources — proactive ingestion of work items from external tools.
//!
//! A [`TaskSource`] is a user-configured pull from an external tool
//! (GitHub, Notion, Linear, ClickUp) with a per-provider [`FilterSpec`].
//! The periodic poll ([`periodic`]) fetches matching items through the
//! existing Composio providers' [`fetch_tasks`] surface, the pipeline
//! ([`pipeline`]) dedups + enriches them, and [`route`] drops a todo
//! card onto the dedicated `task-sources` thread board and (for
//! proactive sources) dispatches a triage turn so an agent can start
//! working.
//!
//! Layering mirrors the `cron` domain: `mod.rs` is export-only, business
//! logic lives in the sibling modules, persistence is SQLite in
//! `store.rs`, and the RPC surface is wired through `schemas.rs`.
//!
//! [`fetch_tasks`]: crate::integrations::composio::contract::ComposioProvider::fetch_tasks
pub mod bus;
pub mod enrich;
pub mod ops;
pub mod periodic;
pub mod pipeline;
pub mod route;
mod schemas;
mod storage_schema;
pub mod store;
mod store_documents;
#[cfg(feature = "legacy-import")]
mod store_import;
pub(crate) use storage_schema::{collection_specs, upgrade_records};
#[cfg(feature = "legacy-import")]
pub(crate) use store_documents::import_source;
pub mod tools;
pub mod types;
pub use crate::integrations::composio::contract::{
NormalizedTask, TaskContainer, TaskFetchFilter, TaskKind,
};
pub use periodic::start_periodic_poll;
pub use pipeline::run_source_once;
pub use schemas::{
all_controller_schemas as all_task_sources_controller_schemas,
all_registered_controllers as all_task_sources_registered_controllers,
schemas as task_sources_schemas,
};
pub use types::{
EnrichedTask, FetchOutcome, FetchReason, FilterSpec, ProviderSlug, SourceTarget, TaskSource,
TaskSourcePatch,
};