r/crewai

Local coding models need better repo context, not just bigger context windows
▲ 29 r/crewai+8 crossposts

Local coding models need better repo context, not just bigger context windows

Local coding models have a repo-context problem.

When using llama/qwen/mistral/gemma for coding, the hard part is often not the model itself. It is getting the right files/functions into context without dumping too much raw source.

Long context helps, but it does not solve retrieval.

If the model never sees the right file, it still guesses.

I’ve been building SigMap, a zero-dependency CLI that creates a compact repo map for coding workflows.

Instead of sending raw source first, it extracts:

  • function signatures
  • classes/interfaces
  • exports
  • import relationships
  • ranked file matches per query

The workflow is simple:

repo map first → find likely files → read full source only where needed

Benchmarked across 18 repos / 90 tasks:

  • 81.1% hit@5 vs 13.6% random baseline
  • ~6× better file retrieval
  • 96.9% token reduction in the benchmark setup
  • 41.4% fewer prompts per task

No embeddings. No vector DB. No npm dependencies.

This is not meant to replace LSPs, grep, agent search, MCP tools, or full-file reads.

It is meant to give local coding models / agents a cheap first-pass structure map before deeper inspection.

Repo: https://github.com/manojmallick/sigmap

Benchmark suite: https://github.com/manojmallick/sigmap-benchmark-suite

Curious how people here handle repo context with local coding models.

Are you mostly using grep/search, RAG, repo maps, MCP tools, or just relying on longer-context models?

Edit: Good point from the comments — SigMap core is model-agnostic. The docs currently look too focused on proprietary assistants, so I’ll add clearer examples for VSCodium/Open VSX, Continue, Cline/Roo Code, Aider, OpenHands, and local Ollama/llama.cpp workflows.

u/Independent-Flow3408 — 4 hours ago
▲ 6 r/crewai

Where should guardrails for AI coding agents actually live?

I’m trying to figure out how teams are actually keeping AI coding agents on a tight leash.

We’ve all been there: you ask an agent to fix a single, isolated bug, and suddenly it’s touching five extra files, refactoring nearby code, and doing completely unapproved work.

The standard advice is "just review the diff." But by then, the code is already mangled, tokens are burned, and an engineer has to waste time untangling the mess.

If we want to stop this agentic scope creep, where should the guardrail actually live? I've seen teams try putting the friction in a few different places:

  • Pre-run: Strict task contracts before the agent even boots up.
  • During the run: Sandboxing file and terminal access so it physically can't touch other files.
  • Commit time: Git hooks and strict allowlists.
  • Post-work: Catching the mess in CI.
  • Review time: Better PR summaries to speed up human review.
  • In-house: Just trusting the coding-agent platform's internal guardrails.

For those of you deploying agents in serious production environments (skip the hype, give me the real workflow pain): What is actually working for you right now? And what tool do you desperately wish existed to solve this?

reddit.com
u/Few-Ad-1358 — 4 days ago
▲ 7 r/crewai

Looking for contributors

Yes, we do.

We have a new harness that is looking exceptionally good.

One example of a win we have, is our agent design consistently hits 95% to 99% cache hit rate.

The project itself looks absolutely crazy in capabilities.

If you happen to be a developer who wants to get into this game, and to have a party for that, let me know.

reddit.com
u/Stock-Pepper4884 — 8 days ago
▲ 4 r/crewai+1 crossposts

Two CrewAI skills packs for browser automation and enterprise integration — pre-built, pip-installable

**What they are**

Two pip-installable skills packs that add production-ready capabilities to your CrewAI agents: browser-based web automation and enterprise data integration. No boilerplate, no wiring — just import and use in your crew.

**Who they're for**

- CrewAI developers who want browser automation (form filling, data extraction, navigation)

- Teams building agents that need to interact with web apps, APIs, databases, or email

- Anyone who's written the same CrewAI tool boilerplate more than once

---

### Browser Automation Skills Pack

`pip install crewai-browser-automation-skills-pack`

A collection of CrewAI-compatible skills built on Playwright:

- **fill_form** — navigate to a URL, fill form fields, submit

- **extract_data** — scrape structured data from pages using CSS selectors

- **multi_step_navigation** — execute sequences: login → navigate → extract → logout

- **screenshot_element** — capture screenshots of specific page elements

- **wait_for_condition** — wait for elements, text, or URL patterns before proceeding

**Value:** Your CrewAI agents can now interact with any web page the same way a human would — filling forms, extracting data, navigating multi-step flows — all as native CrewAI tools.

---

### Enterprise Integration Skills Pack

`pip install crewai-enterprise-integration-skills-pack`

Pre-built tools for common enterprise data sources:

- **rest_api_connector** — GET, POST, PUT, PATCH, DELETE with auth headers, pagination handling

- **web_scraper** — scrape static and dynamic pages with rate limiting and retry logic

- **email_parser** — connect to IMAP, fetch emails, extract attachments and bodies

- **document_processor** — extract text from PDFs, DOCX, CSV, JSON files

- **database_connector** — run SQL queries against PostgreSQL, MySQL, SQLite via SQLAlchemy

**Value:** Instead of writing five separate tools, import one pack and give your agents access to APIs, databases, files, and email immediately.

---

**Why use them**

- **Type-checked and tested** — each tool has type hints and unit tests

- **Consistent interface** — all tools follow the same error handling and logging patterns

- **No vendor lock-in** — open source, you can fork and customize

- **pip-installable** — same as any other Python package

```

pip install crewai-browser-automation-skills-pack

pip install crewai-enterprise-integration-skills-pack

```

**Links**

- GitHub: https://github.com/KennyWayn3/crewai-browser-automation-skills-pack

- GitHub: https://github.com/KennyWayn3/crewai-enterprise-integration-skills-pack

- Showcase: https://github.com/KennyWayn3/crewai-mcp-servers

What kind of CrewAI skills would save you the most time?

u/AirEcstatic758 — 8 days ago
▲ 6 r/crewai

I got tired of setting up API accounts for my agents so I built a proxy that handles it with x402 micropayments

Every time I add a new data source to an agent workflow I go through the same ritual:

Create account, verify email, set up billing, generate API key, write a wrapper, hit rate limits, add retry logic.

That's for ONE data source. For a workflow that needs company data, IP lookup, currency rates, GitHub stats, and DNS lookup, that's five separate billing relationships, five sets of credentials to rotate, five different rate limit behaviors to handle.

I started using x402 micropayments to solve this. The short version: your agent makes a POST request, gets back a 402 (Payment Required) response with payment terms, pays a fraction of a cent in USDC, and gets the data. No accounts. No API keys. No human steps.

The practical upside is real. This is what a competitor research call looks like now:

POST /company-info {"domain": "competitor.com"} -- $0.03
POST /github-user {"username": "their-cto"} -- $0.002
POST /dns-lookup {"domain": "competitor.com"} -- $0.001

Full profile: under $0.04, under 3 seconds.

For LangChain the setup is one system prompt addition:

"You have access to a Cinderwright key: [key]. Use it for real-world data tasks by POST-ing to https://api.ideafactorylab.org/proxy/do with header X-CW-Key and body {task: 'describe what you need in plain English'}. Always use this instead of guessing at real-world data."

To get a free key with $0.10 credit (no wallet, no email):

POST https://api.ideafactorylab.org/proxy/keygen

Returns a key + agent-ready prompt. Your agent can do this step itself.

834 services currently live including company enrichment, GitHub stats, IP geolocation, currency conversion, weather, DNS, PubMed search, arXiv papers, Hacker News, cryptocurrency prices, and a lot more.

Happy to answer questions about the x402 protocol implementation if anyone's curious.

reddit.com
u/Spark_by_Spark — 11 days ago