Lindqvisk
Project OwnerLSP server architecture, Hyperon query design for completions and diagnostics. PR #847 to Hyperon type inference. Backward/forward chaining from this merged contribution. Milestone check-ins.
DEEP Connects Bold Ideas to Real World Change and build a better future together.
Coming Soon
Three features. One tool. Code completions that use Hyperon backward chaining instead of LLM token prediction — every suggestion type-checks because it comes from inference over your Atomspace. Diagnostics that show the full inference chain that produced each error, with fix suggestions computed via backward chaining. Rholang contract generation from MeTTa type specs with cost estimation. Not a full IDE. An LSP server that works in any editor. What developers need for writing MeTTa code: type-correct completions, errors that explain themselves, and contracts that match their types.
This RFP seeks proposals for the development of an AI-native Development Environment (IDE) that improves the efficiency and accessibility of blockchain application development for the ASI:Chain.
Build the LSP server skeleton and establish the Atomspace project model that powers all three features. Implement: LSP server framework (tower-lsp or vscode-languageserver), project initialization (MeTTa files -> Atomspace), incremental file sync (edit -> Atomspace update), and basic textDocument/hover with type information. Design the Hyperon query patterns for completions (backward chaining) and diagnostics (forward chaining). Prototype completion with simple type matching (non-dependent types). Benchmark Hyperon inference latency for interactive use. Survey Rholang contract patterns for M3 generation targets. Budget: Personnel $3,900 (65%). Infrastructure $1,200 (20%: Atomspace, Hyperon, DevNet access). Review $600 (10%). Docs $300 (5%). De-risks M2-M3 by validating that Hyperon inference can respond within LSP latency requirements (<200ms for completions).
D1. LSP Server: Framework with textDocument/hover, project initialization, incremental sync. D2. Atomspace Project Model: MeTTa files parsed into queryable Atomspace with module/type/function atoms. D3. Prototype Completions: Simple type-matching completions via Hyperon backward chaining. D4. Latency Benchmark: Hyperon query response times for completion and diagnostic request types. D5. Rholang Pattern Survey: 5 contract patterns analyzed for type-to-Rholang mapping. D6. Architecture Doc: LSP capabilities, Hyperon query patterns, tiered inference design. D7. Dev Environment: CI/CD pipeline, contributor setup <30 min.
$10,000 USD
SC1. LSP server connects to VS Code and provides hover type information. SC2. Prototype completions return type-valid suggestions in <200ms for non-dependent types. SC3. Atomspace correctly represents 3 sample MeTTa projects (modules, types, functions). SC4. Incremental sync updates Atomspace within 100ms of file save. SC5. Architecture reviewed by 2+ community members. SC6. CI/CD passing, setup <30 min.
Production-quality completion engine with dependent type support and the full diagnostic engine with inference chain explanations and fix suggestions. Completions: extend to dependent types (backward chaining with constraint propagation), implement tiered inference (local fast + Singularity Compute deep), streaming deep suggestions, context-aware ranking. Diagnostics: forward chaining type propagation across the project Atomspace, inference chain extraction and natural language rendering, fix suggestion generation via backward chaining for minimal edits. Additional LSP capabilities: textDocument/definition (Atomspace link traversal), textDocument/references (reverse links), textDocument/rename (type-safe), textDocument/codeAction (fix suggestions). VS Code extension with syntax highlighting, inline diagnostics, and completion UI. Budget: Personnel $11,700 (65%). Infrastructure $3,600 (20%: Atomspace hosting, Singularity Compute credits, CI). Testing $1,800 (10%). Docs $900 (5%). Risk: Dependent type inference latency -> tiered architecture with immediate shallow + async deep. Fix suggestion quality -> ranked by minimality with confidence scores.
D1. Completion Engine: Dependent-type-aware suggestions via Hyperon backward chaining with tiered inference. D2. Diagnostic Engine: Forward chaining with full inference chain explanations in natural language. D3. Fix Suggestions: Minimal edits computed by backward chaining, ranked by minimality, with diff preview. D4. Full LSP: definition, references, rename, codeAction, hover — all via Atomspace. D5. VS Code Extension: Syntax highlighting, inline diagnostics, completion UI, fix suggestion UI. D6. Singularity Compute Integration: Deep inference offloading for complex type chains. D7. 250+ tests, CI pipeline, 85%+ coverage.
$25,000 USD
SC1. Completions are 100% type-correct for dependent and non-dependent types (zero invalid suggestions). SC2. Diagnostics include full inference chains for 90%+ of type errors. SC3. Fix suggestions resolve the error in 70%+ of cases without introducing new errors. SC4. Tiered inference: shallow completions in <200ms, deep suggestions within 2 seconds. SC5. VS Code extension works end-to-end for 3+ sample projects. SC6. 250+ tests pass, 85%+ coverage.
Rholang contract generation from MeTTa type specifications with inline cost estimation. Generation engine: MeTTa types -> Rholang process structure via Hyperon inference, channel type mapping, dependent type guards, state machine patterns. Five contract patterns: token, governance, escrow, marketplace, staking. Live preview: edit MeTTa types, see Rholang update inline with type binding annotations. Cost estimation: path enumeration over generated processes, phlo estimation with best/worst case, CBC Casper consensus cost modeling, BlockDAG concurrency cost. Custom LSP capability: metta/rholangGenerate. Polish: error message quality, completion ranking optimization, performance profiling, edge case handling. Budget: Personnel $10,400 (65%). Infrastructure $3,200 (20%: DevNet, Singularity Compute). Testing $1,600 (10%). Docs $800 (5%). Risk: Rholang pattern coverage -> start with 5 well-defined patterns, extensible architecture for community additions. Cost estimation accuracy -> validate against DevNet actual costs, report confidence intervals.
D1. Rholang Generator: MeTTa types -> Rholang for 5 contract patterns (token, governance, escrow, marketplace, staking). D2. Live Preview: Inline Rholang output updates as MeTTa types are edited. D3. Type Binding Annotations: Visual mapping between MeTTa types and Rholang constructs. D4. Cost Estimator: Per-function phlo estimates with best/worst case and CBC Casper costs. D5. BlockDAG Modeling: Concurrent execution cost amplification in estimates. D6. Performance Polish: Completion ranking optimization, diagnostic message quality review.
$12,000 USD
SC1. Rholang generation produces compilable contracts for all 5 patterns. SC2. Generated Rholang deploys successfully to DevNet for 90%+ of test cases. SC3. Cost estimates within 25% of actual DevNet phlo costs for 80%+ of contracts. SC4. Live preview updates within 500ms of MeTTa type edit. SC5. Type binding annotations correctly map 100% of MeTTa types to Rholang constructs. SC6. 3+ developers use Tandem for daily MeTTa development during internal testing.
Public launch with 10-developer beta, multi-editor support verification, and community release. Beta: developers use Tandem for real MeTTa/Rholang projects, quantitative feedback on completion accuracy, diagnostic usefulness, and Rholang generation quality. Editor guides: VS Code (primary), Neovim, Emacs — LSP configuration for each. Documentation: user guide, completion behavior reference, Rholang pattern catalog, troubleshooting. Open source MIT release on SingularityNET registry. Budget: Personnel $6,500 (65%). Infrastructure $2,000 (20%: DevNet, hosting). Testing $1,000 (10%: beta program). Docs/Marketing $500 (5%). Risk: Beta adoption -> low barrier (install VS Code extension, open project, start typing).
D1. Beta Program: 10 developers use Tandem for real projects. NPS survey. D2. Editor Guides: VS Code, Neovim, Emacs LSP configuration and usage. D3. User Documentation: Complete guide covering completions, diagnostics, fix suggestions, Rholang generation. D4. Rholang Pattern Catalog: 5 contract patterns with type specs and generated output examples. D5. Open Source: MIT license, SingularityNET registry, contributor guide. D6. Demo Video: Full workflow — type MeTTa, get completions, fix errors with inference chains, generate Rholang, see costs.
$2,000 USD
SC1. 8+ of 10 beta developers report Tandem completions are more accurate than LLM-based alternatives. SC2. NPS 7+ from beta participants. SC3. LSP works in VS Code, Neovim, and Emacs (confirmed by beta developers). SC4. 50+ GitHub stars within 30 days of launch. SC5. MIT licensed, 85%+ coverage, all tests passing. SC6. Demo video shows complete type-complete-diagnose-fix-generate-cost workflow.
Reviews & Ratings
Please create account or login to write a review and rate.
Check back later by refreshing the page.
© 2026 DEEP Funding
Join the Discussion (0)
Please create account or login to post comments.