agentica-infrastructure
- Repo stars 3,783
- Author updated Live
- Author repo Continuous-Claude-v3
- Domain
- AI
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @parcadei · no license declared
- Token usage
- Lean
- Setup complexity
- Guided setup
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- Python
- Permissions
-
- Read-only
- Write / modify
- Shell exec
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: agentica-infrastructure
description: Reference guide for Agentica multi-agent infrastructure APIs Complete API specification for Agen…
category: ai
runtime: Python
---
# agentica-infrastructure output preview
## PART A: Task fit
- Use case: Reference guide for Agentica multi-agent infrastructure APIs Complete API specification for Agentica multi-agent coordination infrastructure. | Pattern | Purpose | Key Method | |---------|---------|------------| | Swarm | Parallel perspectives | .execute(query) | runs entirely locally; runs on Python. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “When to Use / Quick Reference / 11 Pattern Classes” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Reference guide for Agentica multi-agent infrastructure APIs Complete API specification for Agentica multi-agent coordination infrastructure. | Pattern | Purpose | Key Method | |---------|---------|------------| | Swarm | Parallel perspectives | .execute(query) | runs entirely locally; runs on Python. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “When to Use / Quick Reference / 11 Pattern Classes” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, run shell commands.
Start with a small task and check whether the result follows “When to Use / Quick Reference / 11 Pattern Classes”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: agentica-infrastructure
description: Reference guide for Agentica multi-agent infrastructure APIs Complete API specification for Agen…
category: ai
source: parcadei/Continuous-Claude-v3
---
# agentica-infrastructure
## When to use
- Reference guide for Agentica multi-agent infrastructure APIs Complete API specification for Agentica multi-agent coord…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “When to Use / Quick Reference / 11 Pattern Classes” and keep inference separate from source facts.
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "agentica-infrastructure" {
input -> user goal + target files + boundaries + acceptance criteria
context -> When to Use / Quick Reference / 11 Pattern Classes
rules -> SKILL.md triggers / order / output contract
runtime -> Python | read files, write/modify files, run shell commands | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Agentica Infrastructure Reference
Complete API specification for Agentica multi-agent coordination infrastructure.
When to Use
- Building multi-agent workflows with Agentica patterns
- Need exact constructor signatures for pattern classes
- Want to understand coordination database schema
- Implementing custom patterns using primitives
- Debugging agent tracking or orphan detection
Quick Reference
11 Pattern Classes
| Pattern | Purpose | Key Method |
|---|---|---|
Swarm |
Parallel perspectives | .execute(query) |
Pipeline |
Sequential stages | .run(initial_state) |
Hierarchical |
Coordinator + specialists | .execute(task) |
Jury |
Voting consensus | .decide(return_type, question) |
GeneratorCritic |
Iterative refinement | .run(task) |
CircuitBreaker |
Failure fallback | .execute(query) |
Adversarial |
Debate + judge | .resolve(question) |
ChainOfResponsibility |
Route to handler | .process(query) |
MapReduce |
Fan out + reduce | .execute(query, chunks) |
Blackboard |
Shared state | .solve(query) |
EventDriven |
Event bus | .publish(event) |
Core Infrastructure
| Component | File | Purpose |
|---|---|---|
CoordinationDB |
coordination.py |
SQLite tracking |
tracked_spawn |
tracked_agent.py |
Agent with tracking |
HandoffAtom |
handoff_atom.py |
Universal handoff format |
BlackboardCache |
blackboard.py |
Hot tier communication |
MemoryService |
memory_service.py |
Core + Archival memory |
create_claude_scope |
claude_scope.py |
Scope with file ops |
Primitives
| Primitive | Purpose |
|---|---|
Consensus |
Voting (MAJORITY, UNANIMOUS, THRESHOLD) |
Aggregator |
Combine results (MERGE, CONCAT, BEST) |
HandoffState |
Structured agent handoff |
build_premise |
Structured premise builder |
gather_fail_fast |
TaskGroup-based parallel execution |
Full API Spec
See: API_SPEC.md in this skill directory
Usage Example
from scripts.agentica_patterns.patterns import Swarm, Jury
from scripts.agentica_patterns.primitives import ConsensusMode
from scripts.agentica_patterns.coordination import CoordinationDB
from scripts.agentica_patterns.tracked_agent import tracked_spawn
# Create tracking database
db = CoordinationDB(session_id="my-session")
# Swarm with tracking
swarm = Swarm(
perspectives=["Security expert", "Performance expert"],
db=db
)
result = await swarm.execute("Review this code")
# Jury with consensus
jury = Jury(
num_jurors=3,
consensus_mode=ConsensusMode.MAJORITY,
premise="You evaluate code quality",
db=db
)
verdict = await jury.decide(bool, "Is this code production ready?")
Location
API spec: .claude/skills/agentica-infrastructure/API_SPEC.md
Source: scripts/agentica_patterns/
Decide Fit First
Design Intent
How To Use It
Boundaries And Review