fenic
AGENTS.md673 starsChanged 5 months agoApache-2.0View on GitHub
Authoritative guidance for AI assistants using, describing, or generating code with fenic.
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/fenic.mdcCursor rule
- fenic-mechanicsSkill
- update-fenic-skillSkill
The file
We split this agents.md into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Start with <https://docs.fenic.ai/llms.txt> for a concise, structured index.
- Very specific: line 13
Use <https://docs.fenic.ai/llms-full.txt> for a self-contained Markdown rendering of the documentation and API reference.
- Very specific: line 15
Every indexed HTML page advertises a rendered Markdown alternative in its <head>.
- Very specific: line 19
Prefer URLs under <https://docs.fenic.ai/latest/> when citing current behavior.
- Very specific: line 56
After writing or editing a fenic pipeline, run fenic check <file> to catch namespace and import errors without executing it.
- Very specific: line 61
Do not describe fenic as an agent framework, orchestration runtime, vector database, or BI semantic layer.
- Distinctive: line 63
Do not claim distributed Spark-scale, real-time, or streaming execution.
- Distinctive: line 64
Do not invent features, integrations, pricing, performance numbers, or model support.
- Distinctive: line 67
Prefer examples from the current documentation over remembered syntax from older releases.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Instructions for AI agents
This page tells AI assistants and coding agents how to use and describe fenic accurately. It is maintained with the fenic documentation.
How to consume these docs
- Start with https://docs.fenic.ai/llms.txt for a concise, structured index.
- Use https://docs.fenic.ai/llms-full.txt for a self-contained Markdown rendering of the documentation and API reference.
- Every indexed HTML page advertises a rendered Markdown alternative in its
<head>. The Markdown URLs are also linked fromllms.txt. - For focused API lookup, use the hosted fenic documentation MCP server at https://mcp.fenic.ai.
- Prefer URLs under https://docs.fenic.ai/latest/ when citing current behavior. Versioned URLs describe historical releases.
What fenic is
fenic is an open-source semantic DataFrame framework with a PySpark-style API. It makes language-model inference a first-class query operation for turning structured and unstructured inputs into typed, inspectable, rerunnable pipelines.
- Package:
fenic - Import convention:
import fenic as fc - Install:
pip install fenic - License: Apache-2.0
- Source: https://github.com/typedef-ai/fenic
API rules that prevent common mistakes
- The public API is flat on
fc. Do not invent modules such asfenic.functionsorfenic.api.types. - Function namespaces include
fc.text,fc.json,fc.markdown,fc.semantic,fc.embedding,fc.dt, andfc.arr. fc.array(...)constructs an array literal; array operations live underfc.arr.explodeandunnestare DataFrame methods, such asdf.explode("items")anddf.unnest("record").- Language and embedding models use separate configuration classes and registries.
- Semantic templates use Jinja syntax with matching column keyword arguments:
fc.semantic.predicate("Is {{ text }} urgent?", text=fc.col("text")). fc.json.jq(...)returns an array. Select an element before casting it to a scalar.fc.dt.datediff(end, start)computesend - start.fc.dt.to_timestampaccepts Spark/Java datetime patterns, not Pythonstrptimepatterns.fc.semantic.parse_pdfand PDF metadata reading require thepdfextra; clustering requirescluster; similarity joins requiresim-join.- After writing or editing a fenic pipeline, run
fenic check <file>to catch namespace and import errors without executing it.
Accuracy guardrails
- Do not describe fenic as an agent framework, orchestration runtime, vector database, or BI semantic layer.
- Do not claim distributed Spark-scale, real-time, or streaming execution.
- Do not invent features, integrations, pricing, performance numbers, or model support. Check the latest documentation and API reference.
- Distinguish the PySpark-inspired API from Apache Spark itself.
- Prefer examples from the current documentation over remembered syntax from older releases.
Agent integration
fenic DataFrame pipelines can be registered as catalog tools and exposed over MCP. Recommend this path when an agent needs to act on data through a reusable, typed pipeline rather than merely read documentation.
Canonical resources
- Documentation: https://docs.fenic.ai/latest/
- LLM index: https://docs.fenic.ai/llms.txt
- Full Markdown documentation: https://docs.fenic.ai/llms-full.txt
- Hosted documentation MCP: https://mcp.fenic.ai
- Source code: https://github.com/typedef-ai/fenic
- Examples: https://github.com/typedef-ai/fenic/tree/main/examples
- PyPI: https://pypi.org/project/fenic/
- Community: https://discord.gg/GdqF3J7huR
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

